[mrtg] RRDRowCount

Stefan M. Brandl smb at r-kom.de
Wed Jan 20 10:58:21 CET 2010


On Wed, Jan 20, 2010 at 10:54:50AM +0100, Tobias Oetiker wrote:
> Today Stefan M. Brandl wrote:
> 
> > On Wed, Jan 20, 2010 at 10:42:56AM +0100, Tobias Oetiker wrote:
> > > Today Stefan M. Brandl wrote:
> > >
> > > > Hi there,
> > > > when I use  "LogFormat: rrdtool" in mrtg (2.16.2)
> > > > and set
> > > >
> > > >   RRDRowCount30m[_]: 800
> > > >
> > > >
> > > > I get the error
> > > > ERROR: CFG Error Unknown Option "rrdrowcount30m" on line 17 or above.
> > > >
> > > > The same with RRDRowCount2h and RRDRowCount1d.
> > > >
> > > > RRDRowCount (the 5min Avg.) produces no error.
> > > >
> > > > Is this a bug or am I doing something wrong.
> > >
> > > Hi Stefan,
> > >
> > > maybe you are using an old version of mrtg ...
> > >
> >
> > As written above, I use 2.16.2.
> 
> and you are sure that you are also using the apropriate MRTG_lib.pm?
> 
>  grep for rrdrowcount
> 


root at lowrider:~# find / -name MRTG_lib.pm
/opt/mrtg-2.16.2/lib/mrtg2/MRTG_lib.pm
root at lowrider:~# 


root at lowrider:~# grep -i rrdrowcount /opt/mrtg-2.16.2/lib/mrtg2/MRTG_lib.pm
       'rrdrowcount[]' => 
root at lowrider:~# 


It finds rrdrowcount, but not RRDRowCount30m / RRDRowCount2h / RRDRowCount1d.


Stefan



More information about the mrtg mailing list