Deleted rrd returns?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Deleted rrd returns?

Post by BanditBBS »

I'm trying to delete an rrd and associated xml file so it gets recreated on next check. I delete the files and they are being recreated with all the old data! I know I've deleted an rrd file to start it over in the past, but its just coming right back!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Deleted rrd returns?

Post by cdienger »

Is this a standalone machine or do you have any scripts in place to replicate configs and files between this machine and another? The only thing that comes to mind that would explain why the old data is getting inserted back in would be a if a old copy is getting moved over.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Deleted rrd returns?

Post by BanditBBS »

Nothing for replication, this server is just a NagiosXI box. Just so confusing how it is coming back every time.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Deleted rrd returns?

Post by cdienger »

Very strange. Exactly what steps are you taking? You're deleting the files found at /usr/local/nagios/share/perfdata/<hostname>/<servicedesc>.[rrd|xml] correct? Is the recreated rrd file the same size as the deleted one? Are you checking the data inside it with rrdtool? For example:

Code: Select all

rrdtool dump /usr/local/nagios/share/perfdata/hostnameA/ServiceA.rrd
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked