Monitor router behind firewall not allowing ping

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
chrisfritz
Posts: 23
Joined: Thu Dec 09, 2010 11:53 am

Monitor router behind firewall not allowing ping

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Monitor router behind firewall not allowing ping

Post 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.
chrisfritz
Posts: 23
Joined: Thu Dec 09, 2010 11:53 am

Re: Monitor router behind firewall not allowing ping

Post 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.
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: Monitor router behind firewall not allowing ping

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Monitor router behind firewall not allowing ping

Post 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
Locked