[mrtg] Re: OID, MIB, SNMP -what for eth0 ??

mail services mailserv at ns1.haddow.net
Mon Feb 12 15:38:35 MET 2001




On Mon, 12 Feb 2001, Alex van den Bogaerdt wrote:

> mailserv wrote:
> 
> > My thought is that I should do an snmpwalk to find the available OID for the
> > NIC card, then use that with configmaker.  From the example below I do not
> > see an OID for eth0 and web searches for "netgear mib" does not produce an
> > OID.
> 
> Do snmpwalk on 1.3.6.1.2.1, if this doesn't return much data then
> there's something wrong with you ACL.

I do not get a response back.

> 
> I guess you need to modify your ACL ("view" in /etc/snmpd.conf)
> and everything will be OK.

I made some changes, but I am still not getting a response.  Attached is
my snmpd.conf file for all to review (please) ;)

I have gone through the snmpd.conf man pages and am still having trouble
with what to modify. 

Thanks for the help as I at least know what I need to work with. 

Craig

shortened version.
####
# First, map the community name "public" into a "security name"
#       sec.name  source          community
com2sec notConfigUser  default       public
####
# Second, map the security name into a group name:
#       groupName      securityModel securityName
group   notConfigGroup any           notConfigUser
# we also add the "initial" user (a special SNMPv3 user configured for
# every SNMPv3 agent) to the group:
#       groupName      securityModel securityName
group   notConfigGroup any           initial
####
# Third, create a view for us to let the group have rights to:
#       name           incl/excl     subtree         mask(optional)
view    systemview     included      system
####
# Finally, grant the group read-only access to the systemview view.
#       group          context sec.model sec.level prefix read   write
notif
access  notConfigGroup ""      any       noauth    0      systemview none
none
# Here is a commented out example configuration that allows less
# restrictive access.
##       sec.name  source          community
com2sec local     localhost       public
com2sec mynetwork 192.168.0.1      public
##     group.name sec.model  sec.name
#group MyRWGroup  any        local
#group MyROGroup  any        mynetwork
#
#group MyRWGroup  any        otherv3user
#...
##           incl/excl subtree                          mask
view all    included  .1                               80
## -or just the mib2 tree-
#view mib2   included  .iso.org.dod.internet.mgmt.mib-2 fc
##                context sec.model sec.level prefix read   write  notif
#access MyROGroup ""      any       noauth    0      all    none   none
#access MyRWGroup ""      any       noauth    0      all    all    all

> 
> cheers,
> -- 
>    __________________________________________________________________
>  / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
> | work                                                         private |
> | My employer is capable of speaking therefore I speak only for myself |
> +----------------------------------------------------------------------+
> | Technical questions sent directly to me will be nuked. Use the list. | 
> +----------------------------------------------------------------------+
> | http://faq.mrtg.org/                                                 |
> | http://rrdtool.eu.org  --> tutorial                                  |
> +----------------------------------------------------------------------+
> 


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list