[rrd-users] Re: Mrtg/rrdtool fetch problem : "did you really mean month XXXXXX?"

Ruttenberg, Tanya Tanya.Ruttenberg at ssa.gov
Mon Sep 26 17:06:57 MEST 2005


OK, here's a clue. But why is this happening?  I did a little edit of
/usr/local/bin/mrtg to get some more debugging info out of it:


s00c120# mrtg --debug=log SSA-RICHM-VA-WDD204_single_mrtg.conf 
--log: Called:
RRDs::tune(/data/mrtg/R/ssa-richm-va-wdd204_processor_1_mem.rrd -a
ds0:56380144 -a ds1:56380144 -d ds0:GAUGE -d ds1:GAUGE)
--log: Calling:
RRDs::update(/data/mrtg/R/ssa-richm-va-wdd204_processor_1_mem.rrd,
'1127747083:4305764:52074392')
--log: Called: RRDs::last()
--log: lasttime is 4843636839653590664       <<<<=====What the heck is this
number???
--log: Called:
RRDs::fetch(/data/mrtg/R/ssa-richm-va-wdd204_processor_1_mem.rrd,'AVERAGE','
-s',4843636839653590664,'-e',4843636839653590664)
ERROR: Cannot 'fetch' /data/mrtg/R/ssa-richm-va-wdd204_processor_1_mem.rrd:
start time: did you really mean month 9193096?

Where did that HUGE number come from for rrdtool last?
Here it is from the command line:

s00c120# rrdtool last /data/mrtg/R/ssa-richm-va-wdd204_processor_1_mem.rrd
1127747083

Looks pretty normal to me.....
 

-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch] On Behalf Of Ruttenberg, Tanya
Sent: Monday, September 26, 2005 10:52 AM
To: 'rrd-users at list.ee.ethz.ch'
Subject: [rrd-users] Mrtg/rrdtool fetch problem : "did you really mean month
XXXXXX?"

Two machines set up identically--at least they are supposed to be set up
identically.  Given the behavior described below I have my doubts.

When I run "mrtg ssa-richm-va-wdd204_mrtg.conf" on machine A I get no output
indicating the command succeeded.  When I run it on machine B I get this
error:

ERROR: Cannot 'fetch' /data/mrtg/R/ssa-richm-va-wdd204_processor_1_mem.rrd:
start time: did you really mean month 9488720?

My environment:

Solaris 8
Mrtg 2.10.15
Rrdtool 1.0.49
Perl 5.8.7 on B 5.8.5 on A


I trussed them both. Output may or may not be relevant.

Machine B (the broken one) gives this

open("/data/mrtg/R/ssa-richm-va-wdd204_processor_1_mem.rrd", O_RDONLY) = 5
fstat64(5, 0xFFBEF6D8)                          = 0
ioctl(5, TCGETA, 0xFFBEF664)                    Err#25 ENOTTY
read(5, " R R D\0 0 0 0 1\0\0\0\0".., 8192)     = 8192
llseek(5, 0xFFFFFFFFFFFFEAEC, SEEK_CUR)         = 2796
close(5)                                        = 0
time()                                          = 1127743466
time()                                          = 1127743466
time()                                          = 1127743466
ERROR: Cannot 'fetch' /data/mrtg/R/ssa-richm-va-wdd204_processor_1_mem.rrd:
start time: did you really mean month 9491288?

Machine A (at what I think is the same spot in processing):

open("/data/mrtg/R/ssa-richm-va-wdd204_processor_1_mem.rrd", O_RDONLY) = 6
fstat64(6, 0xFFBEF740)                          = 0
ioctl(6, TCGETA, 0xFFBEF6CC)                    Err#25 ENOTTY
read(6, " R R D\0 0 0 0 1\0\0\0\0".., 8192)     = 8192
llseek(6, 0xFFFFFFFFFFFFEAEC, SEEK_CUR)         = 2796
close(6)                                        = 0
time()                                          = 1127743469
time()                                          = 1127743470
time()                                          = 1127743470
time()                                          = 1127743470

Anyone have any idea what is happening here?

Here is the .conf file:

# SSA-RICHM-VA-WDD204 Configuration Info
EnableIPv6: no
LogFormat:rrdtool
PathAdd: /usr/local/bin
LibAdd: /usr/local/rrdtool-1.0.49/lib/perl
WorkDir: /data/mrtg 
 
### Memory Metrics >> Processor >> Device: SSA-RICHM-VA-WDD204 ### 
 
Target[SSA-RICHM-VA-WDD204_Processor_1_mem]:
1.3.6.1.4.1.9.9.48.1.1.1.5.1&1.3.6.1.4.1.9.9.48.1.
1.1.6.1:<communitystring>@SSA-RICHM-VA-WDD204
Directory[SSA-RICHM-VA-WDD204_Processor_1_mem]: R
MaxBytes[SSA-RICHM-VA-WDD204_Processor_1_mem]: 56380144
Options[SSA-RICHM-VA-WDD204_Processor_1_mem]:
gauge,dorelpercent,growright,unknaszero
Title[SSA-RICHM-VA-WDD204_Processor_1_mem]: Memory Utilization == Processor
PageTop[SSA-RICHM-VA-WDD204_Processor_1_mem]: <H1>Memory Free/Used for
SSA-RICHM-VA-WDD204</H1>  <TABLE>
   <TR><TD>Device:</TD> <TD>SSA-RICHM-VA-WDD204</TD></TR>
   <TR><TD>Memory Type:</TD> <TD>Processor</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>PHCISCOSW</TD></TR>
   <TR><TD>Total Memory:</TD><TD>56380144</TD></TR>
 </TABLE> 


Tanya Ruttenberg - RSIS Contractor
OTSO/DNE/NMPEB
tanya.ruttenberg at ssa.gov
410-965-9605


--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list