Page 1 of 1

Nagios XI REST API and inbound alerts

Posted: Thu Sep 14, 2017 10:39 am
I am looking into ways to integrate Splunk alerts with Nagios. Splunk is able to issue generic webhook requests if you are able to craft it correctly. It is also able to run scripts where curl could be used, for example.

My question is about the Nagios XI REST API and whether it can be used for sending alert information about hosts into Nagios.

As an example, if I have a large Splunk query with an associated alert that I want to pump into Nagios for dashboarding, can I use the REST API to get that alert into Nagios and associated with a particular service or host?

It doesn't look like it from the documentation I have read but I may be missing some other trick.

Any help would be greatly appreciated.

Re: Nagios XI REST API and inbound alerts

Posted: Thu Sep 14, 2017 1:28 pm
by cdienger
I would use the NRDP API for this. After enabling it you'll be able to submit data using curl or other http/https client.

https://assets.nagios.com/downloads/nrd ... erview.pdf
https://support.nagios.com/kb/article/n ... lient.html