Hello,
I have Nagios setup and monitoring a number of things on my network. It is an awesome tool. However I would like to ping some devices behind a firewall that have internal IPs. Here is what I have on the server which runs Nagios (file /etc/nagios/services.cfg):
Code:
define service{
use generic-service ; Name of service template to use
host_name memphis.server
service_description PING-DEVICE
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups novell-admins
notification_interval 240
notification_period 24x7
notification_options c,r
check_command check_nrpe!check_ping!100.0,20%!500.0,60%
}
Seems like I have this setup correctly, no? The above is the server which as a real IP for the world.
On the memphis.server I have the nrpe dameon running and the check_ping plugin in the plugin directory. In my Nagios Map it says pending for the device I'm trying to reach behind the firewall.
Do I need a line above for the linux box that is behind the firewall, ie do I need to define a service for the box behind the firewall?
Thanks for any help you may provide.