[mrtg] Re: daemon robustness problem

Jason Frisvold Jason.Frisvold at corp.ptd.net
Mon May 6 16:01:27 MEST 2002


Well, looks like I'm being bitten by this again...  And here, I thought
1.0.37 fixed it...  *sigh*

OS      : Linux Kernel 2.2.18
MRTG    : 2.9.18Pre8
RRDTool : 1.0.37

I have several highly specialized scripts that manipulate data pulled
from the .rrd, but MRTG (currently) is the only one that
adds/changes/updates the .rrd files.  All others use either fetch or
graph.

I've attached a bad rrd file to this message...

---------------------------
Jason H. Frisvold
Senior ATM Engineer
Engineering Dept.
Penteledata
CCNA Certified - CSCO10151622
friz at corp.ptd.net
---------------------------
"Imagination is more important than knowledge. Knowledge is limited.
Imagination encircles the world." -- Albert Einstein [1879-1955]


-----Original Message-----
From: Alex van den Bogaerdt [mailto:alex at slot.hollandcasino.nl] 
Sent: Saturday, May 04, 2002 8:42 AM
To: MRTG users
Cc: Tobias Oetiker
Subject: [mrtg] Re: daemon robustness problem


Tobias Oetiker wrote:

> > If that is the issue, then I suppose the real question is
> > how did the rra[0].cf get set to RRD? Or maybe rra[n].cf
> > doesn't have anything to do with the errors - I'm not very
> > familiar with the actual RRD data structure to begin with.
> 
> it does ... but I have no idea how this could happen ... what is
> makeing RRD and "" appear in the place of AVERAGE ... these files
> can be fixed by dumping and then editing the text to AVERAGE

Let's do an inventory.  Who's having these problems and what
(version of) software are you running.

OS
MRTG
RRDtool

and, last but not least, what scripts are used for, for instance,
"spike removal".

Maybe we can spot a pattern.

I've loosly analised the output of rrdtool info on one of these faulty
.rrd files and it looks as if stat_head is overwritten with garbage.
Not only the CF was wrong, other parts were also wrong.  I can't
remember
exactly what it was however one of the numbers was replaced by four
ascii
characters.  That is just too unlikely to be coincidence.

I'd welcome a chance to look at a damaged .rrd file.  Please make one
available if you have

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. |

+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


-- Attached file removed by Listar and put at URL below --
-- Type: text/xml
-- Desc: badrrd.xml
-- Size: 273k (280519 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/badrrd.xml


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list