Hi ,
Can anybody help me how to configure nagios for monitoring server over WAN(inetrnet).
monitor server through WAN(internet)
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: monitor server through WAN(internet)
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?
-
- Posts: 5
- Joined: Mon Apr 21, 2014 4:18 am
Re: monitor server through WAN(internet)
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.
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.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: monitor server through WAN(internet)
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.
-
- Posts: 5
- Joined: Mon Apr 21, 2014 4:18 am
Re: monitor server through WAN(internet)
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).
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)
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
http://www.openlogic.com/wazi/bid/18813 ... ith-Nagios
http://serverfault.com/questions/325057 ... l-location
Former Nagios employee