Ad Widget

Collapse

D-link switches: CPU load oid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BlackRabbit
    Junior Member
    • Apr 2009
    • 15

    #1

    D-link switches: CPU load oid

    Hi,

    can anyone provide me the oid for CPU load/usage of Dlink switches (DGS3100-48, DES-1228T and DGS-1224T) in particular.

    Searched the web but can't find it (the oid for the Dlink 33xx switch I found in the template wiki seems to be unsupported by the 3100-48).
  • BlackRabbit
    Junior Member
    • Apr 2009
    • 15

    #2
    I downloaded a MIB from from the Dlink website for my switch.
    I found some oid's that might be interesting, however when I use them in ZABBIX I always get the following error message:
    Not supported OID [.1.3.6.1.4.1.2021.11.10] value #2 has unknow type [80]
    I tried both float & 64bit types, but both give the same error.

    According to mbrowse (prog I use to browse in the MIV file) the oid above should return a 32bit integer.




    SO I searched a little more, and found these:
    .1.3.6.1.4.1.2021.11.5x (ssCpuRawX with X = idle, user, system, kernel, ..)


    However, with none of the oid's above I get data (graphs show "no data") and I always get the "not supported" notice
    Last edited by BlackRabbit; 24-04-2009, 21:52.

    Comment

    • georgew
      Member
      • Mar 2008
      • 50

      #3
      Set your data type to character or text and look at it.

      If it has non-numeric elements, then it is not a number, and you cannot assign it to a numeric variable.

      I'm having this problem where I'm getting an assigned ingeger AND a units name [-69 dBm] back, so it is not possible for zabbix to store that as a numeric variable.

      I'm trying to find out how to feed this to an external command, strip the text out, then feed it back to a zabbix numeric variable. OR find out how to strip the text down to the numeric value within zabbix. Either solution will work for me, and may well work for you too.

      When I saw the "unsupported" error, I also had an error saying that the data was of the wrong type for numeric, and sure enough the value being reported was mixed numeric and text. You may have the same problem.

      Does anyone have a method to strip a number from a mixed-mode string?

      Comment

      • georgew
        Member
        • Mar 2008
        • 50

        #4
        I accomplished what I needed using an external check....

        Comment

        • BlackRabbit
          Junior Member
          • Apr 2009
          • 15

          #5
          It seems this isn't my problem: I tried "text"-type before and now again (just to be sure) and I keep getting the same error:
          OID [.1.3.6.1.4.1.2021.11.50] value has unknow type [80]
          (same for 51,52,..)

          It's bizar, because this switch does support cpu-load monitoring (in the telnet cli/web interface)

          Comment

          • BlackRabbit
            Junior Member
            • Apr 2009
            • 15

            #6
            Alrighty, did the following:
            Code:
            snmpwalk -On -v 1 10.90.90.10 -c "public" .1 > 3100-48.txt
            Next:
            Code:
            grep cpu 3100-48.txt
            Result:
            Code:
            .1.3.6.1.4.1.89.29.20.1.1.99.111.115.70.101.97.116.117.114.101.95.99.112.117.95.115.97.102.101.103.117.97.114.100.95.115.117.112.112.111.114.116.101.100 = STRING: "cosFeature_cpu_safeguard_supported"
            .1.3.6.1.4.1.89.29.20.1.1.108.50.95.99.112.117.95.99.111.117.110.116.101.114.115.95.115.117.112.112.111.114.116.101.100 = STRING: "l2_cpu_counters_supported"
            .1.3.6.1.4.1.89.29.20.1.1.115.105.110.103.108.101.95.99.112.117.95.112.111.114.116.95.119.105.116.104.95.109.117.108.116.95.97.115.105.99.95.117.110.105.116.95.99.112.117.95.109.97.105.108.95.119.97 = STRING: "single_cpu_port_with_mult_asic_unit_cpu_mail_wa"

            Also, it seems the switch does not support the .1.3.6.1.4.1.2021 tree. How can I find out the correct OID for CPU-load?

            Comment

            • georgew
              Member
              • Mar 2008
              • 50

              #7
              I have found that on any given device, half of the OID's don't have any data in them, and every time you upgrade firmware, some that you were using stop working, and some new ones are added.

              It is possible you don't have a working OID for cpu usage.

              But now at least you have started digging around in the box to see what all is there.

              See if DLINK has a MIB published, perhaps that document will be useful.
              Last edited by georgew; 15-05-2009, 09:55.

              Comment

              • manioo8
                Junior Member
                • Dec 2017
                • 1

                #8
                Sorry for posting in a thread that old, but it's one of the first google results on this topic, so I'm posting this for posterity.

                Try this OID, I found it on a russian site, and it was the only legible thing for me there. It works for me, and plots exactly the same graphs as the ones in the web interface

                .1.3.6.1.4.1.171.10.94.89.89.1.7.0

                It corresponds to the "CPU utilization" in the "Template Net D-Link DES_DGS Switch SNMPv2" for DGS-3100-24 and DGS-3100-48 switches

                Comment

                Working...