[mrtg] Re: mrtg with mysql backend

Takumi Yamane yamtak at b-session.com
Wed Nov 3 01:46:59 MET 2004

On Tue, 2 Nov 2004 18:53:26 -0500 (EST), "Dan Mahoney, System Admin" 
in <20041102185145.W31439 at prime.gushi.org>:
> I'm looking to stick some values from mrtg into a mysql backend, for
>  later processing with other scripts
> a) what values would I use and
> b) at about what line in the code 

Use $inlast & $outlast near line 714 (as of mrtg-2.10.14),
just after these 2 lines:
    $inlast = -1 unless defined $inlast;
    $outlast = -1 unless defined $outlast;

Takumi Yamane <yamtak at b-session.com>

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