Im having some oddities with my nagios for 3 hosts.
These are beind a firewall blocking ICMP ping commands so i couldn’t check them with standard check-host-alive command.
I can only monitor their services (imap-smtp). The problem is that i don’t want these hosts in “red” in my host detail and tactical overview window.
I used different checking host commands for these hosts (i used check_dummy 0, check_imap, etc etc) but …
nagios seems to check ALSO standard checking host command: the ping!
So my hosts are going from down to up state repeatedly.
in my checkcommands.cfg i have:
command_line $USER1$/check_imap -H xxx.xxx.xxx.xxx
and in my hosts.cfg:
Server Mail xxx-company
alias xxx alias
Well this configuration will give me an ok state for some secs… but after a pair of refreshes hosts go in down state… after other refreshes it goes up… then go down…
When it’s in down state i have: CRITICAL - Plugin timed out after 10 seconds
Nagios seems to “cache” old checking commands. so these hosts are checked in loop using every check command i used in the past.
Ok, i don’t think i made myself clear but i can’t explain better
(of course this is not a porn web site