[CentOS] MRTG Problem - no traffic recorded

Mogens Kjaer mk at crc.dk
Sat Aug 9 11:01:24 UTC 2008


Morten Nilsen wrote:
...
> Target[vlan10]: `ifconfig vlan10 |
>    /usr/bin/awk '/bytes/{ gsub(/:/, " "); print $3 "\n" $8}'`

Try adding the full path to ifconfig

Mogens


-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk



More information about the CentOS mailing list