Unable to get bandwidth utilization data from Cisco switch

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
brian.gamble
Posts: 43
Joined: Thu Sep 29, 2011 11:07 am

Unable to get bandwidth utilization data from Cisco switch

Post 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 :D

Unable to get Cisco switch to show utilization. I had no problems retrieving this information on previous VMware image (v1.6 I believe)

Thanks
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Unable to get bandwidth utilization data from Cisco swit

Post 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?
brian.gamble
Posts: 43
Joined: Thu Sep 29, 2011 11:07 am

Re: Unable to get bandwidth utilization data from Cisco swit

Post 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
brian.gamble
Posts: 43
Joined: Thu Sep 29, 2011 11:07 am

Re: Unable to get bandwidth utilization data from Cisco swit

Post by brian.gamble »

Also, I've used IE9 & Chrome to view with no difference.
brian.gamble
Posts: 43
Joined: Thu Sep 29, 2011 11:07 am

Re: Unable to get bandwidth utilization data from Cisco swit

Post by brian.gamble »

I also cannot see any performance graphs on the switch ports but do remember seeing them before when it was working.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Unable to get bandwidth utilization data from Cisco swit

Post 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.
Nicholas Scott
Former Nagios employee
brian.gamble
Posts: 43
Joined: Thu Sep 29, 2011 11:07 am

Re: Unable to get bandwidth utilization data from Cisco swit

Post 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.
brian.gamble
Posts: 43
Joined: Thu Sep 29, 2011 11:07 am

Re: Unable to get bandwidth utilization data from Cisco swit

Post 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?
brian.gamble
Posts: 43
Joined: Thu Sep 29, 2011 11:07 am

Re: Unable to get bandwidth utilization data from Cisco swit

Post by brian.gamble »

Any update for me yet?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Unable to get bandwidth utilization data from Cisco swit

Post 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
Nicholas Scott
Former Nagios employee