Is there a way to zero certain device data?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ScottTFrazer
Posts: 4
Joined: Thu Nov 03, 2005 3:56 pm

Is there a way to zero certain device data?

Post by ScottTFrazer »

We recently did a reorganization of our data center and had several servers move between switch ports. I'd like to discard the data for those switches so that we aren't fooled into thinking the historical data there is related to the new devices attached to them

Is there an easy way to do this? or am I going to have delete the affected devices and recreate them?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

All data is stored in the rrd files -- delete those to purge all data. If you want to selectively purge data, then rrdtool dump the data to xml, edit it, and then reimport back to rrd.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I mostly agree with BSOD2600. My recommendation is indeed to delete the "old" rrd files. cacti will recreate them on the next polling interval, but they won't hold any historical data, as you requested
Reinhard
ScottTFrazer
Posts: 4
Joined: Thu Nov 03, 2005 3:56 pm

Post by ScottTFrazer »

That was much easier than deleting the devices :-)

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest