[Jan Wagner]
> Could you please test "/usr/lib/nagios/plugins/check_ping -vvv -H
> test.test.org -w 10,10% -c 10,10%" ... just to be sure.

The machine do not have internet connectivity by default.  I tried
this first:

root@tjener:~# /usr/lib/nagios/plugins/check_ping -vvv -H tjener.intern -w 
10,10% -c 10,10%
CMD: /bin/ping6 -n -U -w 10 -c 5 tjener.intern
Got stderr: connect: Invalid argument
/bin/ping6 -n -U -w 10 -c 5 tjener.intern
CRITICAL - Could not interpret output from ping command
root@tjener:~# /usr/lib/nagios/plugins/check_ping -vvv -H test.test.org -w 
10,10% -c 10,10%
check_ping: Invalid hostname/address - test.test.org
Usage:
check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>%
 [-p packets] [-t timeout] [-4|-6]
root@tjener:~# 

Then I fixed internet routing and tried again to test.test.org:

root@tjener:~# /usr/lib/nagios/plugins/check_ping -vvv -H test.test.org -w 
10,10% -c 10,10%
CMD: /bin/ping -n -U -w 10 -c 5 test.test.org
Output: PING test.test.org (127.0.0.1) 56(84) bytes of data.
Output: 64 bytes from 127.0.0.1: icmp_req=1 ttl=64 time=0.119 ms
Output: 64 bytes from 127.0.0.1: icmp_req=2 ttl=64 time=0.042 ms
Output: 64 bytes from 127.0.0.1: icmp_req=3 ttl=64 time=0.041 ms
Output: 64 bytes from 127.0.0.1: icmp_req=4 ttl=64 time=0.041 ms
Output: 64 bytes from 127.0.0.1: icmp_req=5 ttl=64 time=0.042 ms
Output: 
Output: --- test.test.org ping statistics ---
Output: 5 packets transmitted, 5 received, 0% packet loss, time 3999ms
Output: rtt min/avg/max/mdev = 0.041/0.057/0.119/0.031 ms
PING OK - Packet loss = 0%, RTA = 0.06 
ms|rta=0.057000ms;10.000000;10.000000;0.000000 pl=0%;10;10;0
10.000000:10% 10.000000:10%
root@tjener:~# 

No idea what is going on here, nor how they are different.

Here is some more network related settings:

root@tjener:~# cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search intern
root@tjener:~# cat /etc/hosts
127.0.0.1       localhost.localdomain localhost
::1             localhost       ip6-localhost ip6-loopback
fe00::0         ip6-localnet
ff00::0         ip6-mcastprefix
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters
ff02::3         ip6-allhosts

10.0.2.2        tjener.intern tjener
root@tjener:~# /sbin/ifconfig 
eth0      Link encap:Ethernet  HWaddr 54:52:00:1f:e6:59  
          inet addr:10.0.2.2  Bcast:10.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::5652:ff:fe1f:e659/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:802 errors:0 dropped:0 overruns:0 frame:0
          TX packets:679 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:100939 (98.5 KiB)  TX bytes:74412 (72.6 KiB)
          Interrupt:10 Base address:0xe000 

eth0:1    Link encap:Ethernet  HWaddr 54:52:00:1f:e6:59  
          inet addr:192.168.1.201  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0xe000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3430 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3430 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:727599 (710.5 KiB)  TX bytes:727599 (710.5 KiB)

root@tjener:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
root@tjener:~# 

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to