application/models/data.php [312] - pnp4nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
brandon
Posts: 30
Joined: Wed Aug 19, 2015 4:10 am

application/models/data.php [312] - pnp4nagios

Post by brandon »

For some plugins have such an error (in attachment)
other plugins are displayed correctly

The problem is a plugin? or settings pnp4nagios?
anyone knows how to solve? any ideas
Attachments
pnp4nagios.JPG
brandon
Posts: 30
Joined: Wed Aug 19, 2015 4:10 am

Re: application/models/data.php [312] - pnp4nagios

Post by brandon »

I read similar examples in this forum, but no correct answer, so I started a new topic
brandon
Posts: 30
Joined: Wed Aug 19, 2015 4:10 am

Re: application/models/data.php [312] - pnp4nagios

Post by brandon »

one more question, because I found the solution

how to convert this plugin:
https://exchange.nagios.org/directory/P ... ls/details
as shown in this tutorial:
https://geekpeek.net/pnp4nagios-xml-file-not-found/
Can anyone help?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: application/models/data.php [312] - pnp4nagios

Post by rkennedy »

This thread is all over the board, what exactly are you looking to accomplish? Did you follow a set of instructions when trying to install PNP4Nagios? Please link us to them.

As for your second part regarding Asterisk, please open a new thread for this as we do like to keep things isolated.
Former Nagios Employee
brandon
Posts: 30
Joined: Wed Aug 19, 2015 4:10 am

Re: application/models/data.php [312] - pnp4nagios

Post by brandon »

pnp4nagios is properly installed, graphs are for other plugins, only for the individual plugins do not generate the .xml files and .rrd e.g:
check_asterisk_channels, check_website_response.sh, check_fileage.py etc.

for plugins e.g: check_apt, check_disk, check_cpu, etc. is OK (to generate graphs)

Do I have post new thread? if it does not apply to one plugin?
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: application/models/data.php [312] - pnp4nagios

Post by bwallace »

Those plugins (check_asterisk_channels, check_website_response.sh, check_fileage.py) were probably written without the ability to include perf data, so that's why you're not seeing graphs for them. Refer to:
https://docs.pnp4nagios.org/pnp-0.6/perfdata_format

...more about perf data here:
http://nagios-plugins.org/doc/guidelines.html#AEN200
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked