Skip to content

SNMP counter overflows #1

Description

@waddles

Great work on developing these modules but I seem to be overflowing the 32bit counters for my zpool info:

root@rubicon:~# zpool list
NAME   SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
data    29T  3.59T  25.4T         -     3%    12%  1.00x  ONLINE  -

root@rubicon:~# snmptable -u chameleon6287188769 -c chameleon6287188769 -v 2c rubicon zfsPoolStatusTable
SNMP table: BAYOUR-COM-MIB::zfsPoolStatusTable

 zfsPoolName zfsPoolSize zfsPoolAlloc zfsPoolFree zfsPoolCap zfsPoolDedup zfsPoolHealth zfsPoolAltRoot zfsPoolUsedBySnaps zfsPoolUsed
        data           0    171798691  1717986918         12         1.00        online              -                  0   680399994
BAYOUR-COM-MIB::zfsPoolStatusTable: WARNING: More columns on agent than in MIB

Seems ok coming out of the perl script:

OID_BASE.5.1.2.1
string
data
OID_BASE.5.1.3.1
integer
31885837205504
OID_BASE.5.1.4.1
integer
3947246743715.84
OID_BASE.5.1.5.1
integer
27927595345510.4
OID_BASE.5.1.6.1
integer
12
OID_BASE.5.1.7.1
string
1.00
OID_BASE.5.1.8.1
integer
4
OID_BASE.5.1.9.1
string
-

Any suggestions?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions