Page 1 of 1

Sending check results from Nagios Core to Nagios XI

Posted: Thu Apr 21, 2016 4:13 pm
by michaelbotier
I need help with the following:

I have a Nagios Core server that i need to monitor some hosts and then feed the results back to Nagios XI.

I dont really care if its done via NSCA, NRDP, or whatever.....but I just need guidance on how to get to this point

PLEASE HELP

Re: Sending check results from Nagios Core to Nagios XI

Posted: Thu Apr 21, 2016 5:16 pm
by ssax
I would setup NRDP on XI:

https://assets.nagios.com/downloads/nag ... erview.pdf

Then you can setup send_nrdp as a global event handler to have Core send those results to XI:

https://assets.nagios.com/downloads/nag ... dlers.html

Re: Sending check results from Nagios Core to Nagios XI

Posted: Thu Apr 21, 2016 5:24 pm
by michaelbotier
So, if i understand you correctly, Core would have the send_nrdp client configured as an event handler command to send the data (the actual check) forward to the Nagios XI server running the NRDP server....

Do you have a working example i might be able to reference?

Re: Sending check results from Nagios Core to Nagios XI

Posted: Fri Apr 22, 2016 2:06 pm
by ssax
You are correct (a GLOBAL event handler though), I do not have a working example you can reference, it shows you how to set up and test NRDP on both sides in the first guide I linked to.

You would then create a couple new commands that call your send_nrdp script, you can have it run during every check by setting these in your nagios.cfg file (global_host_event_handler, global_service_event_handler):

Code: Select all

https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/configmain.html#global_host_event_handler
If you set it up and run into complications (should be setting it up on a test system first) we can work through them then.