cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3313
Views
5
Helpful
4
Replies

Cisco SG500x 48 Port OID/MIB details.

sys-cisco1
Level 1
Level 1

Hi All,

I am currently setting up Nagios to monitor our switches via snmp. I have got a  few checks working by hunting down the required OID for CPU usage and fan speed but I am struggling to find the MIB or OID for memory usage and network in/out. 

Any assistance in where to find them or indeed, the required info itself, would be great. 

Thanks.

4 Replies 4

Michal Bruncko
Level 4
Level 4

struggling to find the MIB or OID for memory usage

even checking memory usage directly in switch CLI or WebGUI is unfortunately not available. The only memory-related command to see the list of running processes (show tech-support memory). But you can't see overall memory consumption. Thus my understanding that due this limitation there also no possibility to see the same using SNMP (no memory-consumption OID available). For example there is bugreport open CSCus65844 about unability to see memory utilization for SG switches in main Cisco nework management tool (Prime Infrastructure) which seems that this is general lack of this feature on SG switches.

struggling to find the MIB or OID for network in/out

for what exactly you are looking? SG switches support standard "IF-MIB" structure where you can check couple of network interface status, statistics and information per each port. 

hi, 

Thanks for your reply. 

Basically we are looking to better monitor our switches using our existing Nagios server. its a shame that we cant monitor memory but would be nice to know how much traffic was going through the switch. 

If you could recommend any paperwork or website that lists available OID's for our switches that wold be great. there are so many variables that internet searches are often fruitless. 


Thanks.

  • download Managed Switch MIB-1.4.0 available here
  • if you have Linux, extract and put all files into /usr/share/snmp/mibs/ directory
  • now you will be able to get all desired statistics by your own using snmpwalk
  • attaching list of all MIB vailables supported on SG units (pretty couple of valid variables)
  • the interesting ones could be:
    • rlSysmngTcamAllocationsTable (to see TCAM utilization)
    • rlCpuUtilDuringLast5Minutes
    • rlCpuUtilDuringLastMinute
    • rlCpuUtilDuringLastSecond
    • ipSystemStatsTable
    • ifTable
    • etherStatsTable
  • and you can fetch data using snmpwalk command (you have to have net-snmp package installed):

snmpwalk -v 2c -c CommunitySecret X.X.X.X MIBvariable

  • where:
    • CommunitySecret is Readonly or Readwrite community SNMP string you've defined on switch
    • X.X.X.X is your switch management IP or DNS name
    • MIBvariable is your selected MIB variable name from attached file.

That's great info. Thank you for taking the time out to put an answer together for me. I will look at doing this asap and will report back.