Re: How to send notifications from applications

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 26/09/06, Jose Jurado <[email protected]> wrote:
> I have to program a C library to let several applications notify their error codes and
> warnings to a central SNM.
>
> I want some features to be performed:
>
> - The library must be multi-platform. (just Linux and Windows)
>
> - The notifications must be done in asynchronous mode. (to the applications side)
>
> - The configuration of the agent (snmpd.conf) must be used. (this point exclude the command-line snmptrap)


Extend the applications to be AgentX subagents, using the information in
    http://www.net-snmp.org/tutorial/tutorial-5/toolkit/demon
as a template.  In particular, take a look at the example-demon.c
file, mentioned in the second half.  You won't need to implement the
MIB module (unless you want to manage the applications directly), but
the same basic framework should support sending traps as well.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.