Two weeks ago I created a quick little bash script to monitor the free disk space on the Nagios server it self.
During its short development time I changed the plugin output spec a lot.
Long story short I deleted one of the output values that I didn't need anyway and now the graph in XI have stopped working.
So my simple question is, how do I clear the graph data?
Long story:
The % value used to be the 3rd value, so when I deleted the 2nd value the % value was moved to be the 2nd value and thereby making this graph show a very high % number.
After the removal of the 2nd value, the graph simple stopped getting new data.
How to Clear Graph Data?
How to Clear Graph Data?
You do not have the required permissions to view the files attached to this post.
Re: How to Clear Graph Data?
The performance data for graphs are stored in .rrd and .xml files on the system. If you delete those files, they will get re-created and display the current data after about 20 minutes.
Those files are stored in the following folder under the name of the host check.
Those files are stored in the following folder under the name of the host check.
Code: Select all
/usr/local/nagios/share/perfdata/<hostname>Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: How to Clear Graph Data?
That did the trick, thanks!
And wow that folder had a lot of crap. I mean information on all test/old hosts I had created and deleted.
Anyway, this can be closed if you want.
And wow that folder had a lot of crap. I mean information on all test/old hosts I had created and deleted.
Anyway, this can be closed if you want.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: How to Clear Graph Data?
FYI the Performance Data Tool I created has a delete function that can find old files so you can delete them:Deantwo wrote:And wow that folder had a lot of crap. I mean information on all test/old hosts I had created and deleted.
http://exchange.nagios.org/directory/Ad ... ol/details
Upload it into Nagios XI via Admin > System Extensions > Manage Components.
Access it via the Tools menu.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: How to Clear Graph Data?
Ooh interesting!Box293 wrote:FYI the Performance Data Tool I created has a delete function that can find old files so you can delete them:Deantwo wrote:And wow that folder had a lot of crap. I mean information on all test/old hosts I had created and deleted.
http://exchange.nagios.org/directory/Ad ... ol/details
I'll take a look at that, thanks.
Re: How to Clear Graph Data?
Is it alright if we close this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: How to Clear Graph Data?
Yup.mcapra wrote:Is it alright if we close this thread and mark the issue as resolved?