NET-SNMP 5.8

2019-09-03 Thread Viana Gordo, Javier
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() function. We hope you can help us. Regards,

RE: nsNotifyRestart traps

2019-09-03 Thread Krishna Vivek Vitta
Hello Bill, Any update on it ? I believe, on receiving HUP signal by the agent, log rotation occurs( as checked in code). It’s a free bsd box and would output of any command provide hint for the reason of HUP signal. Thank you Krishna Vivek From: Krishna Vivek Vitta Sent: 28 August 2019

Bad File Descriptors

2019-08-30 Thread Livio Zanol Puppim
Hello everybody! I'm having some issues using net-snmp on freeBSD 11.1. NET-SNMP Version: 5.7.3. I have some "pass" scripts on my snmpd.conf which call a shell script to check some information from ipfw. If I execute the shell script manually the time to response is almost "instantaneous" if I

SNMP OCTET String and pdu-variable struct empty values

2019-08-30 Thread filipe.osorio
Hi SNMP experts, When using the net-snmp v5.8 in a CentOS to get OIDs from an SNMP Agent, I'm getting the pdu->variable struct with empty values and the variable buf has the correct values. For example, when trying to read the following OCTET String "0x00 0x00 0x00 0x00 0x00 0x00", the struct

SHA2 support in netsnmp-5.8

2019-08-29 Thread Nitin Samuel
Hi Experts, I have a few queries regarding this new support. Can you help answer pls ? 1. How will I get access to the new OIDs for each algo in the sha2 family ? http://net-snmp.sourceforge.net/docs/mibs/SNMP-USER-BASED-SM-MIB.txt char* usmNoAuthProtocol = "1.3.6.1.6.3.10.1.1.1";

RE: nsNotifyRestart traps

2019-08-28 Thread Krishna Vivek Vitta
Hello Bill Thank you for inputs. Isn’t snmpd.log rotated on receiving the HUP signal ? How can we check “logrotate” is running on server ? It’s a free bsd box and would output of any command provide hint the reason of HUP signal How can we log timestamp in snmpd.log ? Thank you Krishna Vivek

Re: nsNotifyRestart traps

2019-08-27 Thread Bill Fenner
On Tue, Aug 27, 2019 at 2:54 AM Krishna Vivek Vitta < krishna.vivekvi...@citrix.com> wrote: > Hello experts, > > > > We have a management server running snmpd where it is sending > nsNotifyRestart traps. The frequency is once per day during same time. > > May I know on what occasions this trap is

Re: dot3HCStatsEntry MIB Specification

2019-08-27 Thread Bill Fenner
The OID of dot3StatsIndex (.1.3.6.1.2.1.10.7.2.1.1) is not used at all in dot3HCStatsTable. The number that you append to the OID, e.g., the final .1, .2 or .3 in 1.3.6.1.2.1.10.7.11.1.1.1 1.3.6.1.2.1.10.7.11.1.1.2 1.3.6.1.2.1.10.7.11.1.1.3 is the *value* of dot3StatsIndex. So if you have 3

nsNotifyRestart traps

2019-08-27 Thread Krishna Vivek Vitta
Hello experts, We have a management server running snmpd where it is sending nsNotifyRestart traps. The frequency is once per day during same time. May I know on what occasions this trap is raised and I don't get to see any logs in management server restarting agent(snmpd), though we see

Code pointers for SNMP trap source address

2019-08-26 Thread chandrasekharreddy c
Hi , I am new to net-snmp. I want to know how net -snmp is inserting trap source address in pdu. please give me code pointers . Thanks, Chnadra Get Outlook for Android ___ Net-snmp-users mailing list

snmpd MIB Question

2019-08-20 Thread Doug Ehlers
Hi All, I have I think a very basic question. I've been chasing around on this for a couple of days. I am setting up a custom monitor command in snmpd.conf. As long as I supply numeric OIDs, it works fine. However, if I supply a name in place of the OID, from an MIB file that resolves

dot3HCStatsEntry MIB Specification

2019-08-12 Thread Satya Prakash Prasad
I have a basic clarification on dot3HCStatsEntry MIBs definition. It says : dot3HCStatsTable OBJECT-TYPE SYNTAX SEQUENCE OF Dot3HCStatsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table containing 64-bit versions of error ... dot3HCStatsEntry OBJECT-TYPE SYNTAX Dot3HCStatsEntry

Information : dot3StatsIndex : ifIndex : SNMP Walk - Reference InterfaceIndex Behaviour

2019-08-12 Thread Satya Prakash Prasad
I am new to SNMP and stcuk while implmenting WALK for dot3 MIBs - each group of dot3 MIBs refers a ifIndex InterfaceIndex 10.7.2.1.1 (dot3StatsIndex) MIB. Now while implementing WALK say for table 10.7.11 (dot3HCStatsEntry) it has dot3StatsIndex MIB in it and we need to reply for valid all values

Access Control without MibII

2019-08-06 Thread David Moriconi (dmoricon) via Net-snmp-users
Hi, I have built Net-SNMP version 5.8 without MibII and Host MIBs. Then I want to allow only one host (10.9.31.100) to connect to my agent and execute requests. In my conf file, I have the following: rwcommunity public 10.9.31.100 Regardless the host I have entered in the rwcommunity

How to block GET requests read some OIDs

2019-08-02 Thread 700 grm
Hi, Below is my snmpd.conf, which works perfectly, what I am trying to do is to block SNMP GETs to read some OIDs on the server, for example: allow GET everything except OIDs Starting with: .1.3.6.1.2.1.4.20.1.4.10. com2sec notConfigUser default public group notConfigGroup v2c

Re: How to specify the source address for sending traps

2019-07-26 Thread Bart Van Assche
On 7/26/19 1:06 PM, David Moriconi (dmoricon) via Net-snmp-users wrote: Hi, I am using Net-SNMP 5.8 on CentOS 7 with AgentX enabled. My AgentX subagent is implemented using SNMP4J-AgentX.

How to specify the source address for sending traps

2019-07-26 Thread David Moriconi (dmoricon) via Net-snmp-users
Hi, I am using Net-SNMP 5.8 on CentOS 7 with AgentX enabled. My AgentX subagent is implemented using SNMP4J-AgentX. I want to tell Net-SNMP on which interface to send traps. I look at the SNMPD configuration manpage (http://www.net-snmp.org/docs/man/snmpd.conf.html) and don’t see anything like

Re: Need help building net-snmp perl modules on Windows

2019-07-20 Thread Bart Van Assche
On 7/20/19 2:34 AM, Joon du Randt wrote: I am trying to use net-snmp on Windows 10 with Perl. I tried downloading the binaries listed on the website, but couldn't make them work with my version of ActivePerl - the binaries I found need ActivePerl 5.10 and I am on Active Perl 5.26. When I tried

Need help building net-snmp perl modules on Windows

2019-07-20 Thread Joon du Randt
Hi All I am trying to use net-snmp on Windows 10 with Perl. I tried downloading the binaries listed on the website, but couldn't make them work with my version of ActivePerl - the binaries I found need ActivePerl 5.10 and I am on Active Perl 5.26. When I tried to change the PPD file and install

RE: Customize SNMP Extension CacheTime

2019-07-12 Thread Gao, Jiafu (RIS-BCT) via Net-snmp-users
OK. I got this working. The right format is: extend -cacheTime 2 myextend /bin/bash /path/to/my-script [parms-to-script] Note that this code is added in version net-snmp 5.8. So this feature does not work in lower version. Thanks. From: Gao, Jiafu (RIS-BCT) Sent: Friday, July 12, 2019 9:17

Re: Customize SNMP Extension CacheTime

2019-07-12 Thread Gao, Jiafu (RIS-BCT) via Net-snmp-users
I see the following code in 5.8 (extend.c): void extend_parse_config(const char *token, char *cptr) { … cptr = copy_nword(cptr, exec_name, sizeof(exec_name)); if (strcmp(exec_name, "-cacheTime") == 0) { char cache_timeout_str[32]; The question is how -cacheTime s set? I

Customize SNMP Extension CacheTime

2019-07-11 Thread Gao, Jiafu (RIS-BCT) via Net-snmp-users
Hi, I am using SNMP extension to help load balance my servers, and need to customize cache time. The default cache time for extension is 5 seconds. I need to change it to lower or higher for business purpose. However, the value seems to be read-only: snmpset -v2c -c localhost

About the 'proxy' directive

2019-07-10 Thread Dawei Gao
Hi everyone. I find it very useful to forward request to another agent via 'proxy' directive. But, I came across such a case below. 1.3.6.1.2.1.1.1.0 sysDescrLocal Machine 1.3.6.1.2.1.1.2.0 sysObjectID Remote Machine For example, 'sysDescr' is retrieved from local

REQ: Configure options help

2019-07-03 Thread Krishna Vivek Vitta
Hi team, I have set the configure options with disable-agent but I see agent folder is building Net-snmp 5.8 cd ./../../contrib/net-snmp-5.8 && ./configure \ --without-perl-modules --disable-embedded-perl --disable-agent --disable-applications --disable-manuals --disable-scripts \

Re: Cannot build perl snmp module on Windows 10

2019-07-02 Thread Bart Van Assche
On 7/2/19 2:16 PM, Cathal McGlone wrote: hi Bart right ..I now get the following: so I now try: C:\sources\perl>perl

Re: Cannot build perl snmp module on Windows 10

2019-07-02 Thread Cathal McGlone
hi Bart right ..I now get the following: [image: image.png] so I now try: C:\sources\perl>perl Makefile.PL CAPI=TRUE -NET-SNMP-PATH="c:\usr" but get the following error: *Can't locate MakefileSubs.pm in @INC (you may need to install the MakefileSubs module) (@INC contains: C:/Perl64/site/lib

Re: Cannot build perl snmp module on Windows 10

2019-07-02 Thread Bart Van Assche
On 7/2/19 1:52 PM, Cathal McGlone wrote: hi Bart I have just built Net-SNMP using MinGW with MSyS environment using the following configure options: BASEDIR=c:/usr ./configure --prefix="$BASEDIR" \   --with-mibdirs="$BASEDIR/share/snmp/mibs" \  --with-mib-modules="agentx disman/event-mib

Re: Cannot build perl snmp module on Windows 10

2019-07-02 Thread Cathal McGlone
hi Bart I have just built Net-SNMP using MinGW with MSyS environment using the following configure options: BASEDIR=c:/usr ./configure --prefix="$BASEDIR" \ --with-mibdirs="$BASEDIR/share/snmp/mibs" \ --with-mib-modules="agentx disman/event-mib winExtDLL examples/example"\

Re: Cannot build perl snmp module on Windows 10

2019-07-02 Thread Bart Van Assche
On 7/2/19 12:02 AM, Cathal McGlone wrote: hi there i have downloaded latest source version (5.8) of net-snmp and built on a Windows 10 platform using latest download of MinGW with msys. i have also downloaded and installed Activestate Perl 5.26. It all appears to have built ok and i end up

Cannot build perl snmp module on Windows 10

2019-07-02 Thread Cathal McGlone
hi there i have downloaded latest source version (5.8) of net-snmp and built on a Windows 10 platform using latest download of MinGW with msys. i have also downloaded and installed Activestate Perl 5.26. It all appears to have built ok and i end up with binaries which work in c:/usr. I would now

net-snmp 5.8 binaries

2019-06-19 Thread Koray Güney
Hi all, I have searched for the binaries of the last release (v5.8), but it looks that the official binaries is not ready yet. I need the last release to use in my Redhat OS. Can you suggest any location that I can find the binaries? I need the binaries to get the support of SHA256 and AES256 in

Re: net-snmp5.8 endpoint ""

2019-06-15 Thread Philippe DENIS via Net-snmp-users
Hello all, I’ve deleted all the snmpd.conf files (only the ones create by myself) and copy the one described previously in the /usr/local/share/snmp/ and switch off the snmpd and the VM. I’ve parsed the code in order to find the root cause of the error message without success. But, It seems

SNMP functionality and configuration parameters

2019-06-10 Thread devk1234--- via Net-snmp-users
Hi, I am new to snmp and having below question related to functionality and configuration parameters 1)  Snmp having two mode Agent (sending trap , daemon is  ‘snmpd’) and Master (receiving trap, daemon  is ‘snmptrapd’) , Are both mode work together on same Hardware or Gateway ? 2)  Is

How to add mibs in windows

2019-06-10 Thread Satya Prakash Prasad
I was trying to practice below snmptranslate comand line tool: http://net-snmp.sourceforge.net/tutorial/tutorial-5/commands/mib-options.html I was able to successfully execute below command: *snmptranslate CISCO-RHINO-MIB::ciscoLS1010ChassisFanLed* .1.3.6.1.4.1.9.5.11.1.1.12 But I am unable to

snmpdelta - crash found

2019-06-10 Thread Satya Prakash Prasad
I am trying to self learn Net_SNMP tools by via net. I noticed issue in snmpdelta command when I found below command on net for practise: MINGW64 /c/usr/bin $ ./snmpdelta -c public -v 1 -Cs 192.168.2.202:161 IF-MIB::ifInUcastPkts.3 IF-MIB::ifOutUcastPkts.3 Segmentation fault MINGW64 /c/usr/bin

snmpd

2019-06-09 Thread Satya Prakash Prasad
I always get below error when ever I start snmpd: $ ./snmpconf -g basic_setup .. Do you want to configure where and if the agent will send traps? (default = y): n

tkmib

2019-06-09 Thread Satya Prakash Prasad
I have recently downloaded Net-SNMP Rel 5.8 and build the it sucessfully on Windows platform. However I do not see any tkmib GUI application as mentioned in Net-SNMP portal. How can we download and install tkmib tool? Regards, Prakash ___

Re: net-snmp5.8 endpoint ""

2019-06-08 Thread Philippe DENIS via Net-snmp-users
Hello, I tried it without success... I’ve checked that the one snmpd which is running is the one currently built and it’s. Any other idea to help me to fix the problem or mean to investigate ? > Le 8 juin 2019 à 05:30, Bart Van Assche a écrit : > >> On 6/7/19 11:19 AM, Philippe DENIS via

Re: net-snmp5.8 endpoint ""

2019-06-07 Thread Bart Van Assche
On 6/7/19 11:19 AM, Philippe DENIS via Net-snmp-users wrote: Then, from this step; I've succeeded to build the snmp daemon (i.e. snmpd) sudo ./configure --prefix=/usr/bin --without-perl-modules --disable-embedded-perl --disable-perl-cc-checks --with-default-snmp-version="1"

nxmc

2019-06-07 Thread Satya Prakash Prasad
What is nxmc and how to use the tool - I get startup Java error? If I post the pic of error the size of post gets huge to be rejected by moderator? Regards, Prakash ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the

net-snmp5.8 endpoint ""

2019-06-07 Thread Philippe DENIS via Net-snmp-users
Dear all, I've an issue with the net-snmp 5.8 package, it's the first time, I used this protocol. I think that I've missed something either in the configuration of the snmpd or in the writing of the configuration file. See attached, a description of my problem. 1st step: == I've created a

C APIs

2019-06-07 Thread Satya Prakash Prasad
Hi, Can you please refer to me some mechanism to make use of Net-SNMP C APIs? Regards, Prakash ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options:

Re: 64 bit net-snmp download

2019-06-07 Thread Satya Prakash Prasad
I was finally able to build all the binaries - c:\>cmd /V:ON /E:ON C:\>"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64 c:\netsnmp\net-snmp-5.8\win32>.\build.bat But I did not see any GUI tool to browse/ query MIBs - is there any tool like

Re: 64 bit net-snmp download

2019-06-05 Thread Satya Prakash Prasad
Yes I realized my fault and after env initialization when I ran the build I get below issue - VC 2017 Ver 15.8.7 - how can we resolve the issue: cd libagent nmake /nologo all cl.exe /I.. /I..\..\include /I..\..\agent\mibgroup /D WIN32 /D _BIND_TO_CURRENT_VCLIBS_VERSION /D _CONSOLE /D

Re: 64 bit net-snmp download

2019-06-05 Thread Satya Prakash Prasad
I was compiling them wrongly - below is the error I receive while compiling VC 2017 Ver 15.8.7 - how can we resolve the issue: cd libagent nmake /nologo all cl.exe /I.. /I..\..\include /I..\..\agent\mibgroup /D WIN32 /D _BIND_TO_CURRENT_VCLIBS_VERSION /D _CONSOLE /D _CRT_NONSTDC_NO_WARNINGS /D

Re: 64 bit net-snmp download

2019-06-05 Thread Bart Van Assche
On 6/4/19 10:37 PM, Satya Prakash Prasad wrote: > c:\tools\netsnmp\net-snmp-5.8\win32>.\build.bat [ ... ] Building main package... Build error (see make.out) at build.pl line 199, <> line 1. Did you have a look at README.win32? From that file: Win32\build.bat script [ ... ]

Re: 64 bit net-snmp download

2019-06-04 Thread Satya Prakash Prasad
I tried compiling for windows - c:\tools\netsnmp\net-snmp-5.8\win32>.\build.bat Net-SNMP build and install options == 1. OpenSSL support:disabled 2. OpenSSL include directory: C:\OpenSSL-Win32\include 3. OpenSSL library director:

Re: 64 bit net-snmp download

2019-06-04 Thread Bart Van Assche
On 6/3/19 11:50 PM, Satya Prakash Prasad wrote: I have plans to build Net-SNMP win binaries from source - please clarify what dependencies libraries / tools / compilers etc I would need to install prior to download and build Net-SNMP? Please have a look at README.win32. Bart.

snmpwalk v3 receives no response.

2019-06-04 Thread Sourav Bhowmik
Hello All, I am using net-snmp-5.1 stack where i have migrated code from net-snmp-5.8 for SHA256 support. My sanmpwalk says no response from agent IP address below I have pasted the snmpwalk command. snmpwalk -v3 -u u2 -l authPriv -a SHA-256 -A Sourav123 -x DES -X Sourav123 10.10.102.12 sysName.0

Net-SNMP

2019-06-04 Thread Satya Prakash Prasad
Please confirm that we in our organization of around 200 people can download Net-SNMP source code build and make use of Net-SNMP for our developers to write / test SNMP application ? Please confirm if it the same is legal and does not goes against any law? Is there anything that we should take

Re: 64 bit net-snmp download

2019-06-04 Thread Satya Prakash Prasad
Thanks - I tried downloading & executing the same but it failed reporting dependency of some not installed libraries. I have plans to build Net-SNMP win binaries from source - please clarify what dependencies libraries / tools / compilers etc I would need to install prior to download and build

Re: 64 bit net-snmp download

2019-06-03 Thread Bart Van Assche
On 6/2/19 10:51 AM, Bart Van Assche wrote: On 5/31/19 1:39 AM, Satya Prakash Prasad wrote: 64 bit net-snmp download - Stack Overflow I am trying to install net-snmp binaries and landed to below page from their website - https://sourceforge.net/projects/net-snmp/files/ I am not able to see

Re: 64 bit net-snmp download

2019-06-02 Thread Bart Van Assche
On 5/31/19 1:39 AM, Satya Prakash Prasad wrote: 64 bit net-snmp download - Stack Overflow

Users Usage

2019-05-31 Thread Satya Prakash Prasad
Hi, Please let me know if we can make use of net-snmp utilities for our SNMP feature development / testing purpose? Is there any criteria / limitation for its usage? Regards, Prakash ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net

64 bit net-snmp download

2019-05-31 Thread Satya Prakash Prasad
64 bit net-snmp download - Stack Overflow body,.top-bar{margin-top:1.9em} I am trying to install net-snmp binaries and landed to below page from their website - https://sourceforge.net/projects/net-snmp/files/ I am not able to see the 64 bit installer - is it that net-snmp binaries for 64 bits

Re:Re: snmptrap v3 how to specify source IP

2019-05-28 Thread ww
Hi. Thanks for your reply. I try to use "-s" and "--clientaddr" but it dose not work. My version is net-snmp-5.8. My commond is "snmptrap -v3 -u usertest -l authPriv -a SHA -A usertest -x AES -X usertest -s 10.2.24.121 10.2.24.18 84100 …… ". May I ask you how the snmptrap chooses the network

Re: Re: Re: snmptrap v3 how to specify source IP

2019-05-27 Thread Anders Wallin
Hi, that was one of the cases that failed for me. You can try to have 'clientaddr 10.2.24.121" $HOME/.snmp/snmp.conf and run "snmptrap -v3 -u usertest -l authPriv -a SHA -A usertest -x AES -X usertest 10.2.24.18 84100 …… " (w/o -s 10.2.24.121) I hope to get some time to dig into the issue

Re: Re: snmptrap v3 how to specify source IP

2019-05-24 Thread Anders Wallin
Hi, I found two issues using latest git repo master branch; IPv4, using "clientaddr srcip" in snmp.conf and "snmptrap" to a local ip - OK IPv4, using "clientaddr srcip" in snmp.conf and "snmptrap" to a remote ip - OK IPv4, using "snmptrap -s srcip" to a local ip - OK IPv4, using "snmptrap -s

Re: Re: snmptrap v3 how to specify source IP

2019-05-23 Thread Klemen Sladic
By routing decision, as I noted before. RegK On Fri, May 24, 2019 at 3:23 PM ww wrote: > Hi. > Thanks for your reply. I try to use "-s" and "--clientaddr" but it dose > not work. > My version is net-snmp-5.8. > My commond is "snmptrap -v3 -u usertest -l authPriv -a SHA -A usertest -x > AES -X

Re: snmptrap v3 how to specify source IP

2019-05-23 Thread Klemen Sladic
Hi. Any traffic originating from snmpd will have src IP of outgoing network interface. >From my experience "clientaddr" helps for replies generated by snmpd. For example, if you have multiple interfaces and "clientaddr" is set, any snmpd response, like response to snmpget, snmpwalk etc. will have

Re: snmptrap v3 how to specify source IP

2019-05-23 Thread Anders Wallin
You can use "clientaddr" in snmp.conf or snmpd.conf, https://linux.die.net/man/5/snmp.conf In 5.8 you also have the possibility to use "-s" with trapsess, but I did not found any documentation on it. but check the test code, testing/fulltests/default/T184trapsesssource_simple Regards Anders

snmptrap v3 how to specify source IP

2019-05-22 Thread ww
Hello, Thank you for reading my email. Can I specify the source IP when send a V2/V3 trap like V1? ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options:

RE: Crash at snmp_free_varbind with Net-snmp 5.7.3

2019-05-21 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
Hi Bart, Thanks for your response. Unfortunately Valgrind doesn't work on our product, due to memory limitations. By generating backtraces with the help of unstripped binary, , we can see the crash happened due to calling snmp_free_pdu() twice which then calls snmp_free_varbind () function and

Re: Trap server address in snmpd.conf

2019-05-20 Thread Anders Wallin
I think that syntax will give you the octal value of "010", which will be decimal 8, so it will try to send to 192.168.1.8 Regards Anders Wallin On Mon, May 20, 2019 at 3:58 PM Deepak Sachan wrote: > Heĺlo > In snmpd.conf trap server address is defined as > Trap2sink 192.168.1.10 public 162 >

Trap server address in snmpd.conf

2019-05-20 Thread Deepak Sachan
Heĺlo In snmpd.conf trap server address is defined as Trap2sink 192.168.1.10 public 162 If i edit the snmpd.conf file and changed address to 192.168.1.010 then traps are not received at trap receiver. Help required. Thanks in advance ___ Net-snmp-users

memory leak in sn_reg_get_variable_array

2019-05-16 Thread Pankaj Biswas
hi Team, I ran valgrind on snmpd and found definite leaks in sn_reg_get_variable_array() where malloc for vars was never freed. Is this fixed in any coming recent version? not sure how vars ever gets deallocated. NET-SNMP doesn't seem to have a deinitialization story, so maybe it never does. As

RE: Crash at snmp_free_varbind with Net-snmp 5.7.3

2019-05-16 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
Thanks Bart for your response. Let me check this internally. BTW here is the command used by our customer that triggered the problem, but we didn't hit the same problem in our local repro efforts in spite of multiple attempts. Core was generated by `/usr/sbin/snmpd -f -Lsd

Re: Crash at snmp_free_varbind with Net-snmp 5.7.3

2019-05-16 Thread Bart Van Assche
Hi Kiran, I think Valgrind is the right tool to identify the root cause of this crash. What is not clear to me and what has not been mentioned in any of your e-mails is whether or not any custom MIB implementations (code from outside the Net-SNMP source code tree) had been loaded into the snmpd

RE: Crash at snmp_free_varbind with Net-snmp 5.7.3

2019-05-16 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
Could you kindly share your inputs on this. Thanks, Kiran From: Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) Sent: 12 May 2019 12:43 To: 'net-snmp-users@lists.sourceforge.net' Subject: RE: Crash at snmp_free_varbind with Net-snmp 5.7.3 Hi Team, Could you please comment

