Announcement

Collapse
No announcement yet.

Counter length too long

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Counter length too long

    Hi

    I get this error trying to get the traffic of several servers with check_centreon_snmp_traffic (Centreon Version 1.4) :

    ERROR: IN Bits : Counter length too long (5 bytes)

    snmpwalking .1.3.6.1.2.1.2.2.1.10 gives me :

    ifInOctets.1 = Counter32: 21233079
    ifInOctets.2 = Counter32: 21233079
    ifInOctets.3 = Counter32: 0
    ifInOctets.4 = Counter32: 0

    These servers are DELL 64bits with Linux Fedora Core 4

    It works fine on other servers

    Any idea's welcome,

    Pierre

  • #2
    snmp counter in 64bits instead of 32 bits.
    Plugin not support 64bit i think ...
    Intel(R) Xeon(TM) CPU 3.4GHz - MemTotal : 1034476 kB
    Centreon 2.4.1 - Nagios 3.2.1 - Nagios Plugins 1.4.15 - Manubulon Plugins tuné
    Fedora Core 5 - 2.6.20-1.2320

    Comment


    • #3
      Yea, the 64-bit part is probably what's causing it. If you are capable and want to add 64-bit functionality to the script, you should just need to add an SNMP v2 or v3 check for ifHCInOctets.

      From cisco:
      Be aware that ifInOctets = .1.3.6.1.2.1.2.2.1.10 is a 32-bit counter while the 64-bit version is ifHCInOctets = .1.3.6.1.2.1.31.1.1.1.6.
      Last edited by SeanFromIT; 12 November 2007, 20:20.

      Comment


      • #4
        Ok thanks for your time and reply !

        I will try to add this functionnality when I'll get some free time

        Pierre

        Comment


        • #5
          Coming back to my problem...

          I tried the script on a Dell 64bit with Fedora Core 6 without problem so I think Bits 's not the cause...

          It probably comes from the snmp version (5.2.1 on FC4 vs 5.3.1 on FC6)

          I will try to compile from source on FC4 and let you know

          Pierre

          Comment

          Working...
          X