How to clear performance data for one monitored service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
habanr
Posts: 3
Joined: Wed Nov 05, 2014 6:52 am

How to clear performance data for one monitored service

Post 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áň
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

Post 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.
Locked