agent++3.3 SnmpRequest::trap
Guy.HINDELL____opentrade.co.uk
Guy.HINDELL____opentrade.co.uk
Thu Apr 6 17:25:24 CEST 2000
Hi there
Well, I'm pleased to say my ports have gone well and I now have solaris and
linux ports of my agents. The only problem I have is the generation of traps
using the SnmpRequest::trap method.
In v2.13 this takes a UdpAddress as its first argument, then the varbinds
etc. This I was able to call by passing a char * which would be used by the
UdpAddress constructor - something like this...
SnmpRequest::trap("targethost:162", var_binds, no_of_varbinds, ...)
This doesn't work with v3.3e, where the first argument to SnmpRequest::trap
is an SnmpTarget object, itself constructed from an IpAddress object etc.
How are traps sent in v3.3e?
thanks for you help
guy
Guy Hindell
OpenTrade Technologies Ltd.
guy.hindell at opentrade.co.uk
* ------------------------------------------------------------------------ *
Privileged/Confidential Information may be contained in this
message. If you are not the addressee indicated in this
message (or responsible for delivery of the message to such
person), you may not copy or deliver this message to anyone.
In such case, you should destroy this message and kindly
notify the sender by reply e-mail. Please advise immediately
if you or your employer does not consent to Internet e-mail
for messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the
official business of my Company shall be understood as
neither given or endorsed by it.
* ------------------------------------------------------------------------ *
More information about the AGENTPP
mailing list