I try do develop a diagnostic powershell script running on host side. During development my script sent performance data which completely confused Nagios XI so that the performace graph for this new monitored service contains a lot of empty series see attached image. Is there any way how to correct the situation?
Sincerely
Radovan Habáň
How to clear performance data for one monitored service
How to clear performance data for one monitored service
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: How to clear performance data for one monitored service
Well, you would want to fix up your script first, so it didn't flood you with useless (to you) performance data. If you want to get rid of it completely on the XI side, you will want to remove or disable the service through the CCM, as well as it's related RRD files:
Then re-add the service when you are ready to go. We may also need to dig into graphing templates for this, though I don't believe they are used anymore since by default, all graphs are done in Hi-Charts now.
Code: Select all
/usr/local/nagios/share/perfdata/<hostname>/<servicename>.rrd