[AGENT++] error on manage when receiving a trap notfication witha finite number of variable bindings
Karthik Venkataraman
karthikv at netnumber.com
Thu Aug 30 00:19:34 CEST 2007
Jochen,
Thanks for your quick response. I downloaded SNMP v 3.2 from the website and
built it. I built the snmp library with the _DEBUG option and added the
lines that you mentioned to the "receive_trap.cpp" program, but I don't see
any packet dump information. Please let me know what I can do to solve this
problem. The following information is all that I see in my console window:
20070829.18:13:51: 8123: (3)DEBUG : getBootCounter: found entry (file)
(engine
id) (boot counter): (snmpv3_boot_counter), ( 80 00 13 70 C0 A8 01 0D
...p....
), (17)
20070829.18:13:51: 8123: (5)INFO : saveBootCounter: Saved counter (file)
(engi
ne id) (boot): (snmpv3_boot_counter), ( 80 00 13 70 C0 A8 01 0D
...p....
), (18)
20070829.18:13:51: 8123: (6)INFO : AuthPriv: Added auth protocol (id): (3)
20070829.18:13:51: 8123: (6)INFO : AuthPriv: Added auth protocol (id): (2)
20070829.18:13:51: 8123: (6)INFO : AuthPriv: Added priv protocol (id): (2)
20070829.18:13:51: 8123: (3)INFO : AuthPriv: Added default Auth and Priv
proto
cols.
20070829.18:13:52: 8123: (7)INFO : USMUserTable: Adding user (user name)
(engi
ne id) (auth) (priv): (SHADESUser), ( 80 00 13 70 C0 A8 01 0D
...p....
), (3), (2)
20070829.18:13:52: 8123: (7)INFO : USMUserTable: Adding user (user name)
(engi
ne id) (auth) (priv): (SHAMD5User), ( 80 00 13 70 C0 A8 01 0D
...p....
), (2), (2)
20070829.18:13:52: 8123: (7)INFO : USMUserTable: Adding user (user name)
(engi
ne id) (auth) (priv): (noAuthUser), ( 80 00 13 70 C0 A8 01 0D
...p....
), (2), (2)
20070829.18:13:52: 8123: (7)INFO : USMUserTable: Adding user (user name)
(engi
ne id) (auth) (priv): (unsecureUser), ( 80 00 13 70 C0 A8 01 0D
...p....
), (1), (1)
20070829.18:13:52: 8123: (7)INFO : USMUserTable: Adding user (user name)
(engi
ne id) (auth) (priv): (MD5), ( 80 00 13 70 C0 A8 01 0D
...p....
), (2), (1)
20070829.18:13:52: 8123: (7)INFO : USMUserTable: Adding user (user name)
(engi
ne id) (auth) (priv): (SHA), ( 80 00 13 70 C0 A8 01 0D
...p....
), (3), (1)
20070829.18:13:52: 8123: (7)INFO : USMUserTable: Adding user (user name)
(engi
ne id) (auth) (priv): (MD5DES), ( 80 00 13 70 C0 A8 01 0D
...p....
), (2), (2)
20070829.18:13:52: 8123: (7)INFO : USMUserTable: Adding user (user name)
(engi
ne id) (auth) (priv): (SHADES), ( 80 00 13 70 C0 A8 01 0D
...p....
), (3), (2)
20070829.18:13:52: 8123: (4)ERROR : Could not generate localized key:
Unsupport
ed priv protocol: (9)
20070829.18:13:52: 8123: (4)ERROR : Cannot add User: error code: (1413)
20070829.18:13:52: 8123: (4)ERROR : Could not generate localized key:
Unsupport
ed priv protocol: (9)
20070829.18:13:52: 8123: (4)ERROR : Cannot add User: error code: (1413)
Trying to register for traps on port 10162.
Waiting for traps/informs...
press return to stop
20070829.18:13:57: 8123: (1)WARNING: Testing for v3 message: Bad parse of
versio
n
20070829.18:14:07: 8123: (1)WARNING: Testing for v3 message: Bad parse of
versio
n
20070829.18:14:17: 8123: (1)WARNING: Testing for v3 message: Bad parse of
versio
n
Thanks again,
Karthik
-----Original Message-----
From: agentpp-bounces at agentpp.org [mailto:agentpp-bounces at agentpp.org] On
Behalf Of Jochen Katz
Sent: Wednesday, August 29, 2007 5:29 PM
To: agentpp at agentpp.org
Subject: Re: [AGENT++] error on manage when receiving a trap notfication
witha finite number of variable bindings
Hi,
> 20070829.14:02:56: 7642: (1)WARNING: Testing for v3 message: Bad parse of
> version
this should only happen, if the received message is corrupt/invalid.
Are you using an unmodified release of snmp++?
I would need a packet dump to see what's going wrong: snmp++ dumps this
information if compiled with _DEBUG defined and the following log settings:
DefaultLog::log()->set_filter(ERROR_LOG, 15);
DefaultLog::log()->set_filter(WARNING_LOG, 15);
DefaultLog::log()->set_filter(EVENT_LOG, 15);
DefaultLog::log()->set_filter(INFO_LOG, 15);
DefaultLog::log()->set_filter(DEBUG_LOG, 15);
Regards,
Jochen
_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://lists.agentpp.org/mailman/listinfo/agentpp
More information about the AGENTPP
mailing list