NSCA send results to another NSCA server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
yomiko
Posts: 22
Joined: Mon Aug 21, 2017 6:45 pm

NSCA send results to another NSCA server

Post 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!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NSCA send results to another NSCA server

Post 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/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked