Page 1 of 1

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

Posted: Fri May 20, 2016 2:49 am
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

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

Posted: Fri May 20, 2016 6:15 am
by brandon
I read similar examples in this forum, but no correct answer, so I started a new topic

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

Posted: Fri May 20, 2016 10:15 am
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?

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

Posted: Fri May 20, 2016 10:55 am
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.

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

Posted: Fri May 20, 2016 11:30 am
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?

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

Posted: Fri May 20, 2016 2:24 pm
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