Nagios Core XI + PNP Templates

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Nagios Core XI + PNP Templates

Post by SDohmen »

Hello everyone,

Last night when i was testing the Core XI performance graphs i noted that several templates i use for pnp wherent working. I double checked my old Core configuration and there it worked just fine. However when i put the same template on the Core XI machine i am not getting any graphs. The location where i put the template is /usr/local/nagios/share/pnp/templates.

The plugin i am using is http://folk.uio.no/trondham/software/ch ... assis.html which has the template there aswell.

Can someone tell me what i am doing wrong?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios Core XI + PNP Templates

Post by mguthrie »

Try putting them in the following directory:

/usr/local/nagios/share/pnp/templates.dist

And also verify that the template names correspond with a defined check command.
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: Nagios Core XI + PNP Templates

Post by SDohmen »

I double checked the command and it is the same one as the Nagios Core version uses, same goes for the template name.

I moved the template to the dir you said but also then i get a empty screen with no performance graphs.
pzusa
Posts: 34
Joined: Fri Jun 24, 2011 9:54 am

Re: Nagios Core XI + PNP Templates

Post by pzusa »

SDohmen wrote:I double checked the command and it is the same one as the Nagios Core version uses, same goes for the template name.

I moved the template to the dir you said but also then i get a empty screen with no performance graphs.
First try to delete your templates (only for this check command) form templates and templates.dist directories.
After that the default template should be used - this should let you verify if there is everything ok with the data.
Additionally default template shows check command name on the graph (just to double check it).

If You can see the graphs with the default template, than copy Your templates again (doesn't matter if You copy to templates or templates.dist directory since NXI looks for corresponding templates in both of them) and check if the access rights are correct (readable by nagios and apache).

Hope this helps

Take care

Michalux
Locked