Register Notification OIDs Within Subagent

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

I'm trying to create a subagent that will be able to send traps when
something specific occurs. I noticed notification.c example does this,
however, this example code gets compiled into the master agent. I would
like my "trap sender" to be a seperate daemon running in the background
unlike notification.c. 

Therefore, my question is, is there any example code that shows how to
register a notification (SNMPv2) OID with the master agent. I also
noticed the example scalar_int.c example, however, the oid in that
example is not a notification oid. 

Thanks you for your response,
Randy

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