Ad Widget

Collapse

How to get utilizations of memory and cpu on cisco switches and routers?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tfqzab
    Member
    • Apr 2011
    • 51

    #1

    How to get utilizations of memory and cpu on cisco switches and routers?

    Hello, I'm using zabbix appliance 1.8.4, I use the snmpwalk method to get the informatioans I want from the network devices. But there's no cpu or memory informations for most cisco switches and routers(like cisco 3550,3750). But for cisco ASA, I can get cpu and memory informations using snmpwalk. And I know the switches and routers have these infos too. Anyone met the same problem with mine? How and where can I get these infos?
    Thanks in advance!
  • Zaniwoop
    Senior Member
    • Jan 2010
    • 232

    #2
    See the items below
    Attached Files

    Comment

    • tfqzab
      Member
      • Apr 2011
      • 51

      #3
      Originally posted by Zaniwoop
      See the items below
      Thanks,Zaniwoop. I'm afraid your method does not work on all cisco routers and switches. I know some types, like 2960, support the "lcpuPercent" item. But some others do not. In one of my 3750 switches, the "lcpuPercent" and "memory" items' status are "not supported".

      In essence, the snmpwalk tool can't get any info related to cpu and memory on some cisco devices. So how can the items be supported?

      Comment

      • Zaniwoop
        Senior Member
        • Jan 2010
        • 232

        #4
        Not sure if this will guide you:

        This document describes how to collect CPU utilization on Cisco IOS® devices that use Simple Network Management Protocol (SNMP).

        Comment

        • doderlein
          Junior Member
          • Jun 2011
          • 5

          #5
          Here's the OID that I use on my Cisco switches to get free memory:
          .1.3.6.1.4.1.9.9.48.1.1.1.6.1

          And to get CPU utilization for the last 5 secs:
          .1.3.6.1.4.1.9.9.109.1.1.1.1.10

          Actually, if you look at OID .1.3.6.1.4.1.9.9.109.1.1.1.1.x, all those has something to do with cpu on cisco switches.

          List over cpu-OIDs:


          List over memory-OIDs:


          Hope this helps. :-)

          Comment

          • tfqzab
            Member
            • Apr 2011
            • 51

            #6
            Originally posted by Zaniwoop
            Thanks a lot, Zaniwoop. That really helps, though I have not fixed my problem totally.
            Things to me is that, in the Cisco link page, cisco says we can get cpmCPUTotal1min using the oid .1.3.6.1.4.1.9.9.109.1.1.1.1.4, but I can not get any data from my switch using that, instead, I can get data using .1.3.6.1.4.1.9.9.109.1.1.1.1.4.1 which is one more number thant cisco provides.

            And for dederlein, whom I'd like to give my sincere thanks to too, he used the oid
            .1.3.6.1.4.1.9.9.109.1.1.1.1.10, which has the same count of numbers as the cisco version, but still not what cisco provides . The weird thing for me is I must use one more number than the cisco version, or I can not get any data. So even though I can get some datas now, I am not sure what the datas mean exactly.

            How Can I get the meaning of a snmp oid? For what cisco explains means little to me as I can't get data using cisco's oid.
            I'm still trying to fix it. Whatever, thanks for you and dederlein. Thank you.

            Comment

            • tfqzab
              Member
              • Apr 2011
              • 51

              #7
              Originally posted by doderlein
              Here's the OID that I use on my Cisco switches to get free memory:
              .1.3.6.1.4.1.9.9.48.1.1.1.6.1

              And to get CPU utilization for the last 5 secs:
              .1.3.6.1.4.1.9.9.109.1.1.1.1.10

              Actually, if you look at OID .1.3.6.1.4.1.9.9.109.1.1.1.1.x, all those has something to do with cpu on cisco switches.

              List over cpu-OIDs:


              List over memory-OIDs:


              Hope this helps. :-)
              Thanks, doderlein. You really helped a lot. May I ask you to spare time to see what I said at the upper floor?

              Comment

              Working...