Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 2008 21:18:52 +0800
From:      "Justin Jereza" <justinjereza@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   MRTG registers zero throughput
Message-ID:  <53f591170805040618r2fc279edhcf9e9eef8267d0a4@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53f591170805040618r2fc279edhcf9e9eef8267d0a4>