Hi Dave,

Please see answer to your questions below, inlined as [MM].

Thanks,
Mayank

-----Original Message-----
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On
Behalf Of Dave Shield
Sent: Wednesday, February 17, 2010 4:29 PM
To: srikapilan.gan...@wipro.com
Cc: net-snmp-coders@lists.sourceforge.net; mayank.mitt...@wipro.com
Subject: Re: TRAPS sent for excluded MIBS

On 17 February 2010 10:53,  <srikapilan.gan...@wipro.com> wrote:
> I have excluded a particular MIB using VIEWS, hence when I do an snmpwalk
> those MIBS are not shown.

How exactly have you configured the access control for the agent?
[MM]Below is the snapshot of snmpd.conf file.
view all included 1
view none excluded 1
access network-admin "" any noauth exact all all all
access network-operator "" any noauth exact excIfTable none excLinkUp
engineID 800000090300211bffeda1
com2sec community1 default community1
group network-operator v1 community1
group network-operator v2c community1
group network-operator usm user1
rouser user1
createUser user1
view excLinkUp excluded 1.3.6.1.6.3.1.1.5.4
trapsess -v 3  -l noAuthNoPriv -u user1 10.194.58.53:199
view excIfTable excluded 1.3.6.1.2.1.2.2

> But, when some parameters of that MIB is changed, TRAPS are sent
indicating
> the changed values of that MIB.

How have you configured the agent to monitor this MIB?
(You must have done something - the agent wouldn't generate traps
when values change, unless there's something explicitly set up to do this)
[MM]Yes, it is our code that monitors the value changes and calls "
send_enterprise_trap_vars" to send out the respective trap.
The question is - Where does net-snmp check the notify view before sending a
trap to verify whether or not a particular trap is included or excluded, as
it does for read view before in case of snmpwalk? 


> My understanding is that as those MIBS are excluded,
> traps should not be sent.
> Kindly clarify.

Given the vagueness of the description you have provided,
it's impossible to say why this is happening, and whether this
is the expected behaviour or not.
[MM]Hope this helps. Please let know if more info is required

Dave

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately and destroy all copies of this
message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email. 

www.wipro.com


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to