Re: snmptrapd - Authentication failed

2019-05-14 Thread Dave C
So now I understand that net-snmp stores persistent data regarding engines and credentials in some numerical hex representation as usmUser records. These files seems to be created when the snmptrapd service is shutdown. I figured this out when I changed the password on the server (snmptrapd) only

RE: nsNotifyRestart trap raised frequently

2019-05-13 Thread Krishna Vivek Vitta
Hi Bill, Please review the below SNMP configuration in the agent. sysContact IT-IS sysLocation ECM sysName adc001101.engel.int # snmpd Configuration File # # Copy this file to /mpsconfig, and make changes to /mpsconfig/snmpd.conf # Changes in /etc/snmpd.conf will be lost following a reboot. # #

Re: snmptrapd - Authentication failed

2019-05-12 Thread Dave C
Sorry typo the error reads. May 13 11:52:16 WIK5 snmptrapd[22267]: Authentication failed for ZDART On Mon, May 13, 2019 at 2:21 PM Dave C wrote: > Please help - going crazy. > > I have a server and a remote agent. The agent is generating v3 traps that > are delivered back to the server. For a

snmptrapd - Authentication failed

2019-05-12 Thread Dave C
Please help - going crazy. I have a server and a remote agent. The agent is generating v3 traps that are delivered back to the server. For a long while I had used some random credentials (that worked), now I when I change them I get "Authentication failed" in snmptrapd service. my client

