Traps & Subagents
Mike Carr
everythingsfree____hotmail.com
Mon May 13 14:08:15 CEST 2002
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
More information about the AGENTPP
mailing list