No screen color change with host check_ping

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
sjorda20
Posts: 4
Joined: Mon Apr 22, 2013 9:31 am

No screen color change with host check_ping

Post by sjorda20 »

I'm using the default settings in the switch.cfg and templates.cfg configuration file to check hosts.
The command that checks the hosts is "check-host-alive" but this command ultimately uses check_ping in the following format.
$USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5

Which means I should get a host warning with packet latency of 3000 ms or 80% packet loss.

I'm using a network traffic shaping device to induce latency and loss in to the network. When I induce packet loss of 80%, the device turns yellow as expected and an email is sent. But when I induce the 3000 ms packet latency, the device does not turn yellow. It just stays green. However, an email notification is sent stating that the host is in a "warning " state. But again, the device never turns yellow. By the way, it never turns red during a critical state with 5000ms packet latency.

Any idea why the screen color never changes yellow?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: No screen color change with host check_ping

Post by abrist »

Are you allowing these hosts to enter a HARD warning or critical state?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked