On 28/10/2007, Torben Surmer <[EMAIL PROTECTED]> wrote:
>  I use the sendv2trap() function like shown in the notification example to
> send a snmp trap from my subagent. I now whant to send a warnstart trap

OK - then pass the OID of the warmStart notification to sendv2trap().
If you're using "trapsink" in the snmpd.conf file, that will result in sending
a warmStart trap (with ID 1).

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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