check_ping

Hammond, Robin-David%KB3IEN muaddib at databit7.com
Tue Jan 3 15:10:41 CET 2006


Im having an interesting time of getting nagios to work on netbsd-3 for 
the powerpc.

The closest think i can find to what I am experiencing is described here:

https://sourceforge.net/mailarchive/message.php?msg_id=1947705


while everything starts up ok, the hosts lists themselves as up, the 
check_ping never terminates:

55 processes:  1 runnable, 45 sleeping, 8 stopped, 1 on processor
CPU states:  0.0% user,  100% nice,  0.0% system,  0.0% interrupt,  0.0% 
idle
Memory: 26M Act, 4K Inact, 996K Wired, 8244K Exec, 9364K File, 180M Free
Swap: 129M Total, 129M Free

   PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
   508 nagios    10    0  2576K 1488K wait       0:09  0.00%  0.00% nagios
  2284 nagios    10    0  2576K 1488K wait       0:00  0.00%  0.00% nagios
  2841 nagios    10    0   140K  580K STOP       0:00  0.00%  0.00% sh
   231 nagios    10    0   140K  580K STOP       0:00  0.00%  0.00% sh
  2486 nagios     4    0   120K  680K STOP       0:00  0.00%  0.00% ping
   235 nagios     4    0   120K  676K STOP       0:00  0.00%  0.00% ping
  2285 nagios     2    0  2576K  984K STOP       0:00  0.00%  0.00% nagios
   143 nagios     2    0  2576K  984K STOP       0:00  0.00%  0.00% nagios
   234 nagios     2    0   228K  724K STOP       0:00  0.00%  0.00% check_ping
  2903 nagios     2    0   228K  724K STOP       0:00  0.00%  0.00% check_ping

check_ping works fine from the commandline :

/usr/local/nagios/libexec/check_ping -H 192.168.102.254 -w 3000.0,80% -c 
5000.0,100% -p 1 -t 10
PING OK - Packet loss = 0%, RTA = 0.57 ms

its returns and exists cleanly within half a second.

but when nagios calls it, ping, check_ping, sh all inturn lock.

Both Nagios and the plugs are the latest realase (2.0b4 and 1.4.2) 
respectively.


Any known fixes for this issue?

  Microsoft: Where do you want to go tomorrow?
  Linux: Where do you want to go today?
  BSD: Are you guys coming, or what?


Robin-David Hammond	KB3IEN
 	www.aresnyc.org.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list