[mrtg] Re: MRTG log file parsing

Steve Shipway s.shipway at auckland.ac.nz
Wed Dec 14 00:04:21 MET 2005


> From: Ruttenberg, Tanya [mailto:Tanya.Ruttenberg at ssa.gov] 
> I already use rrdtool to store data.  But how is that going 
> to tell me if a target can't be evaluated because there was 
> no response vs. a bogus target name?  
...
> > > parsing the MRTG log file AND writing a report based on 
> > > the contents

Ah, my apologies.  I thought you meant parsing the .log database file that
is generated by MRTG in native mode.

To do this, we have our own script that calls MRTG and checks the output for
problems, and then notifies me if there are invalid targets.  It wouldn't be
suitable for anyone else to use, though, as it is too customised to our
site.

I believe that later versions of MRTG are a bit more helpful in exiting with
a status code if there were problems?

Steve


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



More information about the mrtg mailing list