Question on external tool integration: API vs DB.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
yo_marc
Posts: 83
Joined: Thu Aug 11, 2016 1:56 pm

Question on external tool integration: API vs DB.

Post by yo_marc »

Hello Support team,

I am working on a project that will reference monitoring data in Nagios XI and display it on a custom reporting dashboard.

Does Nagios have a suggestion on whether customers ETL this data using the API, or through a database connection?

A Database ETL is easiest for us, so I am also curious to know if database table or field names changes ever take place during XI upgrades.

We would obviously have to perform our due-diligence during XI upgrades using either method... but any input would be greatly appreciated.

Thanks!
-marc
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Question on external tool integration: API vs DB.

Post by scottwilkerson »

The recommended method would be to use the API.

That said you can use DB connections to the nagios database to get much of the info, however this may get much more tedious.
yo_marc wrote:A Database ETL is easiest for us, so I am also curious to know if database table or field names changes ever take place during XI upgrades.
Not typically, however I not going to say never and put the developer in a box they cannot get out of. I will however say it would never be in a bugfix release, it would be part of an upgrade to the ndoutils backend.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
yo_marc
Posts: 83
Joined: Thu Aug 11, 2016 1:56 pm

Re: Question on external tool integration: API vs DB.

Post by yo_marc »

That's very helpful, thank you!

I totally understand on the 'never say never' - If we go the DB route, I'll be sure to especially look out for ndoutil updates.
bolson

Re: Question on external tool integration: API vs DB.

Post by bolson »

Closing topic as resolved.

Thank you for using the Nagios Support Forum.
Locked