Howto check multiple hosts behind NAT
Posted: Tue May 31, 2011 7:52 am
Hi all,
I know, I'm probably stupid but I can't figure out how to check multiple hosts behind a NAT firewall. I know I can have nrpe listen to a different port but I can't figure out how to use those portnumbers with Nagios.
The situation is as follows, I'm trying to monitor 4 Linux servers (192.168.40.1 - 192.168.40.4) behind 1 public IP address. I forwarded ports 5666 to 192.168.40.1 (this one works), 5667 to 192.168.40.2, 5668 to 192.168.40.3 and 5669 to 192.168.40.4
Is there anybody out there who can point me in the right direction of how to get Nagios to use portnumbers other then 5666
Thanks for any help you can give.
Regards,
Cor.
I know, I'm probably stupid but I can't figure out how to check multiple hosts behind a NAT firewall. I know I can have nrpe listen to a different port but I can't figure out how to use those portnumbers with Nagios.
The situation is as follows, I'm trying to monitor 4 Linux servers (192.168.40.1 - 192.168.40.4) behind 1 public IP address. I forwarded ports 5666 to 192.168.40.1 (this one works), 5667 to 192.168.40.2, 5668 to 192.168.40.3 and 5669 to 192.168.40.4
Is there anybody out there who can point me in the right direction of how to get Nagios to use portnumbers other then 5666
Thanks for any help you can give.
Regards,
Cor.