Hi!
Thanks Thomas and Daniel. I'm already on the mailinglist.
I also already am using net-snmp and am linking to it in my software.
But i just need example source code for a snmpd trap receiver so i can
modify it for my own needs. So the link Thomas provided should keep me busy for now :-)

Thanks for the explanations.
Rgds,
On Jan 9, 2007, at 11:04 PM, Daniel Lacey wrote:

Alef,

snmpd is the agent. Yes this is what you query. This is what makes a system respond to snmp gets/sets.

snmptrapd is the trap receiver.

So you are on the right path.
Just download Net-SNMP from:
http://www.net-snmp.org/download.html
Alef,

Net-snmp includes both snmpd and snmptrapd. You can download the source or binaries. Download the source and build the whole thing, then just use snmptrapd.
Use the 5.4 version since it is the latest revision.

For questions on how to configure and use net-snmp, as opposed to code issues, join the mailing list:
[email protected]
You will want to join this list before downloading! (Because you will have more questions! ;-)

Enjoy!

Alef Veld wrote:
Hi
i need a snmpd daemon functionality in my code, in the sense that
it can receive traps/informs.
Can i use : http://www.net-snmp.org/tutorial/tutorial-5/toolkit/
demon/example-demon.c
as an example ?

Because there seem to be some difference in definitions regarding
snmpd or snmptrapd and such. I thought they both did the same?

Or should i be thinking that snmpd is the systems engine which
every system needs to run if you want to be able to query it and
snmptrapd is the actual trap receiver (what i need).

In that case, does anyone have any good example code for a
snmpdtrapd ?

Many thanks,
Alef

-------------------------------------------------------------------- -----
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders




-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to