Page 4 of 5
Re: perfdata is not taking new data
Posted: Tue Jan 17, 2017 7:24 pm
by pmithil7
This is a Nagios Core system running Nagios4 on it. Attaching 'nagios.cfg','npcd.cfg' & 'commands.cfg' files below.
Re: perfdata is not taking new data
Posted: Tue Jan 17, 2017 7:27 pm
by pmithil7
Attaching 'processes_perfdata.cfg' & 'perfdata.log' files below. There is no npcd.log file in the server.
Thanks,
Mithil
Re: perfdata is not taking new data
Posted: Wed Jan 18, 2017 1:27 pm
by tgriep
Try this to see if it fixes the issue.
Edit this file
Code: Select all
/usr/local/pnp4nagios/etc/process_perfdata.cfg
And change the following from
to
Save the file any restart the Nagios Process by running
You may have to delete the rrd and xml files again.
If this doesn't work I suggest you go to the PNP4Nagios web site and see if there is a solution there for your issue.
https://docs.pnp4nagios.org/
Re: perfdata is not taking new data
Posted: Wed Jan 18, 2017 2:04 pm
by pmithil7
I tried this and still nothing is being generated in perfdata which is strange. Still no .rrd & .xml files are seen in it while the 'host-perfdata' and 'service-perfdata' keeps on growing in size with data.
Is there any other way except of configuration changes that we could tackle this issue with? There is little help in the original pnp4nagios documentation.

Re: perfdata is not taking new data
Posted: Wed Jan 18, 2017 2:39 pm
by tgriep
At this point, I think it is a bug or compatibility issue.
Make sure the required applications are updated on the server or try and reinstall it.
Re: perfdata is not taking new data
Posted: Wed Jan 18, 2017 2:48 pm
by pmithil7
What specific applications should i look forward to? I'm also open to a fresh install for pnp4nagios. Is there a good document that i could follow for a proper neat uninstall and re-installation for pnp4nagios? I wouldn't want to cause any issue to the current working Nagios.
Thanks for your help.
Re: perfdata is not taking new data
Posted: Wed Jan 18, 2017 3:10 pm
by tgriep
Take a look here for answers to your questions.
https://docs.pnp4nagios.org/
Re: perfdata is not taking new data
Posted: Thu Jan 19, 2017 6:51 pm
by pmithil7
I'm not sure if a re-installation of pnp4nagios will help in this case. The graphs disappearing and not populating again has been a loss in this case.
Can anyone suggest what steps should i take in order to populate data and the graphs again?

Re: perfdata is not taking new data
Posted: Fri Jan 20, 2017 11:35 am
by tgriep
Your system is trying to create the graphs but it having this error.
Code: Select all
2016-11-22 08:46:04 [29619] [0] RRDs::update ERROR /usr/local/pnp4nagios/var/perfdata/swb2f3-sjc-01/_HOST_.rrd: found extra data on update argument: 5.384:1.747
2016-11-22 08:46:04 [29619] [0] RRDs::update /usr/local/pnp4nagios/var/perfdata/petora11/_HOST_.rrd 1479833153:1.192:0:1.229:1.135
I searched for any fixes and didn't find a way to solve it.
I am thinking that one of the files that PNP4Nagios uses is corrupt and reinstalling may fix it for you.
If not, you will have to contact the author of that application at the following link.
https://docs.pnp4nagios.org/
Re: perfdata is not taking new data
Posted: Fri Jan 20, 2017 2:07 pm
by pmithil7
Thank you 'tgriep' for your help.