Delete performance data for one service.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Unigarant
Posts: 42
Joined: Mon Jan 06, 2014 2:53 am

Delete performance data for one service.

Post by Unigarant »

Hi,

I have added a switch to Nagios. To start with the port setting on a particular port was set in Kbit instead of Mbit.
After changing this I still have a very large spike saying that the load on the line was 14000Mbit (this was tested in the time the graph still showed Kbit)...

I want to delete the performance data for this particular service (port) on this switch. I do NOT want to delete the entire switch!

I have tried deleting the bandwidth/status services for this port and deleting the .rrd and .xml files under services. After that I re-added the port.
But alas: it still shows the incorrect historical data!

Can someone help me delete the performance data for just this service/port?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Delete performance data for one service.

Post by rkennedy »

The interface should have it's own RRD + XML file in a directory similar to /usr/local/nagios/share/perfdata/192.168.5.41/Port_10_Bandwidth.rrd /usr/local/nagios/share/perfdata/192.168.5.41/Port_10_Bandwidth.xml

Replace 192.168.5.41 with the proper IP of the switch, and Port_10_Bandwidth with the service name for that interface.

Once you clear this out, it'll regenerate itself once mrtg runs through and creates data points.
Former Nagios Employee
Locked