Re: net-snmp-create-v3-user on Debian 11

2022-06-23 Thread John Bize
Thanks Paul, It looks like the Debian fix will change the current behavior and break my installation (when I delete SNMP v3 users).  I guess I'll cross that bridge when the updated version is released into stable. On 23-Jun-2022 8:52 AM, Paul Herring wrote: It seems to have already been repo

Re: net-snmp-create-v3-user on Debian 11

2022-06-23 Thread Paul Herring
It seems to have already been reported: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1969623 (In particular, in the Description and comment #4) On Thu, Jun 23, 2022 at 1:46 PM John Bize wrote: > In a recent thread, Wes mentioned using "net-snmp-config > --create-snmpv3-user" to crea

RE: net-snmp core dumps

2022-02-11 Thread Krishna Vivek Vitta via Net-snmp-users
Hi This net-snmp(5.8) installed in Freebsd 8.4. Thank you Krishna Vivek From: Bill Fenner Sent: 10 February 2022 22:47 To: Krishna Vivek Vitta Cc: Wes Hardaker ; Krishna Vivek Vitta via Net-snmp-users Subject: Re: net-snmp core dumps [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or

Re: net-snmp core dumps

2022-02-10 Thread Bill Fenner
Wes Hardaker > Sent: 21 January 2022 23:47 > To: Krishna Vivek Vitta via Net-snmp-users < > net-snmp-users@lists.sourceforge.net> > Cc: Krishna Vivek Vitta > Subject: Re: net-snmp core dumps > > [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open attachments &g

RE: net-snmp core dumps

2022-02-10 Thread Krishna Vivek Vitta via Net-snmp-users
Hi Wes Kindly suggest if there are any recommendations Thank you Krishna Vivek -Original Message- From: Krishna Vivek Vitta via Net-snmp-users Sent: 02 February 2022 08:16 To: Wes Hardaker ; Krishna Vivek Vitta via Net-snmp-users Subject: RE: net-snmp core dumps [CAUTION

RE: net-snmp core dumps

2022-02-01 Thread Krishna Vivek Vitta via Net-snmp-users
Hi Wes Any inputs ? Thank you Krishna Vivek -Original Message- From: Krishna Vivek Vitta via Net-snmp-users Sent: 25 January 2022 09:32 To: Wes Hardaker ; Krishna Vivek Vitta via Net-snmp-users Subject: RE: net-snmp core dumps [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links

RE: net-snmp core dumps

2022-01-24 Thread Krishna Vivek Vitta via Net-snmp-users
~ ~ ** Thank you Krishna Vivek -Original Message- From: Wes Hardaker Sent: 21 January 2022 23:47 To: Krishna Vivek Vitta via Net-snmp-users Cc: Krishna Vivek Vitta Subject: Re: net-snmp core dumps [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open

Re: net-snmp core dumps

2022-01-21 Thread Wes Hardaker via Net-snmp-users
Krishna Vivek Vitta via Net-snmp-users writes: > In few of the Freebsd 8.4 setups, we see cores of snmpd incessantly. Any > inputs > or further pointers that can assist us Which version of net-snmp is that from (snmpget -V will tell you). > 0x0008015b981e in strncmp () from /lib/libc.so.7

Re: net-snmp 5.9.1 error : not-in-time-window

2021-06-02 Thread Wes Hardaker via Net-snmp-users
"djagodic" writes: > For example, after start, Manager side has engineboot=20 and agent > engineboot=1. Because the engineboot not match, the manager side send > request to agent, agent send report with engineboot=1. The manager > then sends the request with engineboot = 1, and the agent respon

Re: Net-SNMP 5.9 crashes: agentx_check_packet snmp_read2

2021-05-21 Thread Wes Hardaker via Net-snmp-users
Łukasz Bolda writes: > Isn't Packet_len=2564808564 too large?? That certainly looks like a bug is happening somewhere. > ^which I'am calling in my main loop in seperate thread like this: > > while(keep_running){ > agent_check_and_process(0) > usleep(10*1000) //10ms > } So you sho

Re: [net-snmp/net-snmp] Compile from Source of 5.9 Results in Missing Libraries? (#289)

2021-05-14 Thread Dachshund Digital
One more note about this... this morning I had an itch I could not scratch, about why the entire issue resulted.  So, I completely uninstalled net-snmp-5.9 via make uninstall, deleted the source directory, then I installed the existing official net-snmp package for Debian 10 buster (which is 5.

Re: [net-snmp/net-snmp] Compile from Source of 5.9 Results in Missing Libraries? (#289)

2021-05-14 Thread Dachshund Digital
Actually I figured this out... not completely sure why it happens on my system, and I found a few references to it happening for others via google as well... so it is not a one off issue per se. One odd quirk is that my install of net-snmp defaults on Debian 10 /usr/local/sbin, not /usr/sbin/,

Re: NET-SNMP version: 5.8 - v1/ v2 blocked, v3 works

2021-03-17 Thread Simon Chamlian
I don't have an address in snmpd.conf. Here is my snmpd.conf: # cat nem_snmpd.conf # createUser Simon MD5 "simon123" rwuser Simon # rocommunity: a SNMPv1/SNMPv2c read-only access community name rocommunity public # rwcommunity: a SNMPv1/SNMPv2c read-write access community name rwcomm

Re: NET-SNMP version: 5.8 - v1/ v2 blocked, v3 works

2021-03-17 Thread Dachshund Digital
Simon, Forgot to add... # snmpwalk -Os -c [redacted] -v 1 localhost NEM-DCI-MIB::nemDCISnmpTrapPort.0 MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/

Re: NET-SNMP version: 5.8 - v1/ v2 blocked, v3 works

2021-03-17 Thread Dachshund Digital
Simon, What does your 'address' line in snmpd.conf look like? Based on the error message, are you sure you have all MIBs needed, loaded?  Try say the device description OID, or the System Up Time OID.  Just as validation, a suggestion.  The communication seems good, just the OID rejected? -

Re: Net-SNMP-5.9 Error when compiling with Visual Studio 2005

2020-12-12 Thread Bart Van Assche
On 12/11/20 1:05 AM, Christophe CASSIGNOL wrote: > Thank you for your reply. > > I did what you asked. > I downloaded the perl-5.31.10 and recompiled it with my VS2005. > > Then I tried again to compile Net-SNMP (I used the latest version from > GitHub) and I have the same errors (without the war

Re: Net-SNMP-5.9 Error when compiling with Visual Studio 2005

2020-12-11 Thread Christophe CASSIGNOL
Hello Bart, Thank you for your reply. I did what you asked. I downloaded the perl-5.31.10 and recompiled it with my VS2005. Then I tried again to compile Net-SNMP (I used the latest version from GitHub) and I have the same errors (without the warning). I have attached the configure.out, make

Re: Net-SNMP-5.9 Error when compiling with Visual Studio 2005

2020-12-10 Thread Bart Van Assche
On 12/10/20 2:51 AM, Christophe CASSIGNOL wrote: > Hi everyone, > > I am trying to compile the latest Net-SNMP-5.9 with Visual Studio 2005 > but I have an error : > > snmpUDPBaseDomain.c > ..\..\snmplib\transports\snmpUDPBaseDomain.c(540) : error C2143: syntax > error : missing ';' before 'type'

Re: Net-SNMP v5.9.rc2 available for testing

2020-08-06 Thread tadas . ivanovas
Atsiprašome, tačiau asmuo, kuriam rašote nebedirba mūsų įmonėje. Daugiau informacijos galite sužinoti skambindami tel. +37052127472 arba el. paštu i...@teltonika.lt. A person you are trying to reach has left our company. You can please call +37052127472 or mail at i...@teltonika.lt for any quer

Re: net snmp -USM encryption error message -Related

2020-06-11 Thread Bart Van Assche
On 2020-06-11 04:28, Pradeep Behera wrote: > Can some one help me , Why this “USM encryption error” Message is Coming Please upgrade to a newer version of Net-SNMP. Are you familiar with building software from source? Net-SNMP source code is available at https://github.com/net-snmp/net-snmp/archiv

RE: net snmp -USM encryption error message -Related

2020-06-11 Thread Pradeep Behera
11, 2020 2:22 PM To: Pradeep Behera Cc: net-snmp-users@lists.sourceforge.net Subject: Re: net snmp -USM encryption error message -Related A google search for your exact error message suggests that your Windows snmp client doesn't have encryption support. I'd suggest seeing if whoever s

Re: net snmp -USM encryption error message -Related

2020-06-11 Thread Paul Herring
A google search for your exact error message suggests that your Windows snmp client doesn't have encryption support. I'd suggest seeing if whoever supplied it has a version with it compiled in, or finding another supplier for such software. On Thu, Jun 11, 2020 at 12:45 PM Pradeep Behera wrote:

RE: net snmp -USM encryption error message -Related

2020-06-11 Thread Pradeep Behera
Good Day I am facing one error . While sending this Command as per below C:\usr\bin> .\snmpusm -v3 -a MD5 -A adm3nauth -x DES -X adm3npriv -u admin -l authPriv 10.130.30.94 create HARRIS admin Encryption support not enabled. snmpset: USM encryption error Can some one help me , Why this "US

Re: net-snmp-config for Windows

2020-05-10 Thread Bart Van Assche
On 2020-05-10 03:59, sys shob wrote: This is my first time using a mailing list, I hope my request is clear. I need to config snmptranslate on Windows but I can't find net-snmp-config.exe anywhere. S

Re: net-snmp 5.8 password encryption

2020-01-07 Thread Bill Fenner
Uma, Perhaps the confusion is because there are two different files named snmpd.conf. Where they are located depends on the system configuration; mine are in /etc/snmp/snmpd.conf and /var/lib/net-snmp/snmpd.conf . If you put the createUser command in /etc/snmp/snmpd.conf, it will remain there, b

Re: net-snmp 5.8 password encryption

2020-01-07 Thread Uma Mohandoss via Net-snmp-users
Michael/Team, Can you please provide more information on the below, as I am newbie to snmp and net-snmp. As you mentioned below I removed the user from snmpd.conf, after that snmpwalk fails with following error. debugshell# snmpwalk -v3 -u u1 -a sha -A watchThis123 -l AuthPriv -x AES -X watc

Re: net-snmp 5.8 password encryption

2020-01-06 Thread Uma Mohandoss via Net-snmp-users
Hi Michael/team, A gentle reminder for help. Thanks, Uma Mohandoss On Monday, 23 December, 2019, 11:27:34 PM IST, Uma Mohandoss wrote: Michael, Thanks for the information. Can you please give me right snmpusm cloneFrom command. Unable to know clearly what are the common opt

Re: net-snmp 5.8 password encryption

2019-12-23 Thread Uma Mohandoss via Net-snmp-users
Michael, Thanks for the information. Can you please give me right snmpusm cloneFrom command. Unable to know clearly what are the common options in the snmpusm syntax. Tried following and got below error. snmpusm -v 3 -a sha -l AuthPriv -x AES localhost cloneFrom USER u1 -X watchThis123 -A

Re: net-snmp 5.8 password encryption

2019-12-20 Thread Michael W. Lucas
The encrypted user is placed in the persistent data file. You can remove this line from snmpd.conf after the user is created, and use snmpusm to clone it for new accounts. ==ml On Fri, Dec 20, 2019 at 05:31:09AM +, Uma Mohandoss via Net-snmp-users wrote: > Hi, > > Net-snmp 5.8, user cr

Re: net-snmp and openssl

2019-12-17 Thread Bart Van Assche
On 2019-12-17 07:55, Colin Anderson wrote: > I have net-snmp 5.5 and openssl 1_1_1d (light version) installed on my > Windows 10 machine.  I want to be able to send get/walk commands into an > end node on our network for testing purposes. > > I’ve been trying to follow the wiki tutorial at > http:

Re: NET-SNMP 5.8

2019-09-05 Thread Bart Van Assche
On 9/4/19 11:42 PM, Viana Gordo, Javier wrote: NET-SNMP was built using win32/build.bat. The error is given when the application running. Our VS2019 application is trying to do some GETS. Please keep the mailing list in Cc when replying. Please also check whether your application calls SOCK_ST

Re: NET-SNMP 5.8

2019-09-04 Thread Bart Van Assche
On 9/3/19 4:08 AM, Viana Gordo, Javier wrote: Hi, We're trying to use net-snmp 5.8 in visual studio 2019 and we have the following problems: * netsnmp_assert s != (-1) failed ..\..\snmplib\transports\snmpUDPBaseDomain.c:510 * when the program runs, it hangs in *snmp_synch_response()*

Re: NET-SNMP 5.7.2 - SNMPv3 inform does not work

2019-05-07 Thread Anders Wallin
Hi Matthew, do you have the possibility to catch the messages with tcpdump? If so try to catch it when you send the "snmpinform" and when it comes from Cisco! Any chance you can try with a newer version of snmp (5.7.3 or latest 5.8)? You can also start snmptrapd with "-DALL -d " to get debug mes

Re: net-snmp 5.8 package or website has the wrong GPG key

2018-11-30 Thread Craig Small
Hi Lee, The point is the GPG key found on the net-snmp website has the wrong key. I can quite easily download the key off the keyserver but the point is not that someone signed the package using some random key uploaded to a keyserver, but it was signed by the correct key. For better or worse, t

Re: net-snmp 5.8 package or website has the wrong GPG key

2018-11-29 Thread Lee
On 11/29/18, Craig Small wrote: > Hi Lee, > The point is the GPG key found on the net-snmp website has the wrong key. I just did a not-so-quik-test moving my existing gnupg info out of the way and you're right - I can't get from the key on their web page to a key that verifies the package just

Re: net-snmp 5.8 package or website has the wrong GPG key

2018-11-29 Thread Lee
On 11/27/18, Craig Small wrote: > Hi, > The 5.8 tarball is signed with one key and the GPG key available on your > website is another. > I assume that its just you using a new key, but for now I won't be updating > the Debian packages until I'm sure they're ok. Maybe you need to refresh your ke

Re: net-SNMP build and OpenSSL 1.x.y

2018-09-14 Thread Mark Christiansen
Sorry, I should add that I need this for Windows 10. On Fri, Sep 14, 2018 at 9:00 PM Mark Christiansen wrote: > > Does anybody have a net-SNMP build that works with any OpenSSL 1.x.y > versions? > > -- > /\/\ark. > > ___ Net-snmp-users mailing list Ne

Re: Net-SNMP Installation of net-snmp-5.7.3

2018-08-22 Thread Simon Chamlian
Never-mind, got it: 1) Unzipnet-snmp-5.7.3.tar.gz 2) sudo apt-get install libperl-dev 3) The INSTALL file will give all details a) sudo ./configure --with-perl-modules --enable-ipv6(just take all defaults) b) sudo make c) sudo make install 4) echo export LD_LIBRARY_PAT

RE: net-snmp and FQDN

2017-07-17 Thread Raghava Kowshika Manjunatha via Net-snmp-users
July 2017 16:22 To: Raghava Kowshika Manjunatha Cc: net-snmp-users@lists.sourceforge.net Subject: Re: net-snmp and FQDN If net-snmp is running on a dual-stack host, and you give it a dual-stack destination, what is your desired behavior for this mode of operation? Bill On Mon, Jul 17, 2017 at 1

Re: net-snmp and FQDN

2017-07-17 Thread Bill Fenner
If net-snmp is running on a dual-stack host, and you give it a dual-stack destination, what is your desired behavior for this mode of operation? Bill On Mon, Jul 17, 2017 at 1:42 AM, Raghava Kowshika Manjunatha via Net-snmp-users wrote: > Hello, > > > > We have integrated net-snmp into our a

Re: Net-snmp 5.7.3, timeticks: wrong parsing?

2017-06-09 Thread Andrew
Ooops, I missed that timetick is encoded like signed int... On 09.06.2017 18:06, Andrew wrote: Hi all. I've implemented embedded SNMPv1 agent, and I saw that there's trouble in parsing timeticks in some rare cases (when time is between ~10 and ~30 minutes). Seems like trouble is when higher b

Re: net-snmp instalation problem :snmpd not installed

2017-02-23 Thread Wes Hardaker
deepak.sachan deepak.sachan writes: > 1. I am not able to find snmp.conf &snmpd.conf You likely need to create them. Some packages come with example configuration files, I'm not sure about ubuntu. > 2. snmp server (snmpd) is not installed. (is it possible while installing > net-snmp ,snmpd is

Re: [net-snmp] How to log traps using snmptrad daemon

2017-01-27 Thread Chris Fowler
I'm using vs 5.6.1. The struggle for me debugging SNMPv3 traps to snmptrapd was that snmptrapd wouid simply ignore v3 traps if the authentication was wrong. This is fine and expected. It would not even behave as if it had seen anything an log it. with tcpudmp I saw that I was receiving the trap

Re: [net-snmp] How to log traps using snmptrad daemon

2017-01-27 Thread Ruth Garzón
Hi, I managed to have the right configuration. I was missing the EngineID in snmptrapd.conf file. I was not understanding exactly what is this for, and did not see it in my device configuration which got me even more "confused". A good thing I found in another thread was to debug properly. For th

Re: net-snmp make error : cannot find -lperl

2017-01-09 Thread Rajmohan Banavi
This indicates that perl is missing on the system. Depending on the package manager for your system, you can use yum/apt/others to install perl first and then later try to build net-snmp. You could also try to build without perl support but you will lose some utilities ./configure --prefix=/tmp/l

Re: Net-SNMP rpms

2016-10-10 Thread Bill Fenner
Hi Amit, rpms are usually provided by your vendor (e.g., Red Hat). There is a spec file in the dist/ subdirectory of the source, but I do not know when it was tested last. Feedback on whether or not it still works is welcome. Bill On Tue, Sep 13, 2016 at 4:33 AM, Amit Jain -X (amitj4 - INFO

Re: net-snmp-5.7.2 with openssl1.0.2 causing error

2016-08-22 Thread Wes Hardaker
Test ssl writes: > yes we did use  --with-openssl and pointed it towards the openssl > library of 1.0.2h compiled by us. But strangely net-snmp still looking > for 1.0.1 openssl. Look carefully at the output of configure when you run it and ensure it's finding what it needs in your 1.0.2h path y

Re: net-snmp-5.7.2 with openssl1.0.2 causing error

2016-08-12 Thread Test ssl
Hi Lee, yes we did use --with-openssl and pointed it towards the openssl library of 1.0.2h compiled by us. But strangely net-snmp still looking for 1.0.1 openssl. I run the "objdump -x libnetsnmpagent.so" command and found the below:- Dynamic Section: NEEDED libnetsnmp.so.30

Re: net-snmp-5.7.2 with openssl1.0.2 causing error

2016-08-11 Thread Lee
On 8/11/16, Test ssl wrote: > Hi , > > > I am getting below error :- > > libcrypto.so.1.0.1, needed by libnetsnmpagent.so, not found (try using > -rpath or -rpath-link) > > > I have upgraded openssl from 1.0.1q to 1.0.2h for my project. > > does net-snmp by default looks for openssl 1.0.1 series.

Re: Net-SNMP with OpenSSL 1.0.2

2016-07-29 Thread Sumit Mhatre
Thanks Pushpa! I will try it out. Regards, Sumit On 28 July 2016 at 16:59, Pushpa Thimmaiah wrote: > Hi Sumit, > > Yes. Linux version of net-snmp provide configure option > '--with-openssl=/path_to_openssl_lib' if external openssl available.. Look > for similar option name for windows. > > Th

Re: Net-SNMP with OpenSSL 1.0.2

2016-07-28 Thread Pushpa Thimmaiah
Hi Sumit, Yes. Linux version of net-snmp provide configure option '--with-openssl=/path_to_openssl_lib' if external openssl available.. Look for similar option name for windows. Thank you. Pushpa.T On Thu, Jul 21, 2016 at 4:58 PM, Sumit Mhatre wrote: > Hi all, > I am planning to use

Re: Net::snmp error when using snmpV3 with APC UPS network card

2016-06-12 Thread Hans Jørgen Jakobsen
On Sat, 11 Jun 2016, Theodore Wynnychenko wrote: > > I have set up net-snmp and this is working. I also have set up snmp on > several > pieces of hardware that include snmp capabilities. As a matter of principle, > I > have enabled snmpV3 where available. > > But, while I have had no problem

RE: net-snmp 5.4.1 on Solaris 11: snmpd becomes non-responsive

2016-04-25 Thread Touchstone Shannon
It appears that there is an issue if the number of TCP connections is greater than 1000 as is the case on our server. # netstat -an | grep ESTABLISHED | wc -l 1907 As suggested by Oracle, I appended the following options for snmpd to disable the TCP MIB at runtime and avoid querying the tcp

RE: Net-SNMP for Windows 7

2016-03-19 Thread Holmes, Steven R
You have to install the 32 bit version.. I have never found a 64 bit version. All I use is the 32 Bit version on all of my computers.. Win7, Win 8, Win10, Best Regards, Steven R Holmes Sr Application Engineer M/ 909.225.6889 tek.com From: Siwei Zhang [mailto:siwzh...@teslamo

Re: net-snmp as a service?

2016-03-18 Thread Alex
Thank you - and sorry, I was asking if instructions where available. E.g. which exact buttons to push to replicate the process performed by the standard repository. On Fri, Mar 18, 2016 at 3:33 PM, Wes Hardaker wrote: > > If you build it yourself, you can find a service file you can modify to >

RE: NET-SNMP-EXTEND-MIB.txt

2015-11-06 Thread Robson, Alan
This will probably answer many of your questions: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sect-System_Monitoring_Tools-Net-SNMP-Extending.html You should also look into a pass script: http://www.net-snmp.org/wiki/index.php/Tut:Extending_snmp

Re: net-snmp versions mess

2015-08-31 Thread Alice Wonder
RHEL 7 packages 5.7.2, I am using 5.7.3 which is noted as a "long term support" Usually with x.x.x versioning the third number indicates a patch release and is *usually* API/ABI compatible with other releases that share same first two numbers. The second number usually indicates a minor releas

Re: NET-SNMP V5.7.3 standard version vulnerability

2015-01-28 Thread Pak Leung Tam
Dear Wes, Thank you so much for your kind confirmation. On Wed, Jan 28, 2015 at 7:40 AM, Wes Hardaker < harda...@users.sourceforge.net> wrote: > Pak Leung Tam writes: > > > Is any outstanding vulnerability on the Standard version of NET-SNMP > > V5.7.3 (Not the pre-release version). It seems the

Re: NET-SNMP V5.7.3 standard version vulnerability

2015-01-27 Thread Wes Hardaker
Pak Leung Tam writes: > Is any outstanding vulnerability on the Standard version of NET-SNMP > V5.7.3 (Not the pre-release version). It seems the v5.7.3 pre-release > version is still exposed to the following vulnerability. V5.7.3 has the applied fix. -- Wes Hardaker Parsons --

Re: Net SNMP query

2014-12-31 Thread Vivek Maurya
Thanks Pal & Wes On Wed, Dec 31, 2014 at 7:48 AM, Pal wrote: > Why can't you just add "sysName " in your agents snmpd.conf > file? > Agent will parse this and sets the hostname accordingly. > Thanks > > Sent from my iPhone > > > On Dec 30, 2014, at 5:50 PM, Wes Hardaker < > harda...@users.source

Re: Net SNMP query

2014-12-30 Thread Pal
Why can't you just add "sysName " in your agents snmpd.conf file? Agent will parse this and sets the hostname accordingly. Thanks Sent from my iPhone > On Dec 30, 2014, at 5:50 PM, Wes Hardaker > wrote: > > Vivek Maurya writes: > >> I do not want to modify SNMP exist code. > > You can confi

Re: Net SNMP query

2014-12-30 Thread Wes Hardaker
Vivek Maurya writes: > I do not want to modify SNMP exist code. You can configure the agent to remove the implementation of that variable and re-implement it using an extension instead. See the "EXTENDING AGENT FUNCTIONALITY" section of the snmpd.conf manual page. -- Wes Hardaker Parsons

Re: Net SNMP query

2014-12-30 Thread Vivek Maurya
I do not want to modify SNMP exist code. On Tue, Dec 30, 2014 at 2:16 PM, NIJESH V P wrote: > net-snmp/agent/mibgroup/mibII/system_mib.c contain the code of sysname > implementation.you can add your code there. > > ... > static void > system_parse_config_sysname(const ch

Re: Net SNMP query

2014-12-30 Thread NIJESH V P
net-snmp/agent/mibgroup/mibII/system_mib.c contain the code of sysname implementation.you can add your code there. ... static void system_parse_config_sysname(const char *token, char *cptr) { system_parse_config_string(token, cptr, "sysName", sysName,

Re: Net SNMP query

2014-12-30 Thread NIJESH V P
you can change sysname using snmpset request. On Tue Dec 30 2014 at 1:35:56 PM Vivek Maurya wrote: > Hi All, > > I have following scenario to develop, could anybody suggest how to > implement it. > > Net SNMP has default implementation of "*sysName*". I want to modify > *sysName* value whenever

Re: Net-SNMP Python bindings

2014-10-22 Thread Bill Fenner
On Tue, Oct 21, 2014 at 8:44 PM, Eduardo Bragatto wrote: > Your point is valid, but I always had the impression that the iid always > comes down to the last numeric value in the complete OID. That way, just > based just on logic, we wouldn't require the MIB definitions to always get > the same be

Re: Net-SNMP Python bindings

2014-10-21 Thread Eduardo Bragatto
Hi Bill, Your point is valid, but I always had the impression that the iid always comes down to the last numeric value in the complete OID. That way, just based just on logic, we wouldn't require the MIB definitions to always get the same behaviour just based on the OID. Even on IP-MIB, where the

Re: Net-SNMP Python bindings

2014-10-14 Thread Bill Fenner
On Mon, Oct 13, 2014 at 5:53 PM, Eduardo Bragatto wrote: > Hi, > > I just started experimenting with the Python bindings and I noticed a > behaviour that looks like a bug when I’m using snmpwalk(). > > This is under Net-SNMP 5.5.2 on CentOS 6, 64 bits and python 2.7. > > First I’ll show an exampl

Re: net-snmp didn't work - ver 5.1.2

2014-08-17 Thread Mika Maruyama
Hi Bill Thank you for reply. I understand that it need to try a recent release. Are there same problem report on a recent release(5.7.2)? Mika > Hi Mika, > > net-snmp 5.1.2 is so old (it was released about 10 years ago) that you > probably won't find anyone who knows any of the details of how i

Re: net-snmp didn't work - ver 5.1.2

2014-08-13 Thread Bill Fenner
Hi Mika, net-snmp 5.1.2 is so old (it was released about 10 years ago) that you probably won't find anyone who knows any of the details of how it behaves any more. You're more likely to find some help if you try a more recent release, like 5.7.2 (or even the 5.7.3.pre5 pre-release). You'll find

RE: net-snmp didn't work - ver 5.1.2

2014-08-13 Thread Mika Maruyama
Hi. I could identify the cause was "it is hanging" in FAQ " The agent worked for a while, then stopped responding. Why?". Because it isn't the problem to be caused by a particular SNMP request. And when I used 'snmpget' request, the message came out. Timeout: No Response from XX. I'm sorr

RE: net-snmp Trap Error : Unknown Security Model

2014-08-08 Thread Sunil Siddharth
Hello, Any update on the request. Regards Sunil Siddharth Technical Lead C/C++ (CA Engagement) HCL Technologies Ltd. A-8/9, Sector 60, Noida 201301, U.P. (India) E-Mail: sunil.siddha...@hcl.com www.hcltech.com www.hcl.in From: Sunil Siddharth Sent

Re: Net-SNMP agent responce time modification

2014-03-22 Thread Fredrik Björk
Hi! I think you need to explain a little more in detail where this timeout occurs. What SNMP manager do you use? If you just perform standard queries from the command line, you can use the following options to tweak the timeout: -r retries Specifies the number of retries

Re: net-snmp-5.7.2.1 compiling failed

2014-03-10 Thread Wes Hardaker
linda zhu writes: > I am new to use net-snmp. I downloaded net-snmp-5.7.2.1, and tried to > compile it. But it failed. Can you grab a fresh copy and try again? The original release package was mildly broken. -- Wes Hardaker Parsons -

Re: Net-SNMP 5.7.2 Time out issues

2014-01-21 Thread Wes Hardaker
"Flowers, Rob (NIH/CIT) [E]" writes: > Timeout: No Response from localhost > > This particular server has 54 IP addresses assigned, is there a limit on the > number of connections that can be monitored? No, but some tables are slower than others. To be sure that you're not hitting a table that

Re: net-snmp for aix 7.1

2014-01-21 Thread Wes Hardaker
"VOLLMER Mark(MS) - BRUCE POWER" writes: > Is or when will there be a release that supports AIX 7.1? > > Version 5.7.2 supports 6.1, but I can not find support for 7.1. Have you tried it to see if it works? One of the things that happens over time is that OSes update and we don't update our lis

RE: net-snmp uses gettimeofday instead of clock_gettime()

2014-01-08 Thread Dirk Buijsman
forge.net > Subject: Re: net-snmp uses gettimeofday instead of clock_gettime() > > On 01/08/14 02:01, Dirk Buijsman wrote: > > net-snmp seems to use the function "gettimeofday" (see snmp_api.c) to > > find out how much time remains until the next timeout. However, this >

Re: net-snmp uses gettimeofday instead of clock_gettime()

2014-01-07 Thread Bart Van Assche
On 01/08/14 02:01, Dirk Buijsman wrote: > net-snmp seems to use the function "gettimeofday" (see snmp_api.c) to > find out how much time remains until the next timeout. However, this > function is not safe as the systemclock could be adjusted by NTP The > recommended way to do timing seems to b

Re: Net-snmp version 5.7.1 compile for rh6

2013-12-16 Thread zhuyj
On 09/27/2013 12:40 AM, Indian Warrior wrote: Hello , I have the 5.7.1 net-snmp running on Redhat 5 and when I run it on Redhat 6 , I get the attached error . Please advise how to fix this error ? Is it compilation error ? If so how to fix it . Thanks --

Re: net-snmp on windows to support host-resoureces mib

2013-11-18 Thread Fulko Hew
On Mon, Nov 18, 2013 at 5:50 AM, wrote: ... snip ... > i need to fetch information under host-resources-mib. > i am using net-snm-5.6.2 and windows 7 (64-bit) > > ... snip ... > >No log handling enabled - using stderr logging > init_winExtDLL: initialization of DLL C:\Windows\System32\

Re: Net-snmp-users Digest, Vol 85, Issue 2

2013-07-24 Thread Chibiao.liu
Jkkjkjokkk,n 发自我的 iPad 在 2013-6-29,21:13,net-snmp-users-requ...@lists.sourceforge.net 写道: > 因为邮件格式不对,无法显示此邮件。请让发件人用不同的格式或电子邮件程序再发送一次。 text/plain -- See everything from the browser to the database with AppDynamics Get end

Re: net-snmp fails to create entries with a zero in the OID

2013-07-08 Thread zhuyj
Anyone can help me ? Is this a bug of net-snmp? On 07/09/2013 10:38 AM, zhuyj wrote: > Hi, > > Attempting to create a new entry with a zero index fails silently. > > root@localhost:/root> snmpset -v 2c -c public 192.168.2.15 > .1.3.6.1.6.3.12.1.2.1.9.0.25 i 5 > SNMP-TARGET-MIB::snmpTargetAddrRowS

RE: Net-SNMP for teaching purposes

2013-06-29 Thread Wipro-KranthiKumar
Ok Regards, Kranthi Kumar 9594453857 022-39961895 "The way you see them is the way you treat them and the way you treat them is the way they often become." [imagesCA9ET751] From: k.katsa...@surrey.ac.uk [mailto:k.katsa...@surrey.ac.uk] Sent: Friday, June 21, 2013 10:20 PM To: net-snmp-users@l

Re: net-snmp 5.6.1.1 problem

2013-04-19 Thread Kuroishi Mitsuo
Message-id: <1366269383.84118.yahoomail...@web190602.mail.sg3.yahoo.com> From: Simon K Subject:net-snmp 5.6.1.1 problem Date: Thu, 18 Apr 2013 15:16:23 +0800 (SGT) > Hi All , > > I am using HP-UX machine , i compiled and installed net-snmp version 5.6.1.1 on my ma

Re: net-snmp for AIX7

2013-02-08 Thread David Sastre Medina
On Mon, Jan 28, 2013 at 03:52:30PM -0800, Wes Hardaker wrote: > "Breitenbach, Thomas" writes: > > > Is net-snmp available for this OS? > > Net-SNMP is a open-source project that tries to be as portable as > possible; however, the core developers don't have boxes around in order > to test every O

Re: net-snmp for AIX7

2013-01-28 Thread Wes Hardaker
"Breitenbach, Thomas" writes: > Is net-snmp available for this OS? Net-SNMP is a open-source project that tries to be as portable as possible; however, the core developers don't have boxes around in order to test every OS so to a large extent we have to rely on what people have reported to us wo

Re: net-snmp packaging.

2013-01-01 Thread Dave Shield
On 31 December 2012 13:31, Jatin Bodarya wrote: > Let me be specific. Specifics would be good, yes. > I have downloaded NET-SNMP version: 5.7.2.rc1.tar.gz and installed with > "make install" in "Ubuntu 12.04" > Now I want to use same installation in linux OK - let's be specific here. What di

RE: net-snmp packaging.

2012-12-31 Thread Jatin Bodarya
Message- From: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] On Behalf Of Dave Shield Sent: 31 December 2012 18:04 To: Jatin Bodarya Cc: net-snmp-users@lists.sourceforge.net Subject: Re: net-snmp packaging. On 31 December 2012 05:10, Jatin Bodarya wrote: > I have manually installed NET-SNMP version:

Re: net-snmp packaging.

2012-12-31 Thread Dave Shield
On 31 December 2012 05:10, Jatin Bodarya wrote: > I have manually installed NET-SNMP version: 5.7.2.rc1.I have done net-snmp > packaging for my Linux machine as I want to run it as root mode. What type of Linux distribution is this? More specifically, what type of packaging are you trying to crea

Re: net-snmp 5.5.2 windows dynamic build failed

2012-12-12 Thread Bart Van Assche
On 12/11/12 16:51, Vuppada, Pavan Kishore wrote: >While trying to build net-snmp 5.5.2 dynamically using vc++, > I get the following errors on Windows environment. Can someone point out > where I am going wrong. I am using Visual studio 2003 to build net-snmp. I'm not sure why you want

Re: net-snmp with chroot is not giving correct values

2012-10-12 Thread Bill Fenner
On Fri, Oct 12, 2012 at 4:56 AM, Jatin Bodarya wrote: > Hello sir, > > > > While I am running snmpd as following (using net-snmp > 5.7.2.rc1,ubuntu-12.04) > > [root@manage /root]#snmpd –f –Le > > [root@manage /root]# snmpwalk -c public -v 2c 127.0.0.1 IF-MIB::ifInOctets.1 > > It is working fine an

Re: Net-SNMP 5.7.2.rc1

2012-08-23 Thread Bart Van Assche
On 08/23/12 17:24, Wes Hardaker wrote: > Bart Van Assche writes: > >> The MinGW, Cygwin and MSVC DLL build are broken. The patch below should >> fix all three these issues: > > +1. Can you apply it, but rather than remove unistd.h add HAVE_UNISTD_H > ifdef wrappers around it? Hi Wes, The curr

Re: Net-SNMP v3 User Administration from custom app

2012-08-23 Thread Wes Hardaker
"Bob O'Neil" writes: > This application also implements an SNMP subagent, so has access to > the running agent through the network connection between them. Well, sort of. SNMP subagents are really there for the master to query the subagent through. There is very little the subagent can ask the

Re: Net-SNMP 5.7.2.rc1

2012-08-23 Thread Wes Hardaker
Bart Van Assche writes: > The MinGW, Cygwin and MSVC DLL build are broken. The patch below should > fix all three these issues: +1. Can you apply it, but rather than remove unistd.h add HAVE_UNISTD_H ifdef wrappers around it? -- Wes Hardaker SPARTA, Inc. -

Re: Net-SNMP 5.7.2.rc1

2012-08-23 Thread Bart Van Assche
On 08/16/12 17:15, Wes Hardaker wrote: > > Net-SNMP 5.7.2.rc1 is now available for testing (and actually, ahem, it > has been for a number of days now). Please give it a whirl and let us > know how it works on your system. > > http://www.net-snmp.org/download.html > > If you have patches to s

Re: net-snmp on 64-bit windows

2012-08-22 Thread Bart Van Assche
On 08/22/12 10:09, Nilsson Bengt wrote: > I’ve tried to get net-snmp working on a Windows 2008R2 system, with no luck. > > I installed the MS smtp “feature”, configured it and then stopped and > disabled it. > > Then, I installed the net-snmp-5.5.0-2 64-bit binary , configured for > using the win

Re: net-snmp-5.5-37 v3 users conf file

2012-07-20 Thread Dave Shield
On 27 June 2012 09:02, wrote: > So to create the v3 users we don’t use net-snmp command, instead we create > v3 users file from our application and place it as > /var/lib/net-snmp/snmpd.conf. This file contains the createUser entries > along with the engine id. That's fine.. > The issue we are

Re: net-snmp on a 64 bit Solaris System

2012-07-20 Thread Dave Shield
On 18 July 2012 13:39, SCHILLO, ROBERT wrote: > Hello, > I have downloaded and installed net-snmp on a Solaris 10 system. > When I try to compile code using the net-snmp libraries I get an error message > wrong ELF class: ELFCLASS32 > It appears the net-snmp libraries are built for a 32 bi

Re: NET SNMP V3 proxying SNMP v2

2012-07-18 Thread nipun_mlist Assam
Thanks Dave Shield. On Wed, Jul 18, 2012 at 1:47 PM, Dave Shield wrote: > On 17 July 2012 16:48, nipun_mlist Assam wrote: >> How can I proxy SNMP V3 requests to an SNMP V2 agent. > > See the section "Proxy Support" in the snmpd.conf(5) man page. > > The arguments to the "proxy" line should be es

Re: NET SNMP V3 proxying SNMP v2

2012-07-18 Thread Dave Shield
On 17 July 2012 16:48, nipun_mlist Assam wrote: > How can I proxy SNMP V3 requests to an SNMP V2 agent. See the section "Proxy Support" in the snmpd.conf(5) man page. The arguments to the "proxy" line should be essentially the settings you would use for a "snmpwalk" command when talking to the a

  1   2   3   4   5   6   7   8   9   10   >