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?
No screen color change with host check_ping
Re: No screen color change with host check_ping
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.
"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.