rrd does not exist after wizard rerun
Re: rrd does not exist after wizard rerun
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
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:
3. Delete the RRD file for the switch from the following directory:
This should clear any old references to the old switch and allow you to start "fresh"
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*Code: Select all
/var/lib/mrtgAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Ethan Galstad
President
Ethan Galstad
President
Re: rrd does not exist after wizard rerun
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
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
Thank you Chris and just post when its convenient for you.
Re: rrd does not exist after wizard rerun
Hi,
Sorry about the delay. This solved my problem.
Thanks for your help.
Sorry about the delay. This solved my problem.
Thanks for your help.
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: rrd does not exist after wizard rerun
Good to hear.
Re: rrd does not exist after wizard rerun
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.
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: rrd does not exist after wizard rerun
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
It's been over a day now.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: rrd does not exist after wizard rerun
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