Traps & Subagents

Mike Carr everythingsfree____hotmail.com
Tue May 21 14:34:24 CEST 2002


Frank, Jochen, anyone?  I'm just after some comments on this...


>From: "Mike Carr" <everythingsfree____hotmail.com>
>To: agentpp-dl____fock.de
>Subject: Traps & Subagents
>Date: Mon, 13 May 2002 13:08:15 +0100
>
>After looking at the various examples there appears to be a couple of ways
>to send traps:
>
>- via the NotificationOriginator classes 'generate' funciton (which is what
>all of the non-agentx examples do), and,
>
>- via the SubAgentXMib classes 'notfiy' funciton (which is what the agentx
>example does).
>
>In the subagent example it has a section of code that has been commented 
>out
>and says "do not use NotificationOriginator in a subagent".
>
>However, using AgentGen (standard edition) this generates classes based on
>NotificationOriginator for traps in the subagents MIB.
>
>Am I correct in assuming then that the classes generated here should not be
>used in subagents?
>
>If I am correct then it's a shame since there's code that checks the vbs
>that are sent out by the 'generate' function.
>
>If I'm wrong how are they used?  Or basically what is the method of sending
>traps from subagents?
>
>Thanks,
>Mike
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




More information about the AGENTPP mailing list