Thanks a lot Dave for clarification.

Any suggestions on how to send trap based upon 64-bit varbinds comparison.
Thanks,
Vinay

-----Original Message-----
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf 
Of Dave Shield
Sent: Friday, April 01, 2011 2:40 PM
To: Singh, Vinay
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: SNMP trap not working correctly for 64-bit varbinds

On 1 April 2011 16:40, Singh, Vinay <vsi...@informatica.com> wrote:
> #This trap dpes not work correctly ( 64 bit varbinds) - triggers if 
> the value is 0
>
> notificationEvent HaveRMSources6 DISMAN-EVENT-MIB::mteTriggerFalling 
> -o TNW-MIB::tnwSourceLbtrmAggNaksRcved
>
> monitor -e HaveRMSources6 -r 10 RMSource6 
> TNW-MIB::tnwSourceLbtrmAggNaksRcved  0 10


As far as I can tell, the DisMan Event MIB was designed for
use with 32-bit values only.   I don't believe it's possible to
monitor 64-bit counters using this MIB.

Note that the value objects - mteTriggerBooleanValue, 
mteTriggerThresholdRising, etc  are defined using the syntax  Integer32 so it's 
not really possible to compare these against 64-bit counter objects.

Dave

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to