[SOLVED] Starting with Nagios, monitorred site down

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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Starting with Nagios, monitorred site down when it's not

Post by abrist »

Toontje wrote:define command{
command_name check_host_alive
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1
}
You are only sending one packet ("-p 1"). That packet may be dropping to certain sites and ICMP does not have the "magic" of TCP (like http, etc) for retrying. Try increasing this value:
Toontje wrote:define command{
command_name check_host_alive
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5
}
The other consideration is, with only 1 packet, your warning state of 80% is essentially pointless. With one packet it will either be 0% or 100% loss.
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.
Toontje
Posts: 11
Joined: Thu May 23, 2013 3:04 am

[SOLVED]Starting with Nagios, monitorred site down when it's

Post by Toontje »

THAT WAS IT!!!! All green now!

Thanks for all the help!

Ton.
Locked