[rrd-users] Re: [cricket-users] RE: collector says: start time: unparsable ti me; unknown option; then core dump
Shipley, Rob
rshipley at state.mt.us
Thu Aug 16 23:22:09 MEST 2001
Ouch... Since you are attempting to run this on AIX, 99.9% sure this is
related to using RRDs on AIX.("unparsable time" error) I was never able to
get RRDs to work correctly on AIX. I doubt anyone has - have never seen a
solution posted or on the internet. Have tried compiling with gcc,cc,copying
RRDs.pm, etc.,etc.. However, rrdtool and RRDp (piped) should work OK. If you
ever find a way for cricket or RRDs to work on AIX, please let me know. I
would be ecstatic. Even the www.servers.bull.com/open
<http://www.servers.bull.com/open> AIX distribution doesn't work correctly
with RRDs.
It may be possible to install a rpm on 5L? Never messed with it.
Will post to rrd-users or rrd-developers list. There is a chance someone has
installed rrdtool including RRDs successfully on AIX - lately.
rob
-----Original Message-----
From: Lindsay Morris [mailto:lmorris at servergraph.com]
Sent: Thursday, August 16, 2001 12:07 PM
To: cricket-users at lists.sourceforge.net
Subject: [cricket-users] RE: collector says: start time: unparsable time;
unknown option; then core dump
It *IS* AIX. Thanks for your advice.
"make test" in both Time-HiReas-01.20 and TimeDate-1.10 work fine.
Invalid OID- will fix later. Right now the sticking point is, can't create
rrd file.
Tried your suggestion, wrote this script:
#!/usr/bin/perl
use RRDs;
RRDs::create ("ucd_sys.rrd", "--start 997363611", "--step 300",
"DS:ds0:GAUGE:1800:U:U"," DS:ds1:GAUGE:1800:U:U", "DS:ds2:GAUGE:1800
:U:U", "DS:ds3:GAUGE:1800:U:U", "DS:ds4:GAUGE:1800:U:U",
"DS:ds5:GAUGE:1800:U:U", "DS:ds6:GAUGE:1800:U:U", "DS:ds7:GAUGE:1800:U:U",
"DS:ds8:GAUGE:1800:U:U", "RRA:AVERAGE:0.5:1:600", "RRA:AVERAGE:0.5:6:600",
"RRA:AVERAGE:0.5:24:600", "RRA:MAX:0.5:24:600", "RRA:AVER
AGE:0.5:288:600", "RRA:MAX:0.5:288:600");
When I run it , I get:
dummy: unrecognized option `--start 997363611'
and I FEEL like a dummy, but it doesn't have to slap me in the face with it,
does it?
Any ideas?
-----Original Message-----
From: cricket-users-admin at lists.sourceforge.net
[mailto:cricket-users-admin at lists.sourceforge.net]On Behalf Of Shipley, Rob
Sent: Thursday, August 16, 2001 11:21 AM
To: 'cricket-users at lists.sourceforge.net'
Subject: RE: [cricket-users] collector says: start time: unparsable time;
unknown option; then core dump
What OS are you using? I have seen the "unparsable time" error message
before and this was running on an AIX box. I switched over to NT and
everything works great. Was tired of troubleshooting. I hope that is not the
situation or solution. Also, The message on "Received SNMP response with
error code noSuchName. OID: 1.3.6.1.2.1.25.1.6.0". Doesn't look like you are
collecting SNMP data from the device. I would do a snmpwalk for the OID, but
I think the instance OID is 1.3.6.1.2.1.25.1.6 without the 0.
Also, have you checked and made sure that all the Time and Date perl modules
are installed and working? You may try running a test script for Time::HiRes
and Date::Parse to make sure that they have the proper output. You may also
run a test perl script that creates a rrd database using rrd perl module
RRDs with the following basic idea from your data:
use RRDs;
RRDs::create ("ucd_sys.rrd", "--start 997363611", "--step 300",
"DS:ds0:GAUGE:1800:U:U"," DS:ds1:GAUGE:1800:U:U", "DS:ds2:GAUGE:1800:U:U",
"DS:ds3:GAUGE:1800:U:U", "DS:ds4:GAUGE:1800:U:U", "DS:ds5:GAUGE:1800:U:U",
"DS:ds6:GAUGE:1800:U:U", "DS:ds7:GAUGE:1800:U:U", "DS:ds8:GAUGE:1800:U:U",
"RRA:AVERAGE:0.5:1:600", "RRA:AVERAGE:0.5:6:600", "RRA:AVERAGE:0.5:24:600",
"RRA:MAX:0.5:24:600", "RRA:AVERAGE:0.5:288:600", "RRA:MAX:0.5:288:600")
If you get the same message "unparsable time", i would put a posting in the
rrdtool users list instead.
rob
-----Original Message-----
From: Lindsay Morris [mailto:lmorris at servergraph.com]
Sent: Thursday, August 16, 2001 7:58 AM
To: cricket-users at lists.sourceforge.net
Subject: [cricket-users] collector says: start time: unparsable time;
unknown option; then core dump
collector gives me this message when creating rrd file:
[16-Aug-2001 09:26:51 ] Creating datafile
/home/cricket/cricket-config/../cricket-data//unixhosts/hr_sys.rrd for
target name hr_sys.
[16-Aug-2001 09:26:51 ] RRDs::create
/home/cricket/cricket-config/../cricket-data//unixhosts/hr_sys.rrd --start
997363610 --step 300
DS:ds0:GAUGE:1800:U:U DS:ds1:GAUGE:1800:U:U RRA:AVERAGE:0.5:1:600
RRA:AVERAGE:0.5:6:600 RRA:AVERAGE:0.5:24:600 RRA:MAX:0.5:24:600
RRA:AVERAGE:0.5:288:600 RRA:MAX:0.5:288:600
[16-Aug-2001 09:26:51*] Cannot create
/home/cricket/cricket-config/../cricket-data//unixhosts/hr_sys.rrd: start
time: unparsable time:
Then I get some more errors:
[16-Aug-2001 09:26:51 ] Retrieving data for target hr_sys (0) (hr_system)
[16-Aug-2001 09:26:52 ] Getting from public at newcastle:161
<mailto:public at newcastle:161> 1.3.6.1.2.1.25.1.6.0 1.3.6.1.2.1.25.1.5.0
[16-Aug-2001 09:26:52*] Received SNMP response with error code noSuchName.
OID: 1.3.6.1.2.1.25.1.6.0
[16-Aug-2001 09:26:52 ] Got:
[16-Aug-2001 09:26:52 ] Retrieved data for hr_sys (0): U,U
[16-Aug-2001 09:26:52 ] Some data is missing for hr_sys (0).
dummy: invalid option -- ^À
[16-Aug-2001 09:26:52*] Cannot update
/home/cricket/cricket-config/../cricket-data//unixhosts/hr_sys.rrd: unknown
option ''
And another failed file create:
[16-Aug-2001 09:26:52 ] Creating datafile
/home/cricket/cricket-config/../cricket-data//unixhosts/ucd_sys.rrd for
target name ucd_sy
s.
[16-Aug-2001 09:26:52 ] RRDs::create
/home/cricket/cricket-config/../cricket-data//unixhosts/ucd_sys.rrd --start
997363611 --step 30
0 DS:ds0:GAUGE:1800:U:U DS:ds1:GAUGE:1800:U:U DS:ds2:GAUGE:1800:U:U
DS:ds3:GAUGE:1800:U:U DS:ds4:GAUGE:1800:U:U DS:ds5:GAUGE:1800:U:
U DS:ds6:GAUGE:1800:U:U DS:ds7:GAUGE:1800:U:U DS:ds8:GAUGE:1800:U:U
RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:600 RRA:AVERAGE:0.5:24:6
00 RRA:MAX:0.5:24:600 RRA:AVERAGE:0.5:288:600 RRA:MAX:0.5:288:600
dummy: unrecognized option `-- ^AL^À ^AL^À G¤À'
[16-Aug-2001 09:26:52*] Cannot create
/home/cricket/cricket-config/../cricket-data//unixhosts/ucd_sys.rrd: unknown
option ''
I'm at a loss. New to cricket, but I have carefully read and followed the
(very good!) beginners.html page.
Any advice appreciated.
---------------------------------
Mr. Lindsay Morris
Principal
Applied System Design
lmorris at servergraph.com
Office: 859-253-8000
Fax: 425-988-8478
---------------------------------
Mr. Lindsay Morris
Principal
Applied System Design
lmorris at servergraph.com
Office: 859-253-8000
Fax: 425-988-8478
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list