[AGENT++] AGENTPP Digest, Vol 116, Issue 1

Florian Butter florian.butter at googlemail.com
Wed Jun 11 16:27:15 CEST 2014


Thank you for your response.

- Why am I need to use SNMPv3 for Production use anyway?
- I compiled the Agent++ and the SNMP++ with the SNMPv3. Unfortunately I´m still getting these errors.
- I´m working with the untouched Examples so the community Strings are „public“ (or am i wrong?).


Where can i specify the Ports?


I Start the Agent++ static_table Example and getting 
(1) Error   :  UsmUserTable:  Unsupportet privProtocol:  (3)

Then i Start the SNMP++ snmpDiscover Example which can´t find the Agent.


best regards and thank you very much!



Am 07.06.2014 um 12:00 schrieb agentpp-request at agentpp.org:

> Send AGENTPP mailing list submissions to
> 	agentpp at agentpp.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://s16675406.onlinehome-server.info/mailman/listinfo/agentpp
> or, via email, send a message with subject or body 'help' to
> 	agentpp-request at agentpp.org
> 
> You can reach the person managing the list at
> 	agentpp-owner at agentpp.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of AGENTPP digest..."
> 
> 
> Today's Topics:
> 
>   1. Agent++ and SNMP++ Example problems (SNMP request timed	out)
>      (Florian Butter)
>   2. Re: Agent++ and SNMP++ Example problems (SNMP request timed
>      out) (Frank Fock)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 6 Jun 2014 16:45:59 +0200
> From: Florian Butter <florian.butter at googlemail.com>
> To: agentpp at agentpp.org
> Subject: [AGENT++] Agent++ and SNMP++ Example problems (SNMP request
> 	timed	out)
> Message-ID: <13876689-7B00-4E21-9E74-4986437AD5B4 at googlemail.com>
> Content-Type: text/plain;	charset=windows-1252
> 
> 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
> 
> ------------------------------
> 
> Message: 2
> Date: Sat, 07 Jun 2014 00:16:55 +0200
> From: Frank Fock <fock at agentpp.com>
> To: agentpp at agentpp.org
> Subject: Re: [AGENT++] Agent++ and SNMP++ Example problems (SNMP
> 	request timed out)
> Message-ID: <53923DD7.2090704 at agentpp.com>
> Content-Type: text/plain; charset=windows-1252; format=flowed
> 
> Hi,
> 
> I would recommend compiling with SNMPv3 enabled (you can use SNMPv1 or v2c
> also with SNMPv3 enabled). For production use, you will need SNMPv3 anyway.
> 
> The log output you quoted is a result of not compiling the SNMPv3 stuff.
> That is therefore not the root cause of the timeout.
> 
> I rather suspect an incorrectly specified port or community string.
> 
> Best regards,
> Frank
> 
> Am 06.06.2014 16:45, schrieb Florian Butter:
>> 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
>> _______________________________________________
>> AGENTPP mailing list
>> AGENTPP at agentpp.org
>> https://s16675406.onlinehome-server.info/mailman/listinfo/agentpp
> 
> -- 
> ---
> AGENT++
> Maximilian-Kolbe-Str. 10
> 73257 Koengen, Germany
> https://agentpp.com
> Phone: +49 7024 8688230
> Fax:   +49 7024 8688231
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> https://s16675406.onlinehome-server.info/mailman/listinfo/agentpp
> 
> 
> End of AGENTPP Digest, Vol 116, Issue 1
> ***************************************



More information about the AGENTPP mailing list