Re: [CentOS] MRTG Problem - no traffic recorded

2008-08-09 Thread Morten Nilsen
Mogens Kjaer wrote: Morten Nilsen wrote: ... Target[vlan10]: `ifconfig vlan10 | /usr/bin/awk '/bytes/{ gsub(/:/, " "); print $3 "\n" $8}'` Try adding the full path to ifconfig I did in fact do that last night, and left it running, and now the graph is fine.. Thanks for the reply, none

Re: [CentOS] MRTG Problem - no traffic recorded

2008-08-09 Thread Mogens Kjaer
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

[CentOS] MRTG Problem - no traffic recorded

2008-08-07 Thread Morten Nilsen
Hi all, I've just recently replaced my old firewall with a new one, running CentOS 5.. Yesterday, I decided to get MRTG up and running again, so I entered sections like this into the mrtg.conf file: Title[vlan10]: Bandwidth usage on tenchi.4th-age.com (Internet) PageTop[vlan10]: Traffic sta