Nagios XI an pnp4nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
delboy1966
Posts: 98
Joined: Thu Oct 22, 2015 5:26 am

Nagios XI an pnp4nagios

Post by delboy1966 »

We are currently using the latest version Nagios Core and have installed a trial version of Nagios XI to see if we want to move to it.
We currently have it in testing with some of our hosts/services from our Nagios Core installation configured on it.

We have noticed that Nagios XI is creating graphs but not in the way our current installation does.
For example we use the check_interface_table plugin for our network interface monitoring and that creates a graph for each of the network interfaces on our switches/routers. However Nagios XI has put all interfaces onto one graph which is a bit of a mess.

So can we still use pnp4nagios without interfering with the graphs that Nagiso XI is creating or can we replace what Nagios XI is creating with those graphs from pnp4nagios? And if so is there any documentation on it?

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

Re: Nagios XI an pnp4nagios

Post by mcapra »

delboy1966 wrote: So can we still use pnp4nagios without interfering with the graphs that Nagiso XI is creating or can we replace what Nagios XI is creating with those graphs from pnp4nagios?


Yes, but you need to tread very lightly so as to not upset Nagios XI's native performance data handling. Running the regular make install task packaged with PNP4Nagios on a Nagios XI machine will probably break stuff in Nagios XI.
delboy1966 wrote:And if so is there any documentation on it?


Not that I am aware of. Theoretically, it shouldn't be more complicated than installing PNP4Nagios on a separate machine and adjusting the front-end configuration to reference the Nagios XI RRDs via a network mount, SFTP/FTP pipe, or some other means.
Former Nagios employee
https://www.mcapra.com/
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios XI an pnp4nagios

Post by npolovenko »

@delboy1966, I agree with what @mcapra said. Technically, it's possible but I think it hasn't really been tested so far.
However Nagios XI has put all interfaces onto one graph which is a bit of a mess.
There might be a way to apply some filters to that graph. Have you also tried the network switch/router wizard in XI?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
delboy1966
Posts: 98
Joined: Thu Oct 22, 2015 5:26 am

Re: Nagios XI an pnp4nagios

Post by delboy1966 »

So as I understand it pnp4nagios cannot parse the perfmon data because Nagios XI is already doing it to create its own graphs, is that correct?
Instead I can only install the pnp4nagios package and get it to use rrds that Nagios XI creates to draw its own graphs?

That being the case its going to break a lot of our custom graph stuff.
Is there a way to make Nagios XI write the perfmon data to 2 logfiles so that pnp4nagios can use one to create its own rrd and graph files?

Tony
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios XI an pnp4nagios

Post by dwhitfield »

If you don't like the graphs that are native to XI, I would suggest following: https://assets.nagios.com/downloads/nag ... ide_XI.pdf

What @mcapra said is technically correct, but that's something very likely to break when you do XI upgrades.

We do offer Nagios Core support contracts (https://www.nagios.com/services/nagios- ... ort-plans/), so if you're more interested in the support aspect than the fancy wizards, that might be the way to go.
delboy1966
Posts: 98
Joined: Thu Oct 22, 2015 5:26 am

Re: Nagios XI an pnp4nagios

Post by delboy1966 »

The people in power want all the fancy wizards and reports that Nagios XI can give but still want to keep what we have on our Nagios Core environment.

Our current Nagios Core environment has been added to over the past 3 years,
I've created custom reports and graphs using the RRD files that pnp4nagios produces for all the service checks.
They want to be able to keep all those custom reports and graphs, have their cake and eat it to, so to speak.

So the idea was to migrate all the hosts, checks, commands, contacts, templates etc across to Nagios XI and also all the RRD files that pnp4nagios has created for all the checks. And continue to have pnp4nagios continue to update the RRD files so the reports and graphs still work.

So my goal would be to have Nagios XI do its thing but still be able to install pnp4nagios and have it also use the perfdata to still create its own RRD files that current graphs and reports use.
I'm guessing no one has successfully done that thus far.

Tony
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI an pnp4nagios

Post by tgriep »

In Nagios XI, you can disable the Highchart graphs and go back to the PNP style graphs.
To do this, go to the Admin > System Settings menu. Click on the Theme & Display tab and un-select the box for the "Use Highcharts for Performance Graphs page and host/service detail pages" option.
Update the settings.

This will only display the PNP graphs in the Host Status Details menu and the Service Status Details tabs.
All other locations will display Highcharts.

Try that and let us know if this will work for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
delboy1966
Posts: 98
Joined: Thu Oct 22, 2015 5:26 am

Re: Nagios XI an pnp4nagios

Post by delboy1966 »

Doesn't look like its going to cut the mustard.

Can't find anyway of getting it to produce the graphs we have currently on Core 4.
Not even copying the check_interface_table graph templates to the templates directory is making it create a graph for each port.

Thanks for your help anyway guys.

Tony
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios XI an pnp4nagios

Post by dwhitfield »

What version of pnp4nagios are you using? I could put in a feature request...although graphing is going to change dramatically in XI 6.0, so I don't think it is likely we are ever going to support the new version of pnp4nagios.
delboy1966
Posts: 98
Joined: Thu Oct 22, 2015 5:26 am

Re: Nagios XI an pnp4nagios

Post by delboy1966 »

We're using version 0.6.25

When you say dramatically, in what way?
When will the update be?

Tony
Locked