Fwd: Getting up to speed on traps

2004-07-30 Thread cnelson
(Sorry.  Let's try this again.  Somehow I hit Send too early.)

I'm trying to figure out traps.  I get the general principles and I've read 
http://www.net-snmp.org/tutorial-5/commands/snmptrap.html which didn't seem to be much 
of a tutorial 'cuz I don't feel like I learned much.

Let's say I've got an customized (sub)agent that I build code for with mib2c.  I want 
to send out notifications when a certain value changes (say, a port was disconnected). 
 Can somone point me to an example in the distribution or elsewhere that I can learn 
from?

TIA.

 Chris
---BeginMessage---
http://www.net-snmp.org/tutorial-5/commands/snmptrap.html

---End Message---


Re: Fwd: Getting up to speed on traps

2004-07-30 Thread Wes Hardaker
 On Fri, 30 Jul 2004 08:44:06 -0400, [EMAIL PROTECTED] said:

cnelson Let's say I've got an customized (sub)agent that I build code
cnelson for with mib2c.  I want to send out notifications when a
cnelson certain value changes (say, a port was disconnected).  Can
cnelson somone point me to an example in the distribution or
cnelson elsewhere that I can learn from?

agent/mibgroup/examples/notification.c

Is probably an example file you want to read.

-- 
Wes Hardaker
Sparta


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
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