Hi Dave, I have just found an example.
In /net-snmp/agent/mibgroup/example/notification.c I will use this code if thats Ok? Cheers, Garyc ----- Original Message ----- From: "Dave Shield" <[EMAIL PROTECTED]> To: "Gary Clark" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 20, 2004 3:31 AM Subject: Re: trap question > > > 4) Pull a link which has an associated MIB oid type of NOTIFICATION_TYPE > > What do you mean by "pull a link" ? > > > > So if I set a value in the NOTIFICATION object > > Sorry - that doesn't make sense. > NOTIFICATION-TYPE objects don't have values, > and you can't SET them. > > You can specify a NOTIFICATION object when sending a trap > (to identify which trap you're sending), but this doesn't > happen automatically. *Something* has to trigger the trap > generation. > Either you do this yourself, or some application will > need to do so. > > > > Is there any stage I'm missing here? > > I gave the link oid the same type as NOTIFICATION_TYPE. > > Is there an example where I see this in action. > > Sorry - it's not particularly clear exactly what you are > doing. Maybe if you listed the exact command(s) you're trying? > > Dave ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ 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