Page 1 of 1

Pnp4 nagios unable to display historical data for a service

Posted: Wed Nov 22, 2017 6:00 am
by rohithroki
Dear Team,

I am using pnp4 nagios for getting the historical data for the services configured for a particular server.How ever when i try to take the historical data for a particular service i am getting below error.

PNP4Nagios Version 0.6.21
Please check the documentation for information about the following error.

XML file "/usr/local/pnp4nagios/var/perfdata/sappidb/HPUX-MEM_Usage.xml" not found. Read FAQ online

Attaching the screenshot also for your reference.

Kindly let me know how to fix the same as i need to get the data for this service for the last one month.

Regards,
RKJ

Re: Pnp4 nagios unable to display historical data for a serv

Posted: Wed Nov 22, 2017 3:14 pm
by kyang
Here is something interesting about the error.
Take a look at this article.

https://geekpeek.net/pnp4nagios-xml-file-not-found/

Re: Pnp4 nagios unable to display historical data for a serv

Posted: Thu Nov 23, 2017 12:16 am
by rohithroki
@kyang

Thank you for the reply.
i am attaching my plugin along with the reply.i have gone through the post but not sure what needs to be added in the script.
Can you please check the plugin and let me know what needs to be added additionally.

Regards,
RKJ

Re: Pnp4 nagios unable to display historical data for a serv

Posted: Fri Nov 24, 2017 12:05 am
by rohithroki
Hi All,

Can any one help on the below issue.

Regards,
RKJ

Re: Pnp4 nagios unable to display historical data for a serv

Posted: Mon Nov 27, 2017 4:52 am
by rohithroki
Dear Team,

Awaiting your help on the below help.
We need this data for an audit purpose.Kindly help to fix the issue.
Thanks in advance.

RKJ

Re: Pnp4 nagios unable to display historical data for a serv

Posted: Mon Nov 27, 2017 3:44 pm
by kyang
Hi rohithroki,

The plugin needs performance data parameters.

Code: Select all

'label'=value[UOM];[warn];[crit];[min];[max]
The example output from the article is what your plugin needs.

Code: Select all

OK - Number of open files is 1592 | NumOpenFiles=1592;1900;2048;0;10000
You could also take a look at our guidelines.

http://nagios-plugins.org/doc/guideline ... PERLPLUGIN

http://nagios-plugins.org/doc/guidelines.html#AEN200