Problem with ping-check?

Andreas Ericsson ae at op5.se
Mon Oct 15 12:26:53 CEST 2007


Marcin Rożek wrote:
> Hello,
> I'm testing Nagios 3.0b4 and sometimes i get weird notification from ping
> check:
> 
> ***** Nagios *****
> 
> Notification Type: PROBLEM
> 
> Service: PINGALL
> Host: xxxx
> Address: yyyyyy
> State: WARNING
> 
> Date/Time: Sun Oct 14 12:52:38 CEST 2007
> 
> Additional Info:
> 
> PING WARNING - System call sent warnings to stderr Packet loss = 0%, RTA =
> 2.42 ms
> 

This happens when /bin/ping sends output to stderr. Try using check_icmp
instead. It has its own packet-sending code, so it won't have this
problem. It's also quite a bit friendlier to your system load as it doesn't
have to fork() multiple times to obtain RTA and packet-loss values.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list