Monitor Nagios server from a cloud server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rubbens16
Posts: 4
Joined: Mon Jul 11, 2016 9:34 am

Monitor Nagios server from a cloud server

Post by rubbens16 »

I've configured a Nagios server on our local network. Is there a possibility to monitor this local Nagios server from a remote server?

Assume that we have a power failure on our local network. Our local Nagios server won't be able to inform us because it won't be able to connect to the internet. Another example: assume that our firewall breaks down and as a result our local Nagios server won't be able to inform us.

Therefore, I was thinking of configuring another Nagios server in the AWS cloud. But we don't have any incoming ports open, so it won't be possible that this remote Nagios connects to our local servers.

Can I push the results of the local Nagios server to the remote cloud server? If the remote cloud server doesn't get any info for a certain amount of time, we can conclude that something is wrong with the local network, and the remote Nagios can inform us.

Is this a possible setup and how should I get started with this?

Regards

Yvan
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Monitor Nagios server from a cloud server

Post by eloyd »

All of what you have asked for is possible. Just treat your Nagios server like any other remote server from another Nagios server, and you can monitor it the same way.
Assume that we have a power failure on our local network. Our local Nagios server won't be able to inform us because it won't be able to connect to the internet. Another example: assume that our firewall breaks down and as a result our local Nagios server won't be able to inform us.
Actually, that's not entirely true. The assumption is that your local Nagios server is alerting you via email. It could just as easily alert you via SMS via a cell phone or cellular SMS gateway attached directly to the machine. Or it could play a WAV file through an attached loudspeaker and audio card. Or blink lights on an LED display. Lots of notification options beyond just email.
Therefore, I was thinking of configuring another Nagios server in the AWS cloud. But we don't have any incoming ports open, so it won't be possible that this remote Nagios connects to our local servers.

Can I push the results of the local Nagios server to the remote cloud server? If the remote cloud server doesn't get any info for a certain amount of time, we can conclude that something is wrong with the local network, and the remote Nagios can inform us.
You could have the local Nagios server send passive checks to the AWS-based Nagios server, and use freshness checking to alert if you don't get an update every 15 minutes (or whatever your desired number of minutes is). Use a search engine to search for "Nagios passive checks" for help.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Monitor Nagios server from a cloud server

Post by rkennedy »

@eloyd is right - a passive check is probably the best route to go. This will allow you to send from your LAN -> AWS.

Let us know if you have any further questions.
Former Nagios Employee
Locked