Re: [Nagios-devel] Problem with ping-check?
Posted: Mon Oct 15, 2007 2:26 am
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 [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
> 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 [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]