[rrd-users] Re: switching from Rateup to RRDTool

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Sun Feb 17 13:47:24 MET 2002


M.Salah wrote:

> we  try to switching from Rateup to RRDTool  on AIX machine installed on it mrtg ver. 2.9.17 , RRDTool ver. 1.0.33 and perl ver 5.6.1, but it gives me the following error when i run the mrtg:
> 
> ERROR: Cannot tune logfile: invalid arguments for maximum ds value.

Strange...

What you could do to identify the problem is to write a wrapper script
around rrdtool.  This way you can log the parameters it receives from
mrtg.

Something in the line of
(where "/path/to" is the location of rrdtool
and "^D" is press control and D simultaniously)
   cd /path/to
   mv rrdtool real.rrdtool
   cat > rrdtool
   #!/bin/sh
   echo "$@" >> rrdtool_parameters
   /path/to/real.rrdtool
   ^D
   chmod 755 rrdtool

After logging the command lines it may already be obvious what's going
wrong.  If not, repost.

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:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list