get_notify_id() method with a notify, not a trap

Jochen Katz katz____agentpp.com
Tue Nov 27 23:35:12 CET 2001


Hi,

> [lukasz at aveta lukasz]$ snmpInform localhost -p162

ok,

> This is what I received from receive_trap:
> [output of an older snmp++ version ;-)]
> 
> As you can see, the ID field is blank.  The inform oid is sent as part of
> the inform, but the get_notify_id() call does not seem to return the oid.
> You have to scan all vbs in the pdu to retrieve this information.
> 
> Is this the correct behavior?

No. You are using an old version of snmp++. Please update to the current
version and your problem will be solved.

Kind regards,
  Jochen



More information about the AGENTPP mailing list