monitor server through WAN(internet)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
srininagios
Posts: 5
Joined: Mon Apr 21, 2014 4:18 am

monitor server through WAN(internet)

Post by srininagios »

Hi ,
Can anybody help me how to configure nagios for monitoring server over WAN(inetrnet).
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: monitor server through WAN(internet)

Post 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?
srininagios
Posts: 5
Joined: Mon Apr 21, 2014 4:18 am

Re: monitor server through WAN(internet)

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: monitor server through WAN(internet)

Post 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.
srininagios
Posts: 5
Joined: Mon Apr 21, 2014 4:18 am

Re: monitor server through WAN(internet)

Post 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).
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: monitor server through WAN(internet)

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