Page 1 of 1

.rrd files created, even after removing all of the switches.

Posted: Wed Oct 22, 2014 4:28 am
by Unigarant
Hi,

We have been trying to get our Cisco switches in NagiosXI.
This worked, but we did not like the port names, so we deleted all the switches (hosts/services) and started over.
When I hit apply config I received an error (something with a config file that did not exist for a different host). The services all showed up in CCM, but not in the monitoring part. After some (a day!) messing about we decided to delete all the switch hosts/services again and start over. This seems to have worked: I no longer see the config files for the switches, and they are gone from CCM as well.

However: the .rrd files in /var/mrtg are still being updated every 5 minutes! I need to get rid of these files so I can start over. And I am not looking forward to restoring a complete backup. (The config snapshots are not going to work anymore). Can anyone tell me what is still creating these .rrd files?

EDIT:
CentOS, 64bit, VMWare image, 2014R1.5.

Re: .rrd files created, even after removing all of the switc

Posted: Wed Oct 22, 2014 9:27 am
by tmcdonald
MRTG is doing the majority of the work in those checks, and is what is making those RRD files. Our plugin just queries the RRD, so removing the Nagios service will not stop the RRD from being written. You will need to remove the appropriate switch/router config from the /etc/mrtg/mrtg.conf/ directory and then you should be set to delete the RRD files.

Re: .rrd files created, even after removing all of the switc

Posted: Mon Oct 27, 2014 9:46 am
by Unigarant
I removed the .cfg files from the sub directory. This fixed it.
Thank you for the reply!