Page 1 of 1

Nagios over WAN

Posted: Sun Nov 27, 2022 10:42 pm
by KahamJakodar
Would like to looking into the feasibility doing Nagios monitoring over WAN. As I understand it isnt directly supported, though I know there are some plugins that allows for it on Linux machines via ssh. However most of the target machines I want to monitor are windows. I read about distributed monitoring in the Nagios documentation and it seems one way I can do it is to use Nagios Fusion. However it requires a Nagios server at the remote site to act as a kind of Nagios proxy that would communicate back to the main nagios fusion server at our company office. Just wondering if theres any other way to remotely monitor end devices at a remote site without having to setup a server at the remote site (ie, agents communicate directly with nagios server over the internet)

Re: Nagios over WAN

Posted: Thu Aug 10, 2023 10:39 am
by swolf
Hi @KahamJakodar, thanks for reaching out.

Nagios Fusion is mostly a way to get a consolidated view of all of the monitoring done via other Nagios products. As such, I don't think it's the most appropriate way to get the results you want.

As far as monitoring over long distances, I think you have two options:

1) You can make sure everything you want to monitor has a public IP address that you can reach from the "main office" Nagios XI server. From there, it's very straightforward to install whatever agents you need to monitor those devices.

2) You can make one server with a public IP, using NCPA or another agent. From there, you can set up other checks that would allow you to monitor things that are restricted to the remote intranet. For instance, you could create a check in Nagios XI that uses check_ncpa.py to reach out to your "public" NCPA, but then have that NCPA also use check_ncpa.py to reach out to whatever other thing you need to monitor.

3) If neither of those work, you could set up 2) but make the Nagios XI server publicly accessible, and set up passive checks from your remote site. NCPA has reasonable built-in passive monitoring, and works fine on Windows.

Hopefully at least one of those is helpful. Let me know if you have any further questions or concerns.