Ad Widget

Collapse

SNMP Item not working for Cisco ME-3400-24TS-A

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nehemoth
    Junior Member
    • Apr 2020
    • 8

    #1

    SNMP Item not working for Cisco ME-3400-24TS-A

    Trying to monitor a switch using SNMP.

    Followed up the documentation about how to create an item for a SNMP agent which can be found here.

    After several tries, I am still not been able to see/gather the status for the desired information.



    Did a snmp walk
    Code:
    snmpwalk -v 2c -c HEADEND MY_Switch_IP_Address
    It gave me a lot of info from where I took what interest me

    Code:
    SNMPv2-SMI::mib-2.47.1.2.1.1.8.11 = STRING: "vlan-825"
    SNMPv2-SMI::mib-2.47.1.2.1.1.4.11 = STRING: "HEADEND@825"
    SNMPv2-SMI::mib-2.47.1.2.1.1.2.11 = STRING: "vlan825"
    SNMPv2-SMI::mib-2.47.1.1.1.1.7.1008 = STRING: "FastEthernet0/2"
    SNMPv2-SMI::mib-2.47.1.1.1.1.2.1007 = STRING: "FastEthernet0/1"
    SNMPv2-SMI::mib-2.47.1.1.1.1.2.1002 = STRING: "ME-3400-24TS-A - Fixed Module 0"
    SNMPv2-SMI::mib-2.47.1.1.1.1.2.1003 = STRING: "ME-3400-24TS-A - Power Supply 0"
    SNMPv2-SMI::mib-2.47.1.1.1.1.2.1004 = STRING: "ME-3400-24TS-A - Fan 0"
    from where I took one
    Code:
    snmpget -v 2c -c HEADEND -On 172.24.31.199 SNMPv2-SMI::mib-2.47.1.1.1.1.2.1004
    which gave me
    Code:
    .1.3.6.1.2.1.47.1.1.1.1.2.1004 = STRING: "ME-3400-24TS-A - Fan 0"
    With that information I went to the host items, create a new one as follows:

    Name: SNMP:NAME
    Type: SNMPv2 Agent
    Key: SNMPv2-SMI
    SNMP OID: .1.3.6.1.2.1.47.1.1.1.1.2.1004
    SNMP Community: My_COMMUNITY
    Type of Information: Numeric (unsigned) [also I tried with numeric {float}]
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2

    Is there anything wrong with that?
    .1.3.6.1.2.1.47.1.1.1.1.2.1004 = STRING:
    and
    Type of Information: Numeric
    ?

    Comment

    • Nehemoth
      Junior Member
      • Apr 2020
      • 8

      #3
      Originally posted by Hamardaban
      Is there anything wrong with that? and ?
      Nice way to makes me see the error but I tried character (and even log and text) but I got the same result.
      Having said that, maybe I need to look out for the same item but with another type of data.

      Thank you for the answer.

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        And actually what error do you get (the red icon in the info field of the problem data element)?
        What is written in the server logs?

        Comment

        • Nehemoth
          Junior Member
          • Apr 2020
          • 8

          #5
          Originally posted by Hamardaban
          And actually what error do you get (the red icon in the info field of the problem data element)?
          What is written in the server logs?
          I believe you put me in the right path.
          After the previous post I change the item to be monitored, now I'm getting some information.

          my command
          Code:
          snmpget -v 2c -c HEADEND -On My.IP IF-MIB::ifInOctets.10004
          what I'm getting from the cli
          Code:
          .1.3.6.1.2.1.2.2.1.10.10004 = Counter32: 410041180
          How I created the item
          Code:
           Type: SNMPv2
          Key: SNMP-InOctets
          SNMP OID: .1.3.6.1.2.1.2.2.1.10.10004
          SNMP Community: My_COMMUNITY
          Type of Information: Numeric (unsigned)
          and finally what I'm getting (graphically) : 410041180

          So
          as right now I believe my issue it's understanding what I'm monitoring.
          After all a hardware can have only 2 values, working or not / there or not.

          The documentation it's great so I believe I will continuing digging and see how can I find the desired information, if this case to know if a port it's working or not.

          @Hamardaban really appreciate the help

          Comment

          Working...