Re: [cricket-users] Multiple targets

From: roofpig@the.satanic.org
Date: Fri Jul 02 1999 - 10:07:58 PDT


From: <roofpig@the.satanic.org>

On Wed, 30 Jun 1999, Jeff Allen wrote:

> From: Jeff Allen <jra@corp.webtv.net>
>
> Glenn MacGregor wrote:
>
> > Also if I try to get sysUptime I get an error message saying 2:24:55
> > (uptime) is not numeric, is there a way around this?
>
> You are trying to put a string into an RRD, which is not possible. You
> could use an EXEC script to fetch the value then do pre-processing on
> it -- in this case the pre-processing would be to turn the formatted
> time string into a number of seconds.
>

        I know the SNMP perl module (the UCD one, not the SNMP_Session
that cricket uses) allows you to tell it to return the unenumerated
value. So instead of the formated 2:24:55, you'll get the timeticks
value. Perhaps the SNMP_Session module has a similar option? I, for one,
have several things that I'd like to graph that are timetick (NetApp CPU
busy seconds, APC seconds remaining on battery, APC seconds on battery,
etc.). It seems unfortunate that I would have to write a special EXEC to
get these values via a different SNMP method just to unformat them.

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

How has ONElist changed your life?
Share your story with us at http://www.onelist.com

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



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