How to send notifications from applications

"Jose Jurado" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
 

Hello community. I’m Jose Jurado, from Spain.

 

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)

 

I think this could be done by extending the agent with a module listening in
a socket. When a connection is received, this module will send a
notification using send_v2trap.

By doing so, the library would be a client of the agent.

 

But it seems a hard way to do a simple task.

Can anyone tell me an easier way to do that??

 

Thanks, and excuse my English.

 


Jose Jurado Ledesma

          [email protected]


Tedial S.L. 
Tecnologías Digitales Audiovisuales

 


Parque Tecnológico de Andalucía
C/ Severo Ochoa, nº 10, 1ª planta
29590 Campanillas (Málaga)
España

Tfn: +34 951 012 600 *
Fax: +34 951 012 610 * 
 <mailto:[email protected]> [email protected]


Advertencia/Warning:La información transmitida en este mensaje está dirigida
solamente a las personas o entidades que figuran en el encabezamiento y
puede contener información confidencial, por lo que si usted lo recibiera
por error, por favor destrúyalo sin copiarlo, usarlo ni distribuirlo,
comunicándolo inmediatamente al emisor del mensaje. 

The information transmitted in this message is only addressed to the persons
or institutions that appear in the heading and may contain confidential
information. If you receive it by error, please, destroy it without copying,
using nor distributing it, and communicate it immediately to the message
sender.

-------------------------------------------------------------------------
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
image001.jpg (image/jpeg, 2.5 KB) - not displayed
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.