Nagios XI APIs to be changed to Nagios core APIs

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.
Post Reply
FlanZarianick
Posts: 8
Joined: Sun Jun 26, 2022 7:28 am

Nagios XI APIs to be changed to Nagios core APIs

Post by FlanZarianick »

We are using nagios XI APIs (create and query a host, host group, service etc) in out application. We had used CURL and now converted to REST via request module. We now want to implement the same using nagios core module. Is it possible? Does the API remain same? Any help is very much appreciated omegle shagle voojio. Thanks in advance.
Last edited by FlanZarianick on Fri Nov 18, 2022 2:46 am, edited 1 time in total.
HarengaWoltraz
Posts: 5
Joined: Tue Jul 19, 2022 1:04 am

Re: Nagios XI APIs to be changed to Nagios core APIs

Post by HarengaWoltraz »

Nagios Core doesn't have an API for creating new objects, but it does for querying data, you can use /nagios/jsonquery.html for that.
HarengaWoltraz
Posts: 5
Joined: Tue Jul 19, 2022 1:04 am

Re: Nagios XI APIs to be changed to Nagios core APIs

Post by HarengaWoltraz »

Nagios Core doesn't have an API for creating new objects, but it does for querying data, you can use /nagios/jsonquery.html for that.
WilnarMasonik
Posts: 4
Joined: Mon Jul 18, 2022 1:46 am

Re: Nagios XI APIs to be changed to Nagios core APIs

Post by WilnarMasonik »

If you remain on Nagios Core, what keeps you there?

Another question, if you've bailed on Nagios entirely, in favor of another monitoring solution (New Relic, something else?) what drove that decision echatspin echatrandom for you?
Last edited by WilnarMasonik on Wed Oct 05, 2022 5:18 am, edited 1 time in total.
DunogRamers
Posts: 3
Joined: Sat Jul 23, 2022 7:51 am

Re: Nagios XI APIs to be changed to Nagios core APIs

Post by DunogRamers »

"Nagios doesn't really persist data" is not categorically true. There are built in mechanisms for persistently storing performance data for example, even if they require some configuration. State changes on the other hand need some kind of scraping
Post Reply