Page 1 of 5
Unable to get bandwidth utilization data from Cisco switch
Posted: Wed Oct 05, 2011 2:00 pm
by brian.gamble
For all support requests, we need to know:
1.Linux Distribution and version?
VMware Image
2.32 or 64bit?
Running VMWare Player on 64bit version of Windows Server 2008
3.VMware Image or Manual Install of XI?
VMware Image
4.Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
Using ISA 2006 as Proxy
5.N/A
Might I suggest an additional question? Question 6. Do you know anything about Linux or programming <my answer> hell no
Unable to get Cisco switch to show utilization. I had no problems retrieving this information on previous VMware image (v1.6 I believe)
Thanks
Re: Unable to get bandwidth utilization data from Cisco swit
Posted: Wed Oct 05, 2011 3:41 pm
by mguthrie
Unable to get Cisco switch to show utilization
Can you outline the steps that you've done so far to set this up and what you're currently seeing for this particular switch?
Re: Unable to get bandwidth utilization data from Cisco swit
Posted: Thu Oct 06, 2011 7:54 am
by brian.gamble
On the switch itself, I've enabled SNMP and created a unique community string.
In Nagios XI, I went to Configure > Monitoring Wizard > Switch/Router option.
Typed in IP of switch, entered unique SNMP community string, selected Cisco for vendor, port number, scan interfaces and left monitoring defaults the same.
Gave the switch a host name, unchecked ping, selected which ports to monitor, named the ports and unselected port status checkboxes. I left the default bandwidth options the same.
Next>
Monitoring settings left alone
Next>
Selected users to get the alerts
Next>
Selected appropriate Host Group
Next>
Applied setting successfully.
I use minemap currently as a visual aid so in minemap for that switch, circles go green, and when I hover, the in/out Mbps are blank. If I click on the actual port being monitored, the in/out is still showing blank. I copied a 4gb file from the server through port 1 and it still shows no data.
I set this same switch up as a test on the previous VMware image and was able to see bandwidth utilization.
Thanks
Re: Unable to get bandwidth utilization data from Cisco swit
Posted: Thu Oct 06, 2011 8:04 am
by brian.gamble
Also, I've used IE9 & Chrome to view with no difference.
Re: Unable to get bandwidth utilization data from Cisco swit
Posted: Thu Oct 06, 2011 8:51 am
by brian.gamble
I also cannot see any performance graphs on the switch ports but do remember seeing them before when it was working.
Re: Unable to get bandwidth utilization data from Cisco swit
Posted: Thu Oct 06, 2011 1:30 pm
by nscott
Brian,
Can you try doing a walk against the switch?
At the command line:
snmpwalk <IP of switch> -c <comm string> -v<snmp version number>
Is that give you results back? What kind of switch is it?
If the walk worked, lets work our way to MRTG RRDs. Go to the /var/lib/mrtg/ directory and run this
rrdtool fetch <RRDfilename> AVERAGE
Are these all NaNs or 0?
If the walk didn't work, then its a community string/firewall issue.
Re: Unable to get bandwidth utilization data from Cisco swit
Posted: Thu Oct 06, 2011 2:06 pm
by brian.gamble
Yes, I did get results back when running snmpwalk command.
It is a Cisco SG 300.
I don't see a mrtg directory in the lib directory.
Re: Unable to get bandwidth utilization data from Cisco swit
Posted: Thu Oct 06, 2011 3:55 pm
by brian.gamble
Re-added switch and prior to the circles (ports) turning green, it is orangish and shows the message:
Port x Bandwidth Unknown: /var/lib/mrtg/ (ip).rrd does not exist.
Seems to me I'm missing a service or something here?
Re: Unable to get bandwidth utilization data from Cisco swit
Posted: Fri Oct 07, 2011 10:54 am
by brian.gamble
Any update for me yet?
Re: Unable to get bandwidth utilization data from Cisco swit
Posted: Fri Oct 07, 2011 11:39 am
by nscott
Yeah, it looks like there may be a permissions issue with the /var/lib/mrtg directory. Can you verify the ownership of that directory for me?
ll /var/lib
ll /var/lib/mrtg