Ad Widget

Collapse

Problem with SNMP Build of OUDs for NetApp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ira
    Member
    • Nov 2010
    • 39

    #1

    Problem with SNMP Build of OUDs for NetApp

    Hello dear all,

    I try to check the volume usage of our NetApps with a Template.

    The problem is that I can't use static OID to check the volume usage, because every NetApp has different volumes with different OID.

    I tried to build OID but I receive an unknown error:
    "snmp_build: unknown failure Item [xxx] is not supported".
    Unfortunately the error message doesn't help to go in the right direction.

    In the Template, Item, OID I have:

    1.3.6.1.4.1.789.1.5.4.1::dfPerCentKBytesCapacity[index,1.3.6.1.4.1.789.1.5.4.1::dfFileSys,"/vol/vol1/"]

    The full OID are:
    - dfPerCentKBytesCapacity 1.3.6.1.4.1.789.1.5.4.1.2
    - dfFileSys 1.3.6.1.4.1.789.1.5.4.1.6

    Well, it says it is wrong... What is the right syntax? I already read the documentation but I can't figure it out for my case...
    Is there somebody who can show me the right direction?

    Best wishes!
    Ira

    System: Debian Squeeze, Zabbix 1.8.5
  • ira
    Member
    • Nov 2010
    • 39

    #2
    I tried to put the whole OID
    .1.3.6.1.4.1.789.1.5.4.1.2[index,.1.3.6.1.4.1.789.1.5.4.1.6,"/vol/vol1/"]

    But now I have
    Item [xxx] is not supported

    The build error vanished but I still have an error.
    Did I misunderstand the function?

    Ira
    Last edited by ira; 15-03-2012, 14:08.

    Comment

    • netmon
      Member
      • Feb 2012
      • 30

      #3
      Ira I think you cannot use those functions in SNMPv1/2/3 Items.

      First find out which SNMP OIDs you would like to monitor, you can do that with snmpwalk.

      For example:
      # snmpwalk -v2c -cpublic .1.3.6.1.4.1.789.1.5.4.1.2

      The OID Field should contain the FULL OID.

      Maybe you can post the output of the snmpwalk.

      Comment

      • ira
        Member
        • Nov 2010
        • 39

        #4
        Well, thanks, but I already wrote wich OIDs I want to Monitor, it stands in my first post.
        see... "The full OID are:
        - dfPerCentKBytesCapacity 1.3.6.1.4.1.789.1.5.4.1.2
        - dfFileSys 1.3.6.1.4.1.789.1.5.4.1.6"

        The dynamic OID build is described in Zabbix Documentation, that's why I think that it should work...

        Comment

        • MrKen
          Senior Member
          • Oct 2008
          • 652

          #5
          Try this in your Item config @ SNMP OID

          dfPerCentKBytesCapacity["index","dfFileSys","/vol/vol1/"]


          MrKen
          Disclaimer: All of the above is pure speculation.

          Comment

          • ira
            Member
            • Nov 2010
            • 39

            #6
            if I put the numeric representation of the OID or its names, it sends back:
            is not supported.
            The same with dfPerCentKBytesCapacity["index","dfFileSys","/vol/vol1/"]

            Comment

            • MrKen
              Senior Member
              • Oct 2008
              • 652

              #7
              You do have the NETWORK-APPLIANCE-MIB installed, don't you?

              You should also get a result if you run the following 2 commands (changing -v and -c to what you are using):

              snmpwalk -v2c -c public <IP Address> dfPerCentKBytesCapacity

              snmpwalk -v2c -c public <IP Address> dfFileSys


              MrKen
              Disclaimer: All of the above is pure speculation.

              Comment

              • ira
                Member
                • Nov 2010
                • 39

                #8
                Yes, I receive the data when I make snmpwalk


                snmpwalk -v 1 -c netapp xxx.xxx.xxx.xxx 1.3.6.1.4.1.789.1.5.4.1.2
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.1 = STRING: "fibre01"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.2 = STRING: "fibre01/.snapshot"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.3 = STRING: "aggr0"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.4 = STRING: "aggr0/.snapshot"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.5 = STRING: "fibre02"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.6 = STRING: "fibre02/.snapshot"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.7 = STRING: "sata02"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.8 = STRING: "sata02/.snapshot"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.9 = STRING: "sata01"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.10 = STRING: "sata01/.snapshot"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.11 = STRING: "/vol/vol0/"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.12 = STRING: "/vol/vol0/.snapshot"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.13 = STRING: "/vol/vol2/"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.14 = STRING: "/vol/vol2/.."
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.15 = STRING: "/vol/vol1/"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.16 = STRING: "/vol/vol1/.."
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.17 = STRING: "/vol/vol5/"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.18 = STRING: "/vol/vol5/.."
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.19 = STRING: "/vol/vol6/"
                SNMPv2-SMI::enterprises.789.1.5.4.1.2.20 = STRING: "/vol/vol6/.."

                snmpwalk -v 1 -c netapp xxx.xxx.xxx.xxx 1.3.6.1.4.1.789.1.5.4.1.6
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.1 = INTEGER: 87
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.2 = INTEGER: 0
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.3 = INTEGER: 95
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.4 = INTEGER: 0
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.5 = INTEGER: 84
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.6 = INTEGER: 1
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.7 = INTEGER: 91
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.8 = INTEGER: 1
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.9 = INTEGER: 90
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.10 = INTEGER: 1
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.11 = INTEGER: 4
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.12 = INTEGER: 2
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.13 = INTEGER: 51
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.14 = INTEGER: 0
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.15 = INTEGER: 80
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.16 = INTEGER: 0
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.17 = INTEGER: 51
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.18 = INTEGER: 0
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.19 = INTEGER: 58
                SNMPv2-SMI::enterprises.789.1.5.4.1.6.20 = INTEGER: 0

                I didn't installed the netapp mib. They request a password for download the mib. Is that the problem? Because I can use single OID for the NetApp without problem, the only thing that doesn't work is the dynamic build. Is the mib explicit for the dynamic build?

                Comment

                • MrKen
                  Senior Member
                  • Oct 2008
                  • 652

                  #9
                  Ok, nice output. So you probably don't need the MIB.

                  Try this one

                  dfFileSys["index","dfPerCentKBytesCapacity","/vol/vol1/"]


                  MrKen
                  Disclaimer: All of the above is pure speculation.

                  Comment

                  • ira
                    Member
                    • Nov 2010
                    • 39

                    #10
                    Well, as expected, it is not supported

                    I already tried that with the numeric representation for the OID and you suggest to do it with the short description. As far as I know it is all the same. Zabbix can use both of them and if it doesn't work with the numeric version, why should it do it with the short description?

                    Do you see some syntax error what you tried to correct or it was really only change from one representation to another? Then if yes, than it doesn't solve the problem

                    Comment

                    • MrKen
                      Senior Member
                      • Oct 2008
                      • 652

                      #11
                      We're not beaten yet!

                      It may be possible that

                      dfFileSys["index","dfPerCentKBytesCapacity","/vol/vol1/"]

                      doesn't work because snmp doesn't know what 'dfFileSys' and 'dfPerCentKBytesCapacity' mean, because you don't have a MIB with those entries.
                      So we can tell snmp what it already knows, and that comes directly from your snmpwalk above.

                      Try this:
                      SNMPv2-SMI::enterprises.789.1.5.4.1.6["index","SNMPv2-SMI::enterprises.789.1.5.4.1.2","/vol/vol1/"]


                      MrKen
                      Disclaimer: All of the above is pure speculation.

                      Comment

                      • ira
                        Member
                        • Nov 2010
                        • 39

                        #12
                        Believe it or not , now I receive the right value!
                        Thanks a lot for the answer and have a nice day!

                        Comment

                        • MrKen
                          Senior Member
                          • Oct 2008
                          • 652

                          #13
                          Originally posted by ira
                          Believe it or not , now I receive the right value!
                          Thanks a lot for the answer and have a nice day!
                          Of course I believe it!

                          MrKen
                          Disclaimer: All of the above is pure speculation.

                          Comment

                          Working...