Actually there are a lot of APIs provided by the net-snmp and I cant figure out 
the difference between them
Some APIs start with the keyword netsnmp eg: netsnmp_send_traps, some start 
with the keyword snmp eg: snmp_send
And there are APIs like send_traps.

I am confused as to what to go ahead with.

"No task is so humble that it does not offer an outlet for individuality"
________________________________
From: [email protected] [mailto:[email protected]]
Sent: Monday, March 30, 2009 3:27 PM
To: Tanisha Kashyap; [email protected]
Subject: RE: sending traps

Hi,
 It depends upon you. You can send TRAP in same or write different . Please go 
throught

http://www.net-snmp.org/dev/agent/group__agent__trap.html

and use appropriate API.


Thanks and Regards,
Sazid

From: Tanisha Kashyap [mailto:[email protected]]
Sent: Monday, March 30, 2009 3:02 PM
To: [email protected]
Subject: sending traps

Hi,

I have written a small c program which parses data received extracts some 
information and stores it in some variables.
Using this information I need to be able to make SNMP traps and forward them to 
the NMS.

Should I use the SNMP trap from within this program or write another c program 
which would create SNMP traps and send them to the NMS

Tanisha

"No task is so humble that it does not offer an outlet for individuality"


________________________________
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in 
error,please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

________________________________
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in 
error,please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."
------------------------------------------------------------------------------
_______________________________________________
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