Re: Scotty Counter/Counter32 returned values

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Fri, 19 Jan 1996 21:46:20 +0100

Hi!

Douglas Rabe <darabe@ans.net> said:

Douglas> I am running scotty-2.0.2 on AIX 3.2. For some reason
Douglas> Counter and Counter32 defined values get returned in
Douglas> what looks like u_char values.

This would be a serious bug.

Douglas> $ scotty
Douglas> % mib load mymib.mib
Douglas> % set s [snmp session -address host -community read-only]
Douglas> % $s get (someCounterVariable.index)
Douglas> {(someCounterVariable.index) Counter 254}
Douglas> % mib syntax (someCounterVariable)
Douglas> Counter

This example does not convince me that scotty is broken. Can you
please send an example with "watch mode" turned on (type `snmp watch
on' before you do the get operation). This will dump the BER encoded
packet and what scotty reads out of it. I will take a look at the
output and see if there is something wrong. (You can send the output
via private mail if you want to keep your private packets private.)

Juergen