LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-08-2005, 07:59 PM   #1
jonathan_wu
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
Angry How to generate snmp trap using the ucLinux /user/snmpd API


Hi, ALL;

I want to write a simple C routine to generate a snmp trap in ucLinux's snmpd library using its

SmpStatusType smpTrapOp (SmpIdType smp, ApsIdType aps, AsnIdType asn); API?

Any help?

Thanks
 
Old 04-11-2005, 07:44 PM   #2
jonathan_wu
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Wink

I have found the answer now in C code that can be used to generate agent trap.
 
Old 06-22-2005, 07:39 AM   #3
andrewholt
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Rep: Reputation: 0
Hi Jonathon,

Would you be wiolling to share that code online ?

BTW does anybody know where the snmpd in /usr/snmd came from ? it looks like all the comments have been stripped.

Thanks,
Andrew
 
Old 08-27-2008, 09:15 AM   #4
manohar82
LQ Newbie
 
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
snmp in c language

hi jonathan

I am also trying to write coding in snmp using c lang for get , get request,trap can u please assist me reg this programming.

thx in advance
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to send snmp trap & recieve trap in C program minil Programming 3 07-10-2010 09:22 AM
snmp agent trap sending bluejob Programming 0 02-15-2005 03:43 AM
where are the snmp api in Fedora Core 3 ? juan_de_margo Linux - Networking 0 01-10-2005 05:07 AM
Install snmp or snmpd rob_roman23 Linux - Software 13 03-28-2003 05:42 AM
snmp-trap tied2 Linux - Security 7 07-19-2002 08:20 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration