Page 1 of 1
monitor server through WAN(internet)
Posted: Wed May 07, 2014 7:16 am
by srininagios
Hi ,
Can anybody help me how to configure nagios for monitoring server over WAN(inetrnet).
Re: monitor server through WAN(internet)
Posted: Wed May 07, 2014 9:32 am
by slansing
I would recommend VPNing into the other network, I would definitely not recommend running open checks across the internet. Do you have any way to connect your nagios server to that network?
Re: monitor server through WAN(internet)
Posted: Wed May 07, 2014 9:37 am
by srininagios
Thanks for your response.
Here is my setup.I have one nagios server configured and monitoring 10 servers locally inside my office.Now I have to monitor 10 more servers which is located in some other location.
How do i configure.Please help me.
Re: monitor server through WAN(internet)
Posted: Wed May 07, 2014 10:05 am
by slansing
As I asked you... do you have the ability to connect your Nagios server, or a linux system in your network to the other office's network? Such as a VPN? If you did want to check over the internet without the security of a VPN, or something similar, which I would not suggest, you would need to send passive results from the other network through your gateway which has your public IP address, then bounce the packets up to the nagios server, or do this in reverse for active checks. That is a networking configuration not a nagios configuration. Nagios requires you have a address to check against which the Nagios server can route to and talk to itself, or in the case of passive checks, the monitored server must have at least a one way connection to the Nagios server.
Re: monitor server through WAN(internet)
Posted: Thu May 08, 2014 12:25 am
by srininagios
I did not configure anything like VPN. I do have port forwarding option in my router ,there I can open nagios TCP port and forward it to the windows server.
I dont have static ip address (public ip address)for my internet.Instead I have dynamic ip address from ISP.Now I am using dynamic DNS (
http://rcst.in:12489)for accessing my network from outside.Is it possible for nagios to monitor using this DNS(
http://rcst.in:12489).
Re: monitor server through WAN(internet)
Posted: Thu May 08, 2014 11:34 am
by tmcdonald
I would honestly use the passive check from the dynamic IP location to the Nagios location, and use encryption. NCPA should work for this, otherwise you can configure the dynamic IP Nagios to forward results to the static IP Nagios with NSCA:
http://www.openlogic.com/wazi/bid/18813 ... ith-Nagios
http://serverfault.com/questions/325057 ... l-location