Hello
im using a script that is monitoring linux server load, showing each core load separetly and drawing a graph based on each cpu. After adding extra cpus to the monitored server, the graph is not updating itself anymore. Seems it doesnt know how to update itself from 4 cpus to 8.
Is it possible to update it somehow or need to clean old rrd and xml files and start from 0? Not to keen to loose that performance data.
updating graphs
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: updating graphs
If the number of datasources your plugin returns in perfdata changes, the RRD that stores your data needs to be re-built..
We have a doc for doing this
https://support.nagios.com/kb/article.php?id=497
Of if you do not care about historical data for this service you can delete the RRD from
/usr/local/nagios/share/perfdata/HOSTNAME/SERVICENAME.rrd
Once you delete it, it will be recreated withe the correct amount of datapoints
We have a doc for doing this
https://support.nagios.com/kb/article.php?id=497
Of if you do not care about historical data for this service you can delete the RRD from
/usr/local/nagios/share/perfdata/HOSTNAME/SERVICENAME.rrd
Once you delete it, it will be recreated withe the correct amount of datapoints