RE: Crash at snmp_free_varbind with Net-snmp 5.7.3

2019-05-12 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
Hi Team, Could you please comment on this, in case if this is any known issue. Thanks, Kiran From: Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) Sent: 09 May 2019 11:48 To: 'net-snmp-users@lists.sourceforge.net' Cc: Saravanan Adhikesavan -X (sadhikes - HCL TECHNOLOGIES

Crash at snmp_free_varbind with Net-snmp 5.7.3

2019-05-09 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
Hi Net-snmp team, We are using Net-snmp 5.7.3 in our product and our customer has reported the below crash recently, although it was never hit in our internal tests. Could you please confirm if this is any know issue and if a patch is available for the same. Using host libthread_db library

Re: Multi Agents configuration

2019-05-08 Thread Daniel Kalenscher
Yes, you just essentially need to have a separate snmpd config file for each and run a command to start up each snmpd process pointing to their own config file. I've done just that running up to 10,000 simultaneous agents all with unique ports. On Wed, May 8, 2019, 11:53 AM 700 grm

Multi Agents configuration

2019-05-08 Thread 700 grm
Hi, It is possible to run multiple SNMP daemons on the same machine and assign to every daemon different port number? Thx 700grm ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or

Re: Help required for "snmpwalk: Authentication failure "

2019-05-07 Thread Bill Fenner
Hi Petros, Thanks for the detailed example. There is enough information here to get much further in the debugging. I can report that loading this config file (the concatenation of the snmpd.conf and usmUser lines you provided) into net-snmp 5.8 gives the desired result of both users being

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

NET-SNMP 5.7.2 - SNMPv3 inform does not work

2019-05-05 Thread Mathew
Hi Team, I am trying to get SNMPv3 informs to work with Cisco devices but informs does not work and SNMPve traps works (createUser -e myuser SHA AuthPass DES PrivPass in snmptrapd.conf,). In snmptrapd.conf, I add the below and restarted as per

RE: Help required for "snmpwalk: Authentication failure "

2019-05-03 Thread Petros Tsampoukas
Hi Bill, The configuration on the files is fine, snmpd loads it incorrectly. I created a simplified configuration to explain it. I created two users (Netscaler and Netscaler2) and only user Netscaler is used in a trap: sysobjectid 1.3.6.1.4.1.5951.6 exactEngineID

RE: Help required for "snmpwalk: Authentication failure "

2019-05-01 Thread Krishna Vivek Vitta
+Petros to explain the problem in detail. Thank you Krishna Vivek From: Bill Fenner Sent: 29 April 2019 22:01 To: Krishna Vivek Vitta Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Help required for "snmpwalk: Authentication failure " Hi Krishna, net-snmp 5.5 is 10 years old this

Re: Help required for "snmpwalk: Authentication failure "

2019-04-30 Thread Bill Fenner
On Tue, Apr 30, 2019 at 12:17 AM Krishna Vivek Vitta < krishna.vivekvi...@citrix.com> wrote: > Hi Bill, > > > > Thanks Bill for looking into it. The version is old, but is there any bug > which describes this anomaly ? > I don't know. > Following are the contents of snmpd.conf > > > > *#* > >

RE: Help required for "snmpwalk: Authentication failure "

2019-04-29 Thread Krishna Vivek Vitta
Hi Bill, Thanks Bill for looking into it. The version is old, but is there any bug which describes this anomaly ? Following are the contents of snmpd.conf # # Copy this file to /mpsconfig, and make changes to /mpsconfig/snmpd.conf # Changes in /etc/snmpd.conf will be lost following a reboot. #

Re: Help required for "snmpwalk: Authentication failure "

2019-04-29 Thread Bill Fenner
Hi Krishna, net-snmp 5.5 is 10 years old this year. 5.8 is the current release. That said, it might be possible to help you if you share the actual snmpd.conf files. You mention "add snmptrap dest_server=10.91.31.244 user_name=test dest_port=162 version=v3", but that is not how to configure

Re: nsNotifyRestart trap raised frequently

2019-04-29 Thread Bill Fenner
Hello Krishna, I did a Google search for 'nsNotifyRestart' and one of the results was http://net-snmp.sourceforge.net/wiki/index.php/FAQ:Agent_15 . This page describes when the nsNotifyRestart trap is sent. Bill On Wed, Apr 24, 2019 at 7:28 AM Krishna Vivek Vitta <

ASN_BOOLEAN returned from snmp_synch_response

2019-04-25 Thread Even Oscar Andersen
Hello, I am calling snmp_synch_response, and try to use the resulting variables, It seems part of the result return variable type 0x81, not sure what this variable is, It is not one of the ASN_ defines, but if I mask out 0x80 (not sure if this is correct), It seems to be ASN_BOOLEAN. However,

nsNotifyRestart trap raised frequently

2019-04-24 Thread Krishna Vivek Vitta
Hello experts, We found that nsNotifyRestart is thrown frequently(every 2 hrs) and same has been reported in snmpd.log. There are no changes in snmp configuration in the SNMP manager and process id of SNMP is also not altering. NET-SNMP version 5.5 restarted NET-SNMP version 5.5 restarted

RE: Help required for "snmpwalk: Authentication failure "

2019-04-24 Thread Krishna Vivek Vitta
Any update on the behaviour ? Thank you Krishna Vivek From: Krishna Vivek Vitta Sent: 23 April 2019 11:43 To: net-snmp-users@lists.sourceforge.net Subject: Help required for "snmpwalk: Authentication failure " Hi expert, We have a case where snmpwalk fails after snmpv3 user is added to trap

Agent not responding to HP Mibs

2019-04-23 Thread Modassir Khan
Hi Team, I am using net-snmp on windows for snmp v3 implementation, I am using cygwin on windows and installed net-snmp packages to it. snmpd.conf located at /usr/share/snmp, Placed all HP mib to the mib dir. /usr/share/snmp Used mib browser to walk., I am getting data for default mibs, but

Isolate USM users by context or groups

2019-04-18 Thread Maurice Sienema
Dear List members, I am trying to make a SNMP proxy for multiple users, and each user is only allowed to access the proxy directive assigned to that account, but with the config i've made all usm users can connect to all contexts. How can I let customer1 deny connecting to the proxy line at

Supressing the IP addresses in the SNMP payload at the monitored equipment

2019-04-17 Thread 700 grm
Hi, Is there is a possibility suppressing the IP addresses in the SNMP payload at the monitored equipment. In another words, only packet header should contain host IP address, however content of the file should not contain the IP address and hostname of the device. Is it passable to configure?

Strange issue with SNMP traps

2019-04-16 Thread 700 grm
Hi, I run in the strange issue which I don't understand. version: net-snmp-5.7.2-37.el7.src.rpm I am able to send SNMP traps however if directive (1) createUser is present only (2) defaultMonitors and linkUpDownNotifications will be sent. When I remove this directive I am getting remaining

How to preserve SNMP trap IP address and host name when forwarding

2019-04-12 Thread Pik Master via Net-snmp-users
>I need help, with preserving SNMP trap IP address and hostname when forwarding >SNMP traps through snmptrapd >I got 10 servers behind a firewall and router, I have setup SNMP trap >forwarding and GET based on community string however, snmptrapd rewrites trap >headers, IPs and host name with

Re: How to preserve SNMP trap IP address and host name when forwarding

2019-04-12 Thread Pik Master
Hi I got exactly the same problem and wrote a patch. You will need to recompile net-snmp from sources though. Patches and instructions here - sourceforge.net sourceforge.net They are for net-snmp-5.7.3, I didnt have a chance to test them on 5.8 yet. Pik Master Dnia 10

RE: Having mismatch indexes for some interfaces in the IP-MIB and IF-MIB

2019-04-12 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
Hi Experts, Your inputs on this issue is much appreciated.. Thanks, Kiran From: Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) Sent: 09 April 2019 23:45 To: 'net-snmp-users@lists.sourceforge.net' Cc: Anil Kumar Thumma -X (athumma - HCL TECHNOLOGIES LIMITED at Cisco) ;

