Page 2 of 3

Re: rrd does not exist after wizard rerun

Posted: Wed Apr 27, 2011 3:20 pm
by mcleodc
The model I was adding ports to was cisco 3560G some 24 and some 48 ports I will try another model of switch tomorrow and report back.

Re: rrd does not exist after wizard rerun

Posted: Thu Apr 28, 2011 10:14 am
by admin
I would suggest doing the following things before running the wizard:

1. Deleting the config entries for the switch from the MRTG config file (/etc/mrtg/mrtg.cfg). There will be multiple config lines that reference the IP/address of the switch

2. Delete all temporary Nagios XI / MRTG scan files will the following command:

Code: Select all

rm -f /usr/local/nagiosxi/tmp/mrtgscan*
3. Delete the RRD file for the switch from the following directory:

Code: Select all

/var/lib/mrtg
This should clear any old references to the old switch and allow you to start "fresh"

Re: rrd does not exist after wizard rerun

Posted: Thu Apr 28, 2011 3:07 pm
by mcleodc
Hi,

Thanks I will try that and report back. I am on holiday for a week but will try as soon as I am back in the office.


Thanks
Chris

Re: rrd does not exist after wizard rerun

Posted: Fri Apr 29, 2011 9:32 am
by rdedon
Thank you Chris and just post when its convenient for you.

Re: rrd does not exist after wizard rerun

Posted: Thu May 12, 2011 5:56 am
by mcleodc
Hi,

Sorry about the delay. This solved my problem.


Thanks for your help.

Re: rrd does not exist after wizard rerun

Posted: Thu May 12, 2011 9:17 am
by tonyyarusso
Good to hear.

Re: rrd does not exist after wizard rerun

Posted: Tue May 29, 2012 1:31 pm
by ian_couch
Hello,
I had this same problem, I wanted to add a couple of interfaces that needed to be monitored on a router that already had interfaces being monitored. I ran the router/switch wizard, unchecked all the interfaces being monitored already, as well as the "ping host" check box so as to not recreate any already existing services. All seemed to go well, except that after a period of time the 'check_traffic' service still cannot find the rrd files for the 2 interfaces. Is there a way that I should be doing this so that this doesn't happen? Could it be because I clicked 'back' once or twice while performing the discovery? I'll try the solution mentioned above to make this work, but I want to know how to avoid this problem in the future.

Thank you,
Ian.

Re: rrd does not exist after wizard rerun

Posted: Tue May 29, 2012 1:47 pm
by scottwilkerson
How long of a period of time did you wait? It can take up to like 30 minutes before the rrd files are created...

Re: rrd does not exist after wizard rerun

Posted: Wed May 30, 2012 11:45 am
by ian_couch
It's been over a day now.

Re: rrd does not exist after wizard rerun

Posted: Wed May 30, 2012 12:25 pm
by scottwilkerson
Can you run the following from the command line and report any output

Code: Select all

env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg