NagiosXI 5.7.3 (CentOS7) integration to Grafana

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

NagiosXI 5.7.3 (CentOS7) integration to Grafana

Post by nms »

Hi,

So we have now a fresh install of NagiosXI 5.7.3 on a CentOS7. This instance has also been restored fully with a backup.
The next step was to integrate it with Grafana.
As I could understand the pnp4nagios should already be available, however, I could not see any files related to that (ex: no /usr/local/pnp4nagios or /home/nagios/pnp4nagios or config file).

It seems you can eventually install it, but I'm afraid it will somehow "disturb" the performance data on NagiosXI.

Do you have any suggestions?

Rgds,
Matthew
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI 5.7.3 (CentOS7) integration to Grafana

Post by benjaminsmith »

Hi Matthew,

There are some community tutorials out there for setting this up as we do not have an official integration with Nagios XI.

Install Grafana with PNP4Nagios on CentOS 7

I would recommend leveraging a test instance to set this up in your environment and then apply the changes to the production server once it's working as expected. Your Nagios XI license allows for 3 activations (production, test, and backup).

https://support.nagios.com/kb/article.php?id=145

Let us know if you have any questions.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Re: NagiosXI 5.7.3 (CentOS7) integration to Grafana

Post by nms »

Hi Benjamin,

I'm not sure this is theoretically correct, or maybe I did not explain well.

We already own a NagiosXI instance which is installed on a CentOS6. This has been easily integrated with Grafana since the pnp module was already available, so nothing was required to be installed (of course just setting up Grafana).

Now we have another NagiosXI instance running on Centos7 which we had restored from the Nagiosxi instance running on CentOS6. (Found a lot of problems but finally, it worked).

To my knowledge, I was aware that pnp4nagios is automatically added with NagiosXI versions. The topic below also mentions that:

https://support.nagios.com/forum/viewto ... 16&t=36188

I tried to follow this by installing the pnp4nagios from the subcomponents, but I still am ending up with

Code: Select all

The requested URL /pnp4nagios/ was not found on this server.
Rgds,
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI 5.7.3 (CentOS7) integration to Grafana

Post by benjaminsmith »

Hi nms,


I haven't set this up to date, but it looks like it's necessary to install a separate instance of PNP for Nagios for the integration. The current version of PNP in Nagios XI is not compatible.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Re: NagiosXI 5.7.3 (CentOS7) integration to Grafana

Post by nms »

Hi Benjamin,

Can I install it on the same server and "tell" it to read the rrd from nagiosxi?
The procedure I see in this tread seems to alter the nagios.cfg, but of course this might not be correct.

I also that our other Nagiosxi instance (the centos6) one does not have the nagios.cfg altered but somehow works perfectly.

Rgds,
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI 5.7.3 (CentOS7) integration to Grafana

Post by benjaminsmith »

Hi NMS,

Please check your private messages, I sent over some documentation that has more details on setting this up.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked