[mrtg] Re: MRTG stops running

Jason Frisvold Jason.Frisvold at corp.ptd.net
Mon Apr 29 22:42:09 MEST 2002


	Thanks for the reply.  I did dump the RRD file and this is what
I noticed :


<!-- Round Robin Archives -->
      <cf> AVERAGE </cf>
      <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->
      <xff> 5.0000000000e-01 </xff>


<!-- Round Robin Archives -->
      <cf> RRD </cf>
      <pdp_per_row> 8 </pdp_per_row> <!-- 2400 seconds -->
      <xff> 1.4821969375e-321 </xff>

It would seem to me that something caused the cf to change from AVERAGE
to RRD...  I have no idea what would cause this.  The only program that
manipulates the .rrd in any way is mrtg.  I have another program that
does only fetches and graphs...  It's possible the other program fetched
at the exact moment it was being updated, but would that cause a
problem?  It seems almost random at this point...

RRDTool Version 1.0.33

I did an rrdtool tune against a "good" rrd and they match.  I then did
an rrdtool info and found this in the bad rrd :

rra[0].cf = "RRD"
rra[0].rows = 2
rra[0].pdp_per_row = 8
rra[0].xff = 1.4821969375e-321
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = ""
rra[1].rows = 0
rra[1].pdp_per_row = 1314213699
rra[1].xff = 2.6638537427e-317
rra[1].cdp_prep[0].value = 7.9374879136e+03
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = 2.6298850919e+03
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[2].cf = ""
rra[2].rows = 0
rra[2].pdp_per_row = 0
rra[2].xff = 0.0000000000e+00
rra[2].cdp_prep[0].value = 3.7578173314e+04
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = 1.0457803988e+04
rra[2].cdp_prep[1].unknown_datapoints = 0
rra[3].cf = ""
rra[3].rows = 0
rra[3].pdp_per_row = 0
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 9.1242485733e+04
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[3].cdp_prep[1].value = 3.2605633287e+04
rra[3].cdp_prep[1].unknown_datapoints = 0

Again, I'm not manipulating this myself...  It's MRTG that's doing all
the tune/update stuff...  (I'm still learning, so I won't modify
anything live)

Any thoughts?  I'm considering upgrading the rrdtool version, I see that
1.0.37 is out....  Perhaps I'll update before I leave for the day...  :)

Jason H. Frisvold
Senior ATM Engineer
Engineering Dept.
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: Monday, April 29, 2002 3:37 PM
To: Jason Frisvold
Cc: MRTG users
Subject: Re: [mrtg] MRTG stops running

Jason Frisvold wrote:

> ERROR: Cannot update /usr2/local/graphmon/Data/38300.14.rrd with
> '1019746493:1572495528:389840083' unknown consolidation function 'RRD'

That is *strange*.

> 38300.14.rrd is an rrd created by MRTG.  If I delete the file and
> re-run, it creates a new one and works fine.  But, it almost seems
> at random times other files exhibit the same problem.  Has anyone
> encountered this?  Is there a fix?  Am I doing something wrong?

You should examine the RRD file.  Perhaps "rrdtool info" or "rrdtool
will give you the desired info.  "rrdtool dump" would also be a good
candidate for debugging purposes.

It's probably a good idea to do this right now, save the results and
keep them until one of the files misteriously gets altered again.

Also you can then spot the changes in the headers and perhaps even use
those changes to roll them back.  This way you don't loose your data.

> I'm running MRTG 2.9.18 Pre7 (soon to be Pre8) on a Redhat 6.2 system.

Next time also report the RRDtool version, in case it makes a

 / 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

More information about the mrtg mailing list