mrtg.cfg file contains old targets

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sjgapinski
Posts: 2
Joined: Thu Apr 12, 2012 8:48 am

mrtg.cfg file contains old targets

Post by sjgapinski »

Hello,

I recently noticed that my /etc/mrtg/mrtg.cfg file contains old hosts that I previously removed from XI. But, apparently they are still being checked for SNMP data. My question is... Is it ok to manually remove the old targets from the mrtg.cfg file, or is there some better way to clean them out? Is there a recommended procedure? I am currently running 2012R1.2

Thanks!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: mrtg.cfg file contains old targets

Post by tmcdonald »

Two things:

1.) It should be okay to remove them manually, just be careful you don't miss any lines that will cause a config error

2.) You may consider upgrading to the latest version of XI, as 2012R1.2 is quite old (latest is 2014r1.3) and there have been many, many enhancements since then
Former Nagios employee
sjgapinski
Posts: 2
Joined: Thu Apr 12, 2012 8:48 am

Re: mrtg.cfg file contains old targets

Post by sjgapinski »

Thanks for the response. Removing them manually seems to work just fine.
Locked