Re: SNMP Counter

Gorm Haug Eriksen (g.h.eriksen@usit.uio.no)
Fri, 01 Sep 1995 12:36:08 +0200

Tsuruoka@postman.riken.go.jp klorte ned:,
Nobuhiko <tsuruoka@postman.riken.go.jp> klorte ned:
-> =

-> Hello. I am new of this mailing-list.
-> =

-> My program is polling Counter type data by snmp-get with scotty, but I=
don't
-> know how to take difference of two counter values because of scotty's =
interg
er =

-> may be 32bits.
-> In generaly, how do you program to evaluate SNMP Counter?

My advice would be to either subtract a value from both counters as
fast as you get it. This might not be possibile if the values are very
big.

Another soloution would be to use the double function in Tcl. Scotty must=
pad
the values with some 0's, but in most cases this will not affect things t=
hat =

much.

- Gorm