Page 1 of 1

How to clear performance data for one monitored service

Posted: Wed Nov 05, 2014 7:30 am
by habanr
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áň

Re: How to clear performance data for one monitored service

Posted: Wed Nov 05, 2014 10:56 am
by slansing
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:

Code: Select all

/usr/local/nagios/share/perfdata/<hostname>/<servicename>.rrd
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.