On 5 July 2012 22:50, Zohar M <[email protected]> wrote:
> I want to use "snmp_alarm_unregister_all" in order to delete all of my
> alarms (which I previously registered) but I'm affraid it will cause the
> deamon to not working properly. Do you know if the implementation of
> net-snmp uses alarms?

As far as I can from a quick scan of the source code,
neither the library nor the core agent appear to use alarms.
However a number of the standard MIB modules _do_
make use of this feature - typically for refreshing data
periodically.

So if you clear all alarms, this may well affect the data
returned by other MIB modules within the agent.
  It would probably be safer to keep track of the alarms
registered by your code, and unregister them individually.

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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

Reply via email to