Cara usa snmp que vai ficar bem mais facil... vc usa cfgmaker e pronto... mrtg funcionando
Paulo - PD wrote:
Ol� amigos, estou tendo problema com o mrtg, ele n�o quer funcionar de forma alguma. Este e o meu arquivo de configura��o
WorkDir: /var/www/mrtg/ Target[eth0]: `/etc/mrtg/eth0.sh /proc/net/dev` Title[eth0]: Tr�fego da eth0 PageTop[eth0]: <h1>Tr�fego da eth0 </h1> MaxBytes[eth0]: 128000 Options[eth0]: growright,bits,noinfo
Este e o meu script
#!/bin/awk -f /eth0:/ { $0=substr($0, index($0,":")+1); print $1; print $9}
Quando eu mando executar o comando mrtg mrtg.cfg ele simplesmente pula para a linha de baixo e n�o faz mas nada.
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

