perfdata is not taking new data

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.
pmithil7
Posts: 43
Joined: Wed Dec 07, 2016 7:06 pm

Re: perfdata is not taking new data

Post by pmithil7 »

This is a Nagios Core system running Nagios4 on it. Attaching 'nagios.cfg','npcd.cfg' & 'commands.cfg' files below.
Attachments
commands.cfg
/usr/local/nagios/etc/objects/commands.cfg
(7.89 KiB) Downloaded 321 times
npcd.cfg
/usr/local/nagios/etc/npcd.cfg
(4.06 KiB) Downloaded 354 times
nagios.cfg
/usr/local/nagios/etc/nagios.cfg
(44.24 KiB) Downloaded 345 times
pmithil7
Posts: 43
Joined: Wed Dec 07, 2016 7:06 pm

Re: perfdata is not taking new data

Post by pmithil7 »

Attaching 'processes_perfdata.cfg' & 'perfdata.log' files below. There is no npcd.log file in the server.

Thanks,
Mithil
Attachments
perfdata.log
/usr/local/pnp4nagios/var/perfdata.log
(3.6 MiB) Downloaded 341 times
process_perfdata.cfg
/usr/local/pnp4nagios/etc/process_perfdata.cfg
(2.46 KiB) Downloaded 345 times
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: perfdata is not taking new data

Post 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

Code: Select all

RRD_STORAGE_TYPE = SINGLE
to

Code: Select all

RRD_STORAGE_TYPE = MULTIPLE
Save the file any restart the Nagios Process by running

Code: Select all

service nagios restart
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/
Be sure to check out our Knowledgebase for helpful articles and solutions!
pmithil7
Posts: 43
Joined: Wed Dec 07, 2016 7:06 pm

Re: perfdata is not taking new data

Post 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. :roll:
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: perfdata is not taking new data

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
pmithil7
Posts: 43
Joined: Wed Dec 07, 2016 7:06 pm

Re: perfdata is not taking new data

Post 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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: perfdata is not taking new data

Post by tgriep »

Take a look here for answers to your questions.
https://docs.pnp4nagios.org/
Be sure to check out our Knowledgebase for helpful articles and solutions!
pmithil7
Posts: 43
Joined: Wed Dec 07, 2016 7:06 pm

Re: perfdata is not taking new data

Post 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? :(
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: perfdata is not taking new data

Post 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/
Be sure to check out our Knowledgebase for helpful articles and solutions!
pmithil7
Posts: 43
Joined: Wed Dec 07, 2016 7:06 pm

Re: perfdata is not taking new data

Post by pmithil7 »

Thank you 'tgriep' for your help.
Locked