[AGENT++] Agent++ and SNMP++ Example problems (SNMP request timed out)

Florian Butter florian.butter at googlemail.com
Fri Jun 6 16:45:59 CEST 2014


Hi at all,

I´m new to Anent++ and SNMP++, so i tried to start with the Provided examples. Unfortunately i get always a SNMP Timeout (Failed to issue SNMP Get: (-5) SNMP++: SNMP request timed out) when i execute one of the SNMP++ Examples.

Here some background infos:

OS: Ubuntu 13.04 (Running in a VM - Host system is OS X Mavericks)
Agent++ v.4.0.2
SNMP++ v.3.3.4
libdes v.4.01a 20050119


Here my Procedure as details as possible: 

1. I extracted all tar packages to one folder, as recommended.
2. To reduce the complexity I deactivated the SNMPv3 support by setting

#if 0
#define _SNMPv3 1
…
in the File config_snmp_pp.h


3. Then I build the SNMP++ source, using the commands:

autoreconf -i —force
./configure
make install

(make install because when i tried to compile the Agent the make process about with a error „could not find libsnmp++“ in the usr/lib dir)


4. Afterwards I build the Agent, with nearly the same commands:

autoreconf -i —force
./configure
make

When i tried to build any of the Agent++ examples i got all the time the following message:
error while loading shared libraries: libsnmp++.so: cannot open shared
object file: No such file or directory".
I found the solution in a mail from the mailing list (http://lists.agentpp.org/pipermail/agentpp/2004-December/002718.html) so i added the line /usr/local/lib to the file /etc/ld.so.config and ran /sbin/ldconfig



————————————————————————————

Now I´m able to execute the examples but i´m facing the problem as described above.

————————————————————————————

I´m not sure if it´s relevant, but when i run any Agent++ example i get some errors:
…
20140606.14:48:56:   40 17 78 80 51 7F 00 00                            @.x.Q...
: (1)ERROR  : UsmUserTable: Unsupported privProtocol: (3)
20140606.14:48:56:   40 17 78 80 51 7F 00 00                            @.x.Q...
: (1)ERROR  : UsmUserTable: Unsupported privProtocol: (3)
20140606.14:48:56:   40 17 78 80 51 7F 00 00                            @.x.Q...
: (1)ERROR  : UsmUserTable: Unsupported privProtocol: (9)
20140606.14:48:56:   40 17 78 80 51 7F 00 00                            @.x.Q...
: (1)ERROR  : UsmUserTable: Unsupported privProtocol: (9)
…

The SNMP++ examples log errors too:
…
: (1)DEBUG  : UsmUserTable: add row with index: (13.128.0.19.112.5.117.98.117.110.116.117.18.92.6.83.72.65.68.69.83)
20140606.16:17:23:   40 D7 AC 2D 0B 7F 00 00                            @..-....
: (1)ERROR  : UsmUserTable: Unsupported privProtocol: (3)
20140606.16:17:23:   40 D7 AC 2D 0B 7F 00 00                            @..-....
: (1)ERROR  : UsmUserTable: Unsupported privProtocol: (3)
20140606.16:17:23:   40 D7 AC 2D 0B 7F 00 00                            @..-....
: (1)ERROR  : UsmUserTable: Unsupported privProtocol: (9)
20140606.16:17:23:   40 D7 AC 2D 0B 7F 00 00                            @..-....
: (1)ERROR  : UsmUserTable: Unsupported privProtocol: (9)
20140606.16:17:23:   40 D7 AC 2D 0B 7F 00 00                            @..-....
...



I´m very thankful for every reply and help!
Thank you in advanced.

Best regards
Florian


More information about the AGENTPP mailing list