Monitoring client across the LAN

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
raofu09
Posts: 2
Joined: Mon Jan 16, 2017 3:38 am

Monitoring client across the LAN

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Monitoring client across the LAN

Post 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.
Former Nagios Employee
raofu09
Posts: 2
Joined: Mon Jan 16, 2017 3:38 am

Re: Monitoring client across the LAN

Post by raofu09 »

Thanks rkennedy
The connection is via NAT. Could you please detail more on port forwarding?

Thanks
raf
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Monitoring client across the LAN

Post 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.
Former Nagios Employee
Locked