Cisco device - missing file - Bandwidth
Cisco device - missing file - Bandwidth
Me gain, trying to do some clean-up today (obviously!)...!!!
Any thoughts on the following?
NAgios XI 2011R2.2
I have a Cisco voice gateway and monitoring 2 interfaces for status and bandwidth. Configured this device using the Network Switch/Router wizard.
Port 2 reports status OK
Port 2 reports bandwidth OK (with usage)
Port 3 reports status OK
Port 3 reports bandwidth: /var/lib/mrtg/ip_address_of_router_3.rrd does not exist
I am able to locate /var/lib/mrtg/ip_address_of_router_2.rrd, just not the _3 file.
Did I mess a step here?
Thanks!
Scobi
Any thoughts on the following?
NAgios XI 2011R2.2
I have a Cisco voice gateway and monitoring 2 interfaces for status and bandwidth. Configured this device using the Network Switch/Router wizard.
Port 2 reports status OK
Port 2 reports bandwidth OK (with usage)
Port 3 reports status OK
Port 3 reports bandwidth: /var/lib/mrtg/ip_address_of_router_3.rrd does not exist
I am able to locate /var/lib/mrtg/ip_address_of_router_2.rrd, just not the _3 file.
Did I mess a step here?
Thanks!
Scobi
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Cisco device - missing file - Bandwidth
It is possible that the that port has 0 usage?
Also, it can take a while for an rrd to be created if this was freshly setup.
Also, it can take a while for an rrd to be created if this was freshly setup.
Re: Cisco device - missing file - Bandwidth
Okies, thanks! I'll be patient...
We configured that yesterday afternoon...
Definately has usage on it, wouldn't be making phone calls if not...
We can pause this for another couple days...
Thanks for the support!
Definately has usage on it, wouldn't be making phone calls if not...
We can pause this for another couple days...
Thanks for the support!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Cisco device - missing file - Bandwidth
actually it shouldn't take that long...
Run the following from the commandline
If it doesn't give you output it is working ok, and I'll need to see the following file
/etc/mrtg/mrtg.cfg
Run the following from the commandline
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok/etc/mrtg/mrtg.cfg
Re: Cisco device - missing file - Bandwidth
Howdy! Ran the command an no output! Yippie!
Looking at the file I probably shouldn't post that in public. I'll probably convert this to email support ticket if OK with you?
Thanks!
Looking at the file I probably shouldn't post that in public. I'll probably convert this to email support ticket if OK with you?
Thanks!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Cisco device - missing file - Bandwidth
That's a good idea.
Re: Cisco device - missing file - Bandwidth
Ummm, "Houston, do we have a problem...?"
That file is pretty huge, like almost 6MB and 120k lines... Is that normal for 5 network devices? I'm wondering if something went wonky here during the device wizard config?
If this isn't normal, can I just remove the devices from XI, drop the mrtg.cfg file, then carefully readd the needed devices?
If this is normal, shout back and I'll do the email ticket route... Should zip up pretty nicely...
Thanks!
That file is pretty huge, like almost 6MB and 120k lines... Is that normal for 5 network devices? I'm wondering if something went wonky here during the device wizard config?
If this isn't normal, can I just remove the devices from XI, drop the mrtg.cfg file, then carefully readd the needed devices?
If this is normal, shout back and I'll do the email ticket route... Should zip up pretty nicely...
Thanks!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Cisco device - missing file - Bandwidth
That's not right at all...
You can do as suggested, but you should delete the file and make a new one with just this in it
Then you can re-run the wizard
You can do as suggested, but you should delete the file and make a new one with just this in it
Code: Select all
HtmlDir: /var/www/mrtg
ImageDir: /var/www/mrtg
LogFormat: rrdtool
LogDir: /var/lib/mrtg
ThreshDir: /var/lib/mrtg
WorkDir: /var/lib/mrtg
Re: Cisco device - missing file - Bandwidth
Greetings! No luv...
I deleted all the networking services and hosts, then recreated the mrtg.cfg file. I re-ran the wizard and same behavior, file not found: /var/lib/mrtg/IP_ADDRESS_3.rrd does not exist.
Other counters are working fine (Interface 2 reporting in as expected)...
Contents of the new mrtg.cfg file are exactly as you recommeneded...
Any other thoughts? Delete that service?
Thanks!
I deleted all the networking services and hosts, then recreated the mrtg.cfg file. I re-ran the wizard and same behavior, file not found: /var/lib/mrtg/IP_ADDRESS_3.rrd does not exist.
Other counters are working fine (Interface 2 reporting in as expected)...
Contents of the new mrtg.cfg file are exactly as you recommeneded...
Any other thoughts? Delete that service?
Thanks!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Cisco device - missing file - Bandwidth
Can you try to run the following, just to make sure the device is providing values for this interface
Code: Select all
snmpgt -v1 -c COMMUNITY_STRING ROUTER_IP IF-MIB::ifOutOctets.3