Hi. I'm trying to find out how to remove performance data for hosts and services that have been removed.
My understanding it that is is a manual process via commandline but my manager has asked me to try and confirm this.
Are the performance data files left behind by design? My manager expected XI to remove these files upon deletion of a host or service.
How to delete performance data
-
optionstechnology
- Posts: 234
- Joined: Thu Nov 17, 2016 11:26 am
Re: How to delete performance data
If you look in the admin section under Deadpool Settings you'll see an option for -
Remove performance data files (RRDs) upon host/service deletion
Although I think this is just for servers that are removed via the deadpool system
Remove performance data files (RRDs) upon host/service deletion
Although I think this is just for servers that are removed via the deadpool system
Re: How to delete performance data
You can delete old (unwanted) perfdata from Nagios XI by by running the following commands from the command line:
There is a component on the Nagios Exchnage (Performance Data Tool) that you can install in XI, and use for deleting the old perfdata in the GUI. You can install it as any other XI component by going to Admin > Manage Components > Browse > ... > Upload & Install. The newly added component will show under the Tools menu.
Screenshot: You can download the component from here: https://exchange.nagios.org/directory/A ... ol/details
Hope this helps.
Code: Select all
cd /usr/local/nagios/share/perfdata
rm -rf <hostname>/*Screenshot: You can download the component from here: https://exchange.nagios.org/directory/A ... ol/details
Hope this helps.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: How to delete performance data
Thanks for your responses and the link to the Performance Data Tool.
I have installed the component on a couple of our test XI systems. I'm having a few issue with it. I'm unable to delete individual files if I browse to a folder and try and delete a file, it results in an error. It displays the table correctly on one XI system but on the other it's not displaying the full table (with sorting arrows etc) and I'm unable to display the rrd data. I've tried using different browsers.
I know this component in't supported here but I was just wondering if anyone has seen the issues I'm experiencing with it?
I have installed the component on a couple of our test XI systems. I'm having a few issue with it. I'm unable to delete individual files if I browse to a folder and try and delete a file, it results in an error. It displays the table correctly on one XI system but on the other it's not displaying the full table (with sorting arrows etc) and I'm unable to display the rrd data. I've tried using different browsers.
I know this component in't supported here but I was just wondering if anyone has seen the issues I'm experiencing with it?
You do not have the required permissions to view the files attached to this post.
Re: How to delete performance data
You are correct - this is a 3rd party component that is not officially supported by Nagios. However, we are going to contact the author of the component, and try to troubleshoot the issue in house. We will get back to you as soon as we hear from Box293.
For the time being, I would recommend that you delete perfdata files from the CLI.
Thank you!
For the time being, I would recommend that you delete perfdata files from the CLI.
Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!