Page 1 of 1

NSCA send results to another NSCA server

Posted: Mon Mar 05, 2018 9:06 pm
by yomiko
Using Nagios Core, NSCA, & NRPE, I wonder if this set up of distributed monitoring will work:

1) a client will send passive check results to a NSCA slave (with Nagios Core installed). <-- I know this worked.
2) the NSCA slave will use send_nsca to send the check results to a NSCA server A (with Nagios Core installed).
3) the NSCA server A will then forward the check results to another NSCA server B (with Nagios Core installed).

We will then view the results via the dashboard on server B.

Is it possible for a NSCA server to send the results to another NSCA server?

clinet -> NSCA slave -> NSCA server -> NSCA server

Thanks!

Re: NSCA send results to another NSCA server

Posted: Tue Mar 06, 2018 11:22 am
by scottwilkerson
It is possible, but it is going to take a bunch of fiddling around and you will have to have the hosts/services configured on both machines in Nagios.

What you are looking for is the following commands in the nagios.cfg that you will need to enable and setup on the slave to forward to the 2nd machine.

obsess_over_services
ocsp_command
obsess_over_hosts
ochp_command

https://assets.nagios.com/downloads/nag ... r_services

As a shameless plug... this is all builtin to Nagios XI, so if the pain of configuring it all is too many man hours, it may be less expensive getting XI and you get all the other features.
https://www.nagios.com/products/nagios-xi/