[mrtg] Problems with user in rateup?

Julio Sardella shk at linuxbr.com.br
Thu May 17 17:54:00 MEST 2001

I am using mrtg to get statistics of one ethernet card

This is the script to get the info (i don't know if is correct):

#!/bin/awk -f
/eth2:/ { $0=substr($0,index($0,":")+1);
print $1;print $9}

This is mrtg.cfg:

WorkDir: /html
Target[eth2]: '/ethstat /proc/net/dev'
Title[eth2]:"Tráfego na interface eth2 (roteador psinet)"
PageTop[eth2]: <h1>Tráfego de dados na rede</h1>
Options[eth2]: growright,noinfo

The script is giving two numbers... that is correct?

So... if everytinh above is correct i also i have got this error while
running mrtg:
Rateup WARNING: /usr/bin/rateup Can't remove eth2.old updating log file
Rateup WARNING: /usr/bin/rateup Can't rename eth2.log to eth2.old
updating log file

I am running mrtg in the /etc/crontab with root

Thanks! forgive me by me POOR english!

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