Page 1 of 1

Monitor router behind firewall not allowing ping

Posted: Fri Oct 14, 2011 9:14 pm
by chrisfritz
Hello, I am looking to monitor a router's cpu that is behind a firewall and cannot receive icmp. Problem is that it is reporting that the host is down, I tried using the check-host-alive but that didn't seem to work. I however am able to retrieve the snmp info from the device. Any help on how to show the device "UP" would be appreciated.

Re: Monitor router behind firewall not allowing ping

Posted: Mon Oct 17, 2011 9:44 am
by mguthrie
You can modify the default host check to be something else that your firewall can accept:
http://library.nagios.com/library/produ ... heck-in-xi

See if that gets you what you need.

Re: Monitor router behind firewall not allowing ping

Posted: Mon Oct 17, 2011 11:35 am
by chrisfritz
Is there a way to edit or create one of the check-host-alive to use telnet? that is the only port that is open and available to the nagios server. Thank you.

Re: Monitor router behind firewall not allowing ping

Posted: Mon Oct 17, 2011 12:14 pm
by SDohmen
Not sure if this will help you but you could try to use a port check on the telnet port you use. I am reasonable sure there is a telnet check aswell somewhere which does pretty much the same.

Re: Monitor router behind firewall not allowing ping

Posted: Tue Oct 18, 2011 10:21 am
by mguthrie
Is there a way to edit or create one of the check-host-alive to use telnet?
Yes, you just need to find a telnet plugin (I posted one i found on exchange), create a new command definition for it and change your host check to use that defined command.

http://exchange.nagios.org/directory/Pl ... et/details

See the following doc on managing plugins and creating new command definitions.
http://assets.nagios.com/downloads/nagi ... hp#plugins