On 28 November 2011 15:20, prashant n <[email protected]> wrote:
> 1) How to add variable bindings to trap ?

Please read the snmpd.conf(5) man page.
In particular, the section describing OPTIONS to the "monitor" directive


> 2) ...
> But my application requires that DisMan Event MIB must generate a trap when
> the expression  matches desired condition unlike as given in snmpd.conf(5)
> i,e when we update new value to the object if it satisfies expression then
> it must send trap instead of  previous  monitored condition becoming false
> and matching again. How to do that ?

The closest supported mechanism would be to use the expression

    monitor -r 10 -e ScalarEvent2 myScalarTest  .1.3.6.1.4.1.38151.1.1.1 !=

which would generate a trap whenever the value of the object changes.


Dave

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to