Page 1 of 1

Monitoring client across the LAN

Posted: Tue Jan 17, 2017 4:18 am
by raofu09
Hi
Take me easy, I am a new bee of nagios.

I have installed my nagios XI server in my head office which is behind FW/NAT.

I am trying to monitor client server in branch office which is in a different LAN but that has public IP no VPN though. I have not been able to attach that remote server in my nagios server.

Please help suggesting. Should you need more, please let me know.

Thanks.
raf

Re: Monitoring client across the LAN

Posted: Tue Jan 17, 2017 11:06 am
by rkennedy
Is the public IP you're trying to monitor a 1:1 connection, or is it NAT'ed?

If you're using NAT, then you will need to setup port forwarding to the client. Depending on the agent you're looking to use, is what will vary on the port that needs to be opened / forwarded.

If it's a 1:1 connection, then you can use our linux installer for NRPE found here - https://assets.nagios.com/downloads/nag ... _Agent.pdf which will install the agent on your system. You may still need to create firewall rules for the system.

Re: Monitoring client across the LAN

Posted: Tue Jan 17, 2017 11:00 pm
by raofu09
Thanks rkennedy
The connection is via NAT. Could you please detail more on port forwarding?

Thanks
raf

Re: Monitoring client across the LAN

Posted: Wed Jan 18, 2017 1:15 pm
by rkennedy
You would need to setup port forwarding on the device that is listening on both the WAN and LAN address.

For example, 8.8.8.8:5666 (WAN) -> forwards to 192.168.1.240:5666 (LAN) - this would expose the WAN address port 5666 to forward to the local address internal.

If you have a networking team, they should be able to help you out with this.