Same address different port
Posted: Tue Feb 28, 2012 10:10 am
Hey,
I have 4 servers on a different network then my Nagios server.
Now, I can access nrpe with a VIP and a different port on each server (each port refers to a different server, but i'm using the same address, the VIP's address).
Is there a way in Nagios that I can configure the same address in the hosts.cfg file, for the 4 servers, and add a port configuration or something like that:
Is there any way I can do something like that?
I have 4 servers on a different network then my Nagios server.
Now, I can access nrpe with a VIP and a different port on each server (each port refers to a different server, but i'm using the same address, the VIP's address).
Is there a way in Nagios that I can configure the same address in the hosts.cfg file, for the 4 servers, and add a port configuration or something like that:
Code: Select all
define host{
use generic-host
host_name server1
address 192.168.1.4:5667
}
define host{
use generic-host
host_name server2
address 192.168.1.4:5668
}