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:[EMAIL PROTECTED]:::::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.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to