Traps & Subagents

Frank.Fock____t-online.de Frank.Fock____t-online.de
Wed May 22 00:33:16 CEST 2002


Mike,

I thought I have already answered this. Mmmh, may be not...
For AgentX++ subagents, you should use the AgentX++ subagent
switch. Then the correct notification objects will be
generated.

Best regards,
Frank

Mike Carr schrieb:
> 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