MRTG registers zero throughput
Justin Jereza
justinjereza at gmail.com
Sun May 4 13:45:36 UTC 2008
Hello.
I'm using net-snmp and mrtg.
snmpwalk returns the counters with values but MRTG isn't registering
anything. Does anybody have a clue why?
<mrtg.cfg>
LogDir: /usr/local/www/mrtg/log
HtmlDir: /usr/local/www/mrtg/data
ImageDir: /usr/local/www/mrtg/data/images
Options[_]: growright, bits
PageTop[^]:
<h1>Traffic Analysis for mainstreetph.dnsalias.com</h1>
Title[PPPoE]: Traffic Analysis for PPPoE @ mainstreetph.dnsalias.com
Target[PPPoE]: \tun0:mainstreetph at gateway:::::2
MaxBytes[PPPoE]: 250000
</mrtg.cfg>
<snmpd.conf>
# sec.name source community
com2sec local localhost private
com2sec network 192.168.5.0/24 mainstreetph
####
# Second, map the security names into group names:
# sec.model sec.name
group RWGroup v1 local
group RWGroup v2c local
group RWGroup usm local
group ROGroup v1 network
group ROGroup v2c network
group ROGroup usm network
####
# Third, create a view for us to let the groups have rights to:
# incl/excl subtree mask
view all included .1 80
####
# Finally, grant the 2 groups access to the 1 view with different
# write permissions:
# context sec.model sec.level match read write notif
access ROGroup "" any noauth exact all none none
access RWGroup "" any noauth exact all all none
</snmpd.conf>
Thanks.
More information about the freebsd-questions
mailing list