Weird SNMP Trap
Kevin J. Schmidt
kschmidt____mindspring.com
Wed Mar 5 22:17:25 CET 2003
I have a device that does not seem to be sending an enterprise id in its
V2 trap. For example, the following code prints nothing:
//in the callback
Oid enterprise, id;
..
pdu.get_notify_id(id); // Get the specific Trap ID
pdu.get_notify_enterprise(enterprise); // Get the Enterprise
cout << enterprise.get_printable() << endl;
cout << id.get_printable() << endl;
..
I assume this is a foo-bar on the vendor's part, right? Are there any
other methods I should be calling on the pdu object to get this
information?
I'm using SNMP++ version 3.2.2 on Linux.
Thanks,
--
Kevin J. Schmidt <kschmidt at mindspring.com>
More information about the AGENTPP
mailing list