Re: about snmp_alarm_register

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Mon, Sep 13, 2010 at 3:10 AM, Leo Lin <[email protected]> wrote:

> Hi,
>
> I use the snmp_alarm_register() along with the notification.c example to
> generate a trap every 30 sec.
>
> I also created a function that generates the same trap everytime an OID
> value is changed by snmpset.
>
> When testing it, the traps are seen by my manager (snmptrapd), however, it
> seems that snmp_alarm_register() only invoke the callback function once.
>
> I used SA_REPEAT on flags argument, but somehow, it is doing as the flag
> argument = 0.
>
> Does anyone experience these?  I'm using the net-snmp-5.6.rc1.
>
>
>
This is a known bug in 5.6rc1, and should be fixed in 5.6rc2.

Bart.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
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.