Hello,
Did some changes to http://exchange.nagios.org/directory/Pl ... ks/details
So the plugin will not monitor disabled tasks. Is there some way to add disabled_tasks as perfdata metric, without having to delete the rrd and xml files for the service in /usr/local/nagios/share/perfdata ?
Grtz
Adding perfdata metrics to rrd's without losing history
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Adding perfdata metrics to rrd's without losing history
We have had similar circumstances where we have had to add additional datasources to an RRD file due to the plugin now outputting additional datasources.
Have a look at this URL which includes a download zip which adds extra datasources to an RRD file:
ICMP and Ping Checks Stopped Graphing After XI 2014 Upgrade
Download zip
Have a look at this URL which includes a download zip which adds extra datasources to an RRD file:
ICMP and Ping Checks Stopped Graphing After XI 2014 Upgrade
Download zip
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Adding perfdata metrics to rrd's without losing history
Thanks again Troy,
So this should automtically compare rrd's with xml's and if datasources are missing, they will be added right? Already had to use this script, but I thought it was specially for ICMP datasources. reviewing the code a bit shows that it should work on all missing datasources, can you confirm?
Grtz
Willem
So this should automtically compare rrd's with xml's and if datasources are missing, they will be added right? Already had to use this script, but I thought it was specially for ICMP datasources. reviewing the code a bit shows that it should work on all missing datasources, can you confirm?
Grtz
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Adding perfdata metrics to rrd's without losing history
Actually that script is agnostic to check type. It will always go through the entire perfdata folder and sub folders to correct them all. So if you were to set a bunch like this, run the script, I would expect that all of them should get fixed at once!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Adding perfdata metrics to rrd's without losing history
Spenser,
I'd like to confirm that the rrd fix script works perfectly to make the graphs display new datasources!
Thread can be closed.
Thanks.
Willem
I'd like to confirm that the rrd fix script works perfectly to make the graphs display new datasources!
Thread can be closed.
Thanks.
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Adding perfdata metrics to rrd's without losing history
We'll go ahead then and close this thread. Thanks.