Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 04-08-2005, 07:59 PM   #1
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?

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

Original Poster
Rep: Reputation: 0

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

Old 08-27-2008, 09:15 AM   #4
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


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 > Forums > Non-*NIX Forums > Programming

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

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