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?
Nagios Core XI + PNP Templates
Re: Nagios Core XI + PNP Templates
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.
/usr/local/nagios/share/pnp/templates.dist
And also verify that the template names correspond with a defined check command.
Re: Nagios Core XI + PNP Templates
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.
I moved the template to the dir you said but also then i get a empty screen with no performance graphs.
Re: Nagios Core XI + PNP Templates
First try to delete your templates (only for this check command) form templates and templates.dist directories.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.
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