Re: response time snmptranslate

2019-04-11 Thread Kaleemulla Sharief (kasharie) via Net-snmp-users
I assume you are using the snmptranslate to convert your input from OID to MIB format? If so, The snmptranslate does parse the entire MIB file every time which takes time depending on the size of your MIB file and this cannot be avoided. The problem is compounded when you have more than one MIB

response time snmptranslate

2019-04-11 Thread Paulo Henrique Peres
Hi... Hello, I'm using a program called Telegraf, this program has an SNMP input plugin for collecting information, I can pass as a table parameter. On my operating system I have loaded MIB files from an equipment vendor I work with and configure Telegraf to use a table of one of those files.

Re: How to preserve SNMP trap IP address and host name when forwarding

2019-04-10 Thread Kaleemulla Sharief (kasharie) via Net-snmp-users
If this is specific to only 10 servers, you could configure NAT on snmp proxy for these 10 servers to do address spoofing? Sent from my iPad On 10-Apr-2019, at 8:59 PM, 700 grm <700...@gmail.com> wrote: Hi, I need help, with preserving SNMP trap IP address and hostname when forwarding SNMP

How to preserve SNMP trap IP address and host name when forwarding

2019-04-10 Thread 700 grm
Hi, I need help, with preserving SNMP trap IP address and hostname when forwarding SNMP traps through snmptrapd I got 10 servers behind a firewall and router, I have setup SNMP trap forwarding and GET based on community string however, snmptrapd rewrites trap headers, IPs and host name with SNMP

<    2   3   4   5   6   7   8   9   10   11   >