How can I get around monitoring a host while changing the host check to not use ping since my end node does not reply to ICMP echo. Nagios is reporting my host as down when it isn't.
I need to check the host is up by other means, in this case, checking TCP port 80.
I've read this link below, but after submitting the passive result, the host continues to show down.
http://www.htmlgraphic.com/nagios-check ... hout-ping/
If I disable host notifications will this also affect service notifications?
Thank you,
Michael
Modify/Disable Host Checks When Host Not Pingable
- mgaribaldi
- Posts: 26
- Joined: Thu Nov 06, 2014 1:58 pm
Modify/Disable Host Checks When Host Not Pingable
"We all float down here...."
-Pennywise
-Pennywise
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Modify/Disable Host Checks When Host Not Pingable
Super easy...
host definition check_command directive
It's just like any other Nagios command.
http://nagios.sourceforge.net/docs/3_0/ ... .html#host
To answer your other question - disabling host notifications won't disable service notifications.
host definition check_command directive
It's just like any other Nagios command.
http://nagios.sourceforge.net/docs/3_0/ ... .html#host
Code: Select all
define command {
command_name check_tcp
command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$
}
define host {
host_name somehost
check_command check_tcp!80
...
- mgaribaldi
- Posts: 26
- Joined: Thu Nov 06, 2014 1:58 pm
Re: Modify/Disable Host Checks When Host Not Pingable
Thank you very much!
"We all float down here...."
-Pennywise
-Pennywise