NSCA for remote site monitoring?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jtata
Posts: 47
Joined: Thu Sep 02, 2010 12:27 pm

NSCA for remote site monitoring?

Post by jtata »

I am looking for a way to execute certain checks from more than one Nagios instance. I don't have that many services under monitoring, but we have users and customers around the world, so its imperative that I know the status not only from my location but others as well.

Ideally I'd like to be able to do something like this (all visible from my NagiosXI site):

Host - http://www.mywebsite.com
-Service: check_http (executed on main NagiosXI in main office)
-Service: check_http (executed from remote site A)
-Service: check_http (executed from remote site B)

I'm thinking of deploying NSCA for this but wanted to check if there might be a simpler way. Has anyone done something similar using Nagios and if so how'd you set it up?
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: NSCA for remote site monitoring?

Post by admin »

One solution might be something like this:

1. Configure three passive service checks on your Nagios XI server, named similarly like this:

HTTP-Central
HTTP-RemoteA
HTTP-RemoteB

2. At each site, setup a cron job on a Linux box that:

a. Runs the check_http plugin with the arguments you want
b. Sends the plugin results back via NSCA as a passive check

If you don't have firewall issues getting to the remote sites, you could also implement remote checks using NRPE to have your central Nagios XI server launch checks from the remote servers/sites.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
Locked