Ad Widget

Collapse

SNMP get from HP Switch

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RuudH
    Junior Member
    • Nov 2011
    • 11

    #1

    SNMP get from HP Switch

    Hi,

    I would like to query our HP Switch by using SNMP, but Zabbix does not give back any data.
    On the command prompt I can do a snmpwalk against the switch without any problems as well as I can read the device from with other tools.

    Anyone has an idea what I've done wrong with the item configuration ?
    (see attachment picture)
    Last edited by RuudH; 07-10-2014, 16:37.
  • shukalo83
    Junior Member
    • Apr 2011
    • 14

    #2
    Seems to me that your snmp oid is not correct.
    This would be the way to go for cisco switch

    1.3.6.1.2.1.2.2.1.10.10147

    I see that your trying to put last two digits to KEY field. This field is irrelevant.

    My advice, put the full snmp oid in place and copy that in KEY field as a sort of reminder. For me it's easier like that.

    Try that and let me know how was it.

    Comment

    • Zaniwoop
      Senior Member
      • Jan 2010
      • 232

      #3
      Use 1.3.6.1.2.1.1.1

      Drop the last "0".

      Comment

      • RuudH
        Junior Member
        • Nov 2011
        • 11

        #4
        Thanks for your responses. Tried several things based on your comments but still no luck, while I just want to query the System Description

        Attached my current setting and the output of my snmpwalk

        Is there any log in Zabbix that I can check ?
        Last edited by RuudH; 07-10-2014, 16:37.

        Comment

        • Zaniwoop
          Senior Member
          • Jan 2010
          • 232

          #5
          There is a log /tmp/zabbix_server.log

          The level of detail in there will depend on the debug level in the /etc/zabbix/zabbix_server.conf. If you use DebugLevel=4 it will tell give you a lot of information. A LOT!

          Comment

          • shukalo83
            Junior Member
            • Apr 2011
            • 14

            #6
            RuudH,

            Please put the full OID in place and show me results.

            I see in picture above that you omitted ending zero.

            Comment

            • Zaniwoop
              Senior Member
              • Jan 2010
              • 232

              #7
              I have created the item, and it works.
              Attached Files

              Comment

              • shukalo83
                Junior Member
                • Apr 2011
                • 14

                #8
                Glad it worked

                You can find the numerical value of oid in numerous ways. We use full oid in place and do not bother too much about key. Maybe this is wrong but it does the job.

                So, your full oid would be:
                .1.3.6.1.2.1.1.1.0

                Comment

                Working...