[cricket-users] sysUptime note

From: Glenn MacGregor (gtm@oracom.com)
Date: Tue Jun 29 1999 - 11:12:25 PDT


From: Glenn MacGregor <gtm@oracom.com>

HI all,

    To append my last message about multiple values on a graph and
sysuptime. When I try to get sysUptime I get two errors following:

[29-Jun-1999 14:10:19 ] Got: 0:00:40
Argument "0:00:40" isn't numeric in eq at
/homes/gtm/cricket/./lib/snmp.pm line 91.
[29-Jun-1999 14:10:19 ] Retrieved data for 10.1.115.1 (): 0:00:40
[29-Jun-1999 14:10:19*] Cannot update
/homes/gtm/cricket-config/../cricket-data//test/10.1.115.1.rrd: expected
1 data source readings (got 3) from N...

It got uptime in hours:min:sec
If I do a snmpget on sysuptim I get the following:
system.sysUpTime.0 = Timeticks: (9810) 0:01:38

it does come back with three variables Timeticks (9810) 0:01:38
Can I tell cricket to just take one of them?

        Thanks

                Glenn

--

Glenn MacGregor

Applications Engineer Oracom, Inc. http://www.oracom.com

Tel. +1 978.557.5710 Ext. 302 Fax +1 978.557.5716

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

ONElist: where real people with real interests get connected. http://www.onelist.com Join a new list today!

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



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