Re: question concerning pass and exec

"Nicholas Ritter" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave--

Thanks for your reply. The systems are all internal. I included the config
for your review:


##       sec.name  source          community
com2sec local     localhost       communityname

##     group.name sec.model  sec.name
group MyROGroup  v2c        local

##           incl/excl subtree                          mask
view all    included  .1                               80

##                context sec.model sec.level prefix read   write  notif
access MyROGroup ""      any       noauth    0      all    none   none


On 5/1/07, Dave Shield <[email protected]> wrote:
>
> On 01/05/07, Nicholas Ritter <[email protected]> wrote:
> > The snmpd log on the system shows that I am requesting the OIDs, but
> nothing
> > more. I do have 3 errors in the snmpd conf file:
> >
> > /etc/snmp/snmpd.conf: line 99: Error: bad prefix match parameter "0",
> >    should be: exact or prefix - installing anyway
> > /etc/snmp/snmpd.conf: line 100: Error: bad prefix match parameter "0",
> >    should be: exact or prefix - installing anyway
> > /etc/snmp/snmpd.conf: line 101: Error: bad prefix match parameter "0",
> >    should be: exact or prefix - installing anyway
>
>
> Those lines relate to the access control settings.  These control which
> portions of the OID tree can be queried.  Without seeing the rest of
> the access control configuration, it's impossible to be sure whether
> this is causing the problems you're seeing.
>   But if the agent isn't configured to allow access to the .1.3.6.1.4.100
> subtree, then none of your scripts will ever be invoked.
>
> (As an aside, that's not actually a valid OID to use, since it's
> controlled
> by the IETF.  But as long as your systems are purely internal to
> your organisation, then this may not matter).
>
>
> Dave
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.