rrd does not exist after wizard rerun

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mcleodc
Posts: 59
Joined: Thu Jan 28, 2010 1:26 pm

Re: rrd does not exist after wizard rerun

Post 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.
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: rrd does not exist after wizard rerun

Post 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"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
mcleodc
Posts: 59
Joined: Thu Jan 28, 2010 1:26 pm

Re: rrd does not exist after wizard rerun

Post 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
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: rrd does not exist after wizard rerun

Post by rdedon »

Thank you Chris and just post when its convenient for you.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
mcleodc
Posts: 59
Joined: Thu Jan 28, 2010 1:26 pm

Re: rrd does not exist after wizard rerun

Post by mcleodc »

Hi,

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

Post by tonyyarusso »

Good to hear.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
ian_couch
Posts: 15
Joined: Fri Dec 09, 2011 11:07 am

Re: rrd does not exist after wizard rerun

Post 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.
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

Post 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...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ian_couch
Posts: 15
Joined: Fri Dec 09, 2011 11:07 am

Re: rrd does not exist after wizard rerun

Post by ian_couch »

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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked