Thomas wrote:
I am running out of ideas. This is what I have, baybe you can find something. Thanks
Target[mrtg.router.enet0]: 1:public at 192.168.1.1: I've change this end of line from «/192.168.0.1:public at master:» to «1:public at master:»... Nothing better, still no graph in trends page.
PageTop[mrtg.router.enet0]: <H1>Traffic Analysis for 1 -- </H1> <TABLE> <TR><TD>System:</TD> <TD> in </TD></TR> <TR><TD>Maintainer:</TD> <TD></TD></TR> <TR><TD>Description:</TD><TD>enet0 </TD></TR> <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR> <TR><TD>ifName:</TD> <TD></TD></TR> <TR><TD>Max Speed:</TD> <TD>12.5 MBytes/s</TD></TR> <TR><TD>Ip:</TD> <TD>0.0.0.0 ()</TD></TR> </TABLE> I ain't got this, according to Henrik doc I didn't use this.
in hobbitlaunch.cfg
[mrtg] CMD /usr/bin/mrtg --lock-file $BBSERVERLOGS/mrtg.lock /etc/mrtg/mrtg.cfg LOGFILE $BBSERVERLOGS/mrtg.log INTERVAL 5m using standard hobbitgraphs.cfg Same as mine...
[mrtg] FNPATTERN mrtg.*\.([a-z0-9]+).rrd TITLE Network Traffic (MRTG) YAXIS Bits/second DEF:inbytes at RRDIDX@=@RRDFN@:ds0:AVERAGE CDEF:in at RRDIDX@=inbytes at RRDIDX@,8,* DEF:outbytes at RRDIDX@=@RRDFN@:ds1:AVERAGE CDEF:out at RRDIDX@=outbytes at RRDIDX@,8,* LINE2:in at RRDIDX@#@COLOR@:@RRDPARAM@ inbound GPRINT:in at RRDIDX@:LAST: \: %10.1lf (cur) GPRINT:in at RRDIDX@:MAX: \: %10.1lf (max) GPRINT:in at RRDIDX@:MIN: \: %10.1lf (min) GPRINT:in at RRDIDX@:AVERAGE: \: %10.1lf (avg)\n LINE2:out at RRDIDX@#@COLOR@:@RRDPARAM@ outbound GPRINT:out at RRDIDX@:LAST: \: %10.1lf (cur) GPRINT:out at RRDIDX@:MAX: \: %10.1lf (max) GPRINT:out at RRDIDX@:MIN: \: %10.1lf (min) GPRINT:out at RRDIDX@:AVERAGE: \: %10.1lf (avg)\n Got the same...
and then my router in bb-hosts
192.168.1.1 router # DEVMON
I dont know if this helps you on the right track. What is in your mrtg log file ?
Everything looks okay but no graph generated from hobbitgraph.sh cgi script... I'll put logs into my hobbit virtual host and try to see what's the problem.
Thanks for help
-- Christophe Truffier Pack-Solutions