Re: Notification.c -Example doesn't work

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 24/07/07, Fabig Sebastian (STVC/ENG2) <[email protected]> wrote:
> The example "notification.c" doesn't work. It seems so, that a new session has to be
> created, so that send_v2trap works.Otherwise read_objid and OID_Length doesn't
> work, so that I get an error message, that no varbinding is possible.

The trap session will be created automatically from the snmpd.conf directives
'trapsink', 'trap2sink' or 'informsink'

Looking at the code, it uses hardcoded OID arrays throughout, and doesn't
use 'read_objid' at all.

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