[cricket-users] SNMP_Session.pm and unformatted timeticks

From: roofpig@the.satanic.org
Date: Mon Aug 02 1999 - 16:08:10 PDT


From: <roofpig@the.satanic.org>

On Mon, 12 Jul 1999 roofpig@the.satanic.org wrote:

        I've talked with Simon Leinen, maintainer of the SNMP_Session
package that Cricket uses. I told him about Cricket being unable to
plot OIDs of type TimeTick, because the value returned by SNMP_Session
is formatted. The latest version (SNMP_Session-0.72) now has the
ability to return the unformatted TimeTick values.

        By setting the following variable to zero (I choose to do this in
cricket/lib/snmpUtils.pm), you will get the raw TimeTicks value, rather
that the pretty_print formatted version:

$BER::pretty_print_timeticks = 0;

        Jeff, I would image that, with this new variable, you'll be able
to integrate support for this feature, since it's no longer necessary to
whack BER.pm directly.

        SNMP_Session is available at:

http://www.switch.ch/misc/leinen/snmp/perl/

--------------------------- ONElist Sponsor ----------------------------

GET WHAT YOU DESERVE! A NextCard Platinum VISA: DOUBLE Rewards points,
       NO annual fee & rates as low as 9.9 percent FIXED APR.
Apply online today! http://www.onelist.com/ad/nextcard1

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:59 PST