Nagios with InfluxDB, nagflux and Grafana!!!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ponnpr7
Posts: 90
Joined: Fri Jul 28, 2017 3:55 pm

Nagios with InfluxDB, nagflux and Grafana!!!

Post by ponnpr7 »

Do I need to install PNP4Nagios to have those Nagios with InfluxDB, nagflux and Grafana installed?

Thanks,
Ravi
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios with InfluxDB, nagflux and Grafana!!!

Post by mcapra »

#1 I absolutely wouldn't install Grafana or InfluxDB or Nagflux on top of Nagios XI. If you want to leverage these services, do so on a completely separate machine.
#2 I absolutely wouldn't install PNP4Nagios on top of Nagios XI. Nagios XI already has portions of PNP4Nagios running on the back-end.

If you wanted to use Nagflux with Nagios XI, I believe the only way to do so without voiding portions of the support contract would be to use some sort of intermediary Gearman or Nagios Core machine to capture/process the check results from Nagios XI.

The less contract-friendly way would be to write a wrapper script that passes perfdata off to Nagios XI's back-end as well as Nagflux, which would require some sort of data transformation before passing it off to Nagflux. This wrapper script would then (most likely) be configured in the NPCD config.

Both solutions are quite a lot of trouble.
Former Nagios employee
https://www.mcapra.com/
ponnpr7
Posts: 90
Joined: Fri Jul 28, 2017 3:55 pm

Re: Nagios with InfluxDB, nagflux and Grafana!!!

Post by ponnpr7 »

Any API's that can be defined in Nagios Xi to collect the graph representation of Grafana.

thnaks,
Ravi
kyang

Re: Nagios with InfluxDB, nagflux and Grafana!!!

Post by kyang »

Thanks @mcapra!

I wouldn't know of any API's to do so.

While looking on this topic, I saw this on the Nagios Exchange.

https://exchange.nagios.org/directory/D ... na/details

It's entirely up to you, whether you decide to install this on top of XI.

Make a backup in case things go wrong, but @mcapras answers are still valid and it could cause a lot of trouble.