Ad Widget

Collapse

Combining snmp 32 bit counters into 64 bit counter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stun
    Junior Member
    • Oct 2008
    • 7

    #1

    Combining snmp 32 bit counters into 64 bit counter

    I'm monitoring a network device with snmp which presents two 32 bit counters for network IO. One 32 bit high counter, one 32 bit low counter. Monitoring the one 32 bit low counter doesn't produce sane graphs since counter is always rolling over. Is there simple method to combine these two 32 bit counters into one 64 bit counter in Zabbix?
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Do you mean that these two counters have different OIDs?
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • stun
      Junior Member
      • Oct 2008
      • 7

      #3
      Yes, two different OIDs.

      Comment

      • MrKen
        Senior Member
        • Oct 2008
        • 652

        #4
        Hi,

        Not sure if this is what you're talking about, but....

        For 32 bit I use:
        ifInOctets .1.3.6.1.2.1.2.2.1.10
        ifOutOctets .1.3.6.1.2.1.2.2.1.16


        For 64 bit I use:
        ifHCInOctets .1.3.6.1.2.1.31.1.1.1.6
        ifHCOutOctets .1.3.6.1.2.1.31.1.1.1.10

        Hope that helps.

        MrKen
        Disclaimer: All of the above is pure speculation.

        Comment

        • xs-
          Senior Member
          Zabbix Certified Specialist
          • Dec 2007
          • 393

          #5
          netapp?

          Comment

          • stun
            Junior Member
            • Oct 2008
            • 7

            #6
            Yes, this is a Netapp filer device.

            Comment

            • Alexei
              Founder, CEO
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Sep 2004
              • 5654

              #7
              I think we could implement native support of the strange logic at some point. Now we are too busy with other stuff.
              Alexei Vladishev
              Creator of Zabbix, Product manager
              New York | Tokyo | Riga
              My Twitter

              Comment

              • xs-
                Senior Member
                Zabbix Certified Specialist
                • Dec 2007
                • 393

                #8
                I've been having this problem as well.
                I doubt that its usefull to implement this right now, since netapp is already fixing this in the new ontap major version (or so they told me).

                I havent tried this myself yet, but you could look at snmp proxy tools, perhaps they have support to mangle oid's.

                Comment

                • fast.ryder
                  Member
                  • Apr 2008
                  • 46

                  #9
                  SNMP OIDs - different capacitites

                  Hello!

                  I have several SNMP-enabled switches from different brans monitored and I always have to use the 64 bit counters.

                  Its really simple: the 32 bit limit states that 4Gb is all you get... So the graphs for traffic, etc always roll over at 4Gb

                  The Zabbix SNMP template should be revised and changed with the new OIDs. Beware of this: the 64 bit counters only work in SNMP v2c devices!!

                  SNMP v1 does not allow (on my switches) the use of 64 bit counters.

                  Cheers,

                  Ivo Pereira
                  IT Consultant
                  Portugal

                  Comment

                  • stun
                    Junior Member
                    • Oct 2008
                    • 7

                    #10
                    Thanks for replies. They have been helpful. I haven't found any information on NetApp updating their snmp to v2 and fixing the mess which is high and low 32 bit counters. (I will be meeting with my NetApp folks next week and I'll do my best to publicly shame them) Since there is no known work around in Zabbix to directly address this issue I'll just have to sit down and write my own script two combine two 32 bit OID's into a single value and feed it into Zabbix. Thanks again.

                    Comment

                    Working...