Re: python3-netsnmp and SHA512

2025-07-05 Thread Bart Van Assche via Net-snmp-users
On 7/3/25 12:22 PM, Carl Jacobs via Net-snmp-users wrote: Are there plans to upgrade python3-netsnmp to support SHA-2 algorithms and AES-256 encryption? Net-SNMP is maintained by a team of volunteers. If a patch is submitted that adds this functionality we can help with reviewing that patch.

Re: Can I override the defVersion in host specific conf files?

2025-04-24 Thread Lee
On Tue, Apr 22, 2025 at 8:28 AM Ari Rabinowitz wrote: > > Hi Lee, > > Thanks for the confirmation of what I've been seeing. I've even tried adding > "disableSNMPv3 yes" to the host.conf files for the hosts which don't do > SNMPv3, but it still doesn't work. > This is a sample of the host.conf fi

Re: Can I override the defVersion in host specific conf files?

2025-04-22 Thread Ari Rabinowitz
Hi Lee, Thanks for the confirmation of what I've been seeing. I've even tried adding "disableSNMPv3 yes" to the host.conf files for the hosts which don't do SNMPv3, but it still doesn't work. This is a sample of the host.conf files I've been trying: defVersion 2c defCommunity REDACTED disableSNMPv

Re: Can I override the defVersion in host specific conf files?

2025-04-21 Thread Lee
On Mon, Apr 21, 2025 at 4:09 PM Ari Rabinowitz wrote: > > Hi, > > I'm trying to set up SNMP monitoring of many of our devices. Since most of > them support SNMPv3 I've set up the following in my /etc/snmp/snmp.conf: > defVersion 3 > defSecurityLevel authPriv > defAuthType SHA > defPrivType AES > d

Re: No DLL when compiling with msys2

2025-04-10 Thread soc...@teclab.at
It seems that --enable-shared=yes is not working (for me). I tried compiling with MS Visual Studio and get the netsnmp.dll in the bin folder. More details here: https://stackoverflow.com/questions/79564857/net-snmp-compiles-fine-but-missing-dll thx From: soc.

Re: users to group association not working as expected

2025-01-30 Thread Lokesh Mogra
corrected typo: On Thu, Jan 30, 2025 at 2:56 PM Lokesh Mogra wrote: > Hi folks, > i am trying to create snmp groups and associating views with it. > and assign users to these groups. I see there is no explicit way to assign > user to group. > Am i missing some configuration? > > This is the conf

Re: Current LTS release of net-snmp

2024-12-23 Thread Amber Bhardwaj via Net-snmp-users
Hello All, This thread is 3 years older, and it was recommended that I use v5.9.1. I checked that Ubuntu and Rocky Linux are still using this version. Could you please help me out here with which version to use? I visited the official NetSnmp website and found that the currently supported vers

Re: Error finding server identity keys

2024-12-15 Thread David R Anderson
I found a solution for "error finding server identity keys" 1. Looking at debug output showed the certificates were being searched for in /usr/local/share/snmp/tls 2. By supplying a file path [snmp] localCert /usr/local/share/snmp/tls/certs/snmpd.crt I was doing nothing other than supplying the s

Re: Question about using snmpwalk

2024-11-23 Thread gday vw
Hello Lee, snmptranslate -IR -On unifiIfRxBytes Warning: Module UBNT-MIB was in /usr/share/snmp/mibs/UBNT-MIB now is /usr/share/snmp/mibs/UBNT-UniFi-MIB Unknown object identifier: unifiIfRxBytes zen@debian11-DR6:~$ snmptranslate .1.3.6.1.4.1.41112.1.6.2.1.1.6 Warning: Module UBNT-MIB was in /usr/

Re: Question about using snmpwalk

2024-11-23 Thread Lee
On Wed, Nov 20, 2024 at 4:01 PM gday vw wrote: > > > just curious: do you actually have an LS1010 in your network? > > The last time I worked with them was around the turn of the century > > along with LANE blades in the cat5000s > > No, I was using the snmptranslate query to hopefully confirm that

Re: Question about using snmpwalk

2024-11-20 Thread gday vw
> just curious: do you actually have an LS1010 in your network? > The last time I worked with them was around the turn of the century > along with LANE blades in the cat5000s No, I was using the snmptranslate query to hopefully confirm that my snmp environment was working. That is the example in t

Re: Question about using snmpwalk

2024-11-18 Thread Lee
On Sun, Nov 17, 2024 at 9:28 PM gday vw wrote: > > Hello, > I'm trying to use snmpwalk to query a Ubiquiti device. > I'm using this page of the wiki as a guide: > https://net-snmp.sourceforge.io/wiki/index.php/TUT:snmpwalk > > The mibs folder includes all the mib files from my recent question. > >

Re: Using and loading MIBS

2024-11-15 Thread gday vw
Hello David, Those examples worked. Thanks! Vaughan On Sat, Nov 16, 2024 at 2:02 PM David R Anderson wrote: > Good work, > > After reading the UBNT-UniFi-MIB I tried the same kind of thing as the > Cisco MIB example: > > C:\usr\bin>snmptranslate -m +UBNT-UniFi-MIB -M "c:\usr\share\snmp\mibs"

Re: Using and loading MIBS

2024-11-15 Thread gday vw
Hello, I have unpacked all of the net-snmp-5.9.4\mibs\ files as recommended to /usr/share/snmp/mibs The example in the Wiki now works zen@debian11-DR6:~$ snmptranslate -m +CISCO-RHINO-MIB -IR -On ciscoLS1010ChassisFanLed .1.3.6.1.4.1.9.5.11.1.1.12 However when I try to query any of the entries i

Re: Using and loading MIBS

2024-11-14 Thread Lee
Hi, On Tue, Nov 12, 2024 at 7:16 PM gday vw wrote: > > Hello, > > I'm an SNMP newbie and I'm trying to follow this tutorial. > > http://www.net-snmp.org/wiki/index.php/TUT:Using_and_loading_MIBS#Net-SNMP_Command_Line_Applications > > OS is Debian > zen@debian11-DR6:~$ cat /proc/version > Linux ver

Re: Using and loading MIBS

2024-11-13 Thread gday vw
Hello, I've had another go at following this example https://net-snmp.sourceforge.io/wiki/index.php/TUT:Using_and_loading_MIBS This time using the mib file used in the example. Still not working for me. Here are what I think is the key info Command-line zen@debian11-DR6:~$ snmptranslate -m +CIS

Re: Using and loading MIBS

2024-11-12 Thread gday vw
Have also tried below zen@debian11-DR6:~$ snmptranslate -On UI-UniFi-MIB::unifiApSystem MIB search path: /home/zen/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf Cannot find module (UI-UniFi-MIB): At line 1 in (none) UI-UniFi-MIB::unifiApSystem: Unknown Object I

Re: netsnmp_register_table_iterator() failing

2024-11-08 Thread bps tech
ython bindings for AgentX > that I have used look very different. > > > > Sorry I couldn’t be more help. > > Brian > > > > *From:* bps tech > *Sent:* Friday, November 8, 2024 12:26 PM > *To:* Atkins, Brian > *Cc:* net-snmp-users@lists.sourceforge.net > *Subj

RE: netsnmp_register_table_iterator() failing

2024-11-08 Thread Atkins, Brian via Net-snmp-users
: Atkins, Brian Cc: net-snmp-users@lists.sourceforge.net Subject: Re: netsnmp_register_table_iterator() failing You don't often get email from bpstec...@gmail.com<mailto:bpstec...@gmail.com>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> EXTERNAL EM

RE: netsnmp_register_table_iterator() failing

2024-11-08 Thread Atkins, Brian via Net-snmp-users
First, you shouldn’t be adding things to MIB-2, it is standards controlled. If you want to add a MIB branch, you should do it under the enterprise branch (1.3.6.1.4.1). You’ll need a private enterprise number, which are controlled by the IANA: https://www.iana.org/assignments/enterprise-numbers

Re: netsnmp_register_table_iterator() failing

2024-11-08 Thread bps tech
Hi Brian, Thanks for the quick reply. I understand your point, however it will take it's own time if I am going with private enterprise number, controlled by IANA. But for now, could you help me what mistake I might be doing. I hope it is possible to extend MIB-2 standard interface, I found thi

Re: Issue with Net-SNMP 5.9.4 and SSL Protocol Version

2024-08-14 Thread rajesh galla
Hi netsnmp team, It will be helpfull if you can help me. Regards Rajesh On Fri, 9 Aug 2024, 13:32 rajesh galla, wrote: > Hi Net-SNMP Team, > > I hope this message finds you well. I am encountering an issue with > Net-SNMP that appears to be related to a previously reported problem, as > detail

Re: Option -t not working net-snmp 5.8

2024-07-25 Thread Kuchenmann via Net-snmp-users
OK, now I understand, I also need the Retries option -r when using -t. Am 26.07.2024 um 03:22 schrieb Kuchenmann via Net-snmp-users: Hello, I'm using net-snmp 5.8 on Rocky Linux 8.10. But the Timeout Option -t is not working. Always waits approx. 60 seconds until timeout when no response to snm

Re: Broadcast flow cannot be monitored on Netgate with net-snmp

2024-07-05 Thread Bart Van Assche via Net-snmp-users
On 7/4/24 9:54 PM, Jordan MICHEL wrote: From somwhere else. Please report this issue to the organization that provided the Net-SNMP binaries. The purpose of this mailing list (net-snmp-users) is to support users who build Net-SNMP from source or who download Net-SNMP binaries from the Net-SNMP

Re: Issue with SNMP Traps

2024-07-05 Thread Shripad Rayewar
Hi All, Can anyone help pls *Best Regards,* Shripad Rayewar [image: Insta ICT Solutions Pvt Ltd | Telecom Network Services & Solutions] *Corporate office:* 98A, Preci

Re: Broadcast flow cannot be monitored on Netgate with net-snmp

2024-07-04 Thread Jordan MICHEL
From somwhere else. Regards > Le 4 juil. 2024 à 19:34, Bart Van Assche a écrit : > > On 7/3/24 11:21 PM, Jordan MICHEL wrote: >> I got them from the net-snmp website. >> http://www.net-snmp.org/docs/mibs/ifMIBObjects.html >> >> Do you thi

Re: Broadcast flow cannot be monitored on Netgate with net-snmp

2024-07-04 Thread Bart Van Assche via Net-snmp-users
On 7/3/24 11:21 PM, Jordan MICHEL wrote: I got them from the net-snmp website. http://www.net-snmp.org/docs/mibs/ifMIBObjects.html Do you think these are the wrong OIDs? However, the multicast and broadcast OIDs that I got from this website

Re: Broadcast flow cannot be monitored on Netgate with net-snmp

2024-07-03 Thread Jordan MICHEL
Hello, I got them from the net-snmp website. http://www.net-snmp.org/docs/mibs/ifMIBObjects.html Do you think these are the wrong OIDs? However, the multicast and broadcast OIDs that I got from this website also work. Thanks Regards, Le mer. 3 juil. 2024 à 23:32, Bart Van Assche a écrit : >

Re: Broadcast flow cannot be monitored on Netgate with net-snmp

2024-07-03 Thread Bart Van Assche via Net-snmp-users
On 7/3/24 4:45 AM, Jordan MICHEL wrote: I installed net-snmp on my netgate pfsense 1541 and on a netgate pfsense sg2100 and I cannot retrieve the broadcast stream per interface. From where did you obtain the Net-SNMP binaries? From the Netgate company or from somewhere else? Thanks, Bart.

Re: what is right place to load subagent configuration

2024-05-07 Thread Андрей Лобов
I was able to catch the temporary file generated by net-snmp-config and learnt from it that I can just write manually init_MyModuleName and shutdown_MyModuleName functions and should be good. Thanks, the question is closed. вт, 7 мая 2024 г. в 15:17, Андрей Лобов : > And another related question

Re: what is right place to load subagent configuration

2024-05-07 Thread Андрей Лобов
And another related question - how to hook on agent shutdown in order to properly release the resources. Thanks, Andrey пн, 6 мая 2024 г. в 18:03, Андрей Лобов : > He everyone, > > I write subagent, referring to the guide > http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent > So far s

Re: snmpwalk v3 returns timeout whilst v1 works just fine.

2024-03-06 Thread Mariano Eduardo
Disregard, it was the -n (context) switch, removed it and it worked! On Wed, Mar 6, 2024 at 10:16 PM Mariano Eduardo wrote: > > *NET-SNMP version: 5.6.2.1* > *OS: MacOS Catalina* > > > Hello everyone! So given the subject of this email, I believe the issue > lies in the authentication settings

Re: SIGHUP for changing snmpv3 context

2024-02-04 Thread Bill Fenner
Hi Vivek, There are some types of configuration that can only be applied with a restart, because the option to change them has not yet been implemented. There is nothing fundamental that prevents this from being implemented, but it is not a simple fix, which is why it hasn't been done yet. Bill

Re: SIGHUP for changing SNMP agent Port

2024-01-09 Thread Feroz
IMO we need to revert this patch, as it would cause issues in production. This is a partial fix. -Feroz On Tue, Jan 9, 2024 at 2:35 PM Vivek Aditya wrote: > Thanks for quick response > > I am working on this feature and able to achieve partial success. There is > one use case where it does not

Re: SIGHUP for changing SNMP agent Port

2024-01-08 Thread Wes Hardaker via Net-snmp-users
Vivek Aditya writes: > I want the SNMP to start listening on a new agent port without restart. > Just sending SIGHUP to snmpd does not work.  > > Is there a way to do it or has this issue already been fixed? Any help > would be appreciated. That's a good feature request, but I don't think we ha

Re: hrMemorySize and hrStorageTable are missing

2023-12-28 Thread Dan Langille
On Wed, Dec 27, 2023, at 8:43 PM, Dan Langille wrote: > Hello, > > I'm trying to configure net-snmp-5.9.1 on FreeBSD 14.0 > > I've succeeded with a fresh install (in a FreeBSD jail) and now I'm > trying to configure the hosts. What's missing on the hosts is > hrMemorySize and hrStorageTable. > >

Re: [EXTERNAL EMAIL] Re: snmpwalk doesn't always translate OIDs

2023-08-25 Thread Wes Hardaker via Net-snmp-users
Jan Andersen writes: > That gives me the desired output - but why the difference from the > version without '-mALL'? Hi Jan, This tutorial page should help you: http://www.net-snmp.org/wiki/index.php/TUT:Using_and_loading_MIBS -- Wes Hardaker USC/ISI ___

Re: [EXTERNAL EMAIL] Re: [EXTERNAL EMAIL] Re: snmpwalk doesn't always translate OIDs

2023-08-24 Thread Feroz
Can you please check, if snmptranslate helps you. https://linux.die.net/man/1/snmptranslate -Feroz On Thu, Aug 24, 2023 at 5:39 PM Jan Andersen wrote: > Thx, Feroz - got it! > > On a completely different note; do you know how snmpwalk et al figure > out which numerical OID matches which text O

Re: [EXTERNAL EMAIL] Re: snmpwalk doesn't always translate OIDs

2023-08-23 Thread Jan Andersen
That gives me the desired output - but why the difference from the version without '-mALL'? Also, in the man page it looks like '-mALL' only lists the MIBs that are listed in the local MIB files and therefore may leave something out that the appliance might supply - or have I got that wrong?

Re: snmpwalk doesn't always translate OIDs

2023-08-23 Thread Feroz
can you try with snmpwalk -v 2c -c netgear netgear1 -mALL Make sure you copied mib file in appropriate directory. On Wed, Aug 23, 2023 at 8:05 PM Jan Andersen wrote: > I have a curious problem with snmpwalk in debian 11 - if I run something > like: > > root@vogon:~# snmpwalk -v 2c -c netgear

Re: New version of net-snmp v5.9.4

2023-08-15 Thread Wes Hardaker via Net-snmp-users
"Andrei Cristea -X (acristea - ENDAVA DOO at Cisco) via Net-snmp-users" writes: > Does anyone know when the version v5.9.4 will be released ? Hi Andrei, Sorry for the delay. We've been discussing a bug in the TLS implementation that we've only just decided we can't fix quickly and plan to rele

Re: Python 3 snmp set operations fail with octet strings with values >= 0x80

2023-02-03 Thread Bill Fenner
The API has to deal with both DisplayString (underlying type OCTETSTR) and actual octet strings. It makes sense for a DisplayString to be utf-8 encoded, but, it doesn't make sense for actual octet strings. Python 3 does have two different types that can very usefully be used for this: a string co

Re: Need Help with my Table Iterator Sub-Agent

2023-01-06 Thread Ian C via Net-snmp-users
RESOLVED BY implementing make_data_context     iinfo->make_data_context = context_convert_function; . . .     void * context_convert_function( void *loop_context, netsnmp_iterator_info *iinfo )    {        Context_Data *datactx = SNMP_MALLOC_TYPEDEF(Context_Data);         if (!datactx)       

Re: ucd-snmp-3.5.3.tar.gz

2022-11-16 Thread Art via Net-snmp-users
Blessings Magnus! Google "ucd-snmp-3.5.3" <-- WITH the quotation marks This is an FTP repository ... not a "tar.gz", but all of the sources??? I'm NOT a developer. "Index of /afs/qatar.cmu.edu/system/src/ng/ucd-snmp/001" http://www.cs.cmu.edu/afs/qatar.cmu.edu/system/src/ng/ucd-snmp/001/

Re: snpmset error seen after upgrading to net-snmp-5.9.1

2022-10-03 Thread Suchetha p
Hi, The below error is also seen but only once after upgrading net-snmp from 5.7.2 to 5.9.1. snmpd: send_trap: Unknown engine ID (Sub-id not found: (top) -> snmperrErrMessagg e) (Network is unreachable) SNMP set failure can be related to this ? snmpset -v 3 -u FMS -n FMS 127.0.0.1 1.3.6.1.4.1.

Re: snmptrap + tables

2022-09-11 Thread Cyrus
Thanks to Dave Shield for having the patience to explain this 10 years ago: https://sourceforge.net/p/net-snmp/mailman/message/28774933/ With the explanation and hints, I could fix my MIB file definition. Now moving to the implementation. :) Regards, CI.- El dom, 11 sept 2022 a las 21:49, Cyrus

Re: SHA Version

2022-09-07 Thread Wes Hardaker via Net-snmp-users
Feroz writes: > On net-snmp 5.8, with the following configuration in snmpd.conf file, which > version of SHA (i.e SHA1/SHA-192/SHA-256/SHA-284/SHA-512) is used? > > createUser feroz SHA feroz123 AES feroz123 > rwuser feroz priv If you specify SHA generically, that's an alias for SHA1. Instead,

Re: ./libtool: line 1702: func_options: command not found

2022-08-29 Thread Bart Van Assche
On 8/29/22 19:11, nur syahirah syafinaz wrote: * -L./CfgMgr -lCfgMgr -L./ClntAddrMgr -lClntAddrMgr -L./IfaceMgr -lIfaceMgr -L./AddrMgr -lAddrMgr -L./poslib -lPoslib -L./nettle -lNettle -L./Options -lOptions -L./Messages -lMessages -lOptions -lMessages -L./Port-linux -lLowLevel -L./Misc -lMisc -

Re: No rule to make target 'snmptop.1', needed by 'maninstall' issue

2022-08-25 Thread nur syahirah syafinaz
Yess! It helps me to solve the error. Thanks a lot! Regards, Syahirah On Fri, Aug 26, 2022 at 8:50 AM Bart Van Assche wrote: > On 8/24/22 23:49, nur syahirah syafinaz wrote: > > > > > > *make[3]: *** No rule to make target 'snmptop.1', needed by 'maninstall'. > Stop. make[3]: *** Waiting for u

Re: No rule to make target 'snmptop.1', needed by 'maninstall' issue

2022-08-25 Thread Bart Van Assche
On 8/24/22 23:49, nur syahirah syafinaz wrote: *make[3]: *** No rule to make target 'snmptop.1', needed by 'maninstall'.  Stop. make[3]: *** Waiting for unfinished jobs make[2]: *** [Makefile:992: installsubdirs] Error 1 make[1]: *** [do.mk:498 : .cv22-net_snmp-done] Error 2

Re: Problem with SNMP set command

2022-08-24 Thread murali sarali
Hi, This snmp set issue is seen only after upgrading the net-snmp library to latest version 5.9.1( although SNMP get is working fine ). snmpset -v 3 -u FMS -n FMS 127.0.0.1 1.3.6.1.4.1.1751.2.117.20.1.1.3.1 i 1 Error in packet. Reason: notWritable (That object does not support modification) Faile

Re: Libtool issue

2022-08-22 Thread nur syahirah syafinaz
*/usr/local/gcc-10.2-2020.11-aarch64/bin/../lib/gcc/aarch64-none-linux-gnu/10.2.1/../../../../aarch64-none-linux-gnu/bin/ld: .libs/snmptrapd_handlers.o: in function `command_handler':snmptrapd_handlers.c:(.text+0x508): undefined reference to `convert_v1pdu_to_v2'/usr/local/gcc-10.2-2020.11-aarch64/

Re: Problem with SNMP set command

2022-08-15 Thread Feroz
Looks like the OID itself is not writable. Can you try with other OID's. SNMPv2-SMI::enterprises.1751.2.117.20.1.1.3.1 -Feroz On Tue, Aug 16, 2022 at 9:23 AM murali sarali wrote: > Hi, > > I have modified snmpd.conf by replacing oldEngineID with : > > *engineID 8000b85c03d0672649a01e* > > Or

Re: Problem with SNMP set command

2022-08-15 Thread murali sarali
Hi, I have modified snmpd.conf by replacing oldEngineID with : *engineID 8000b85c03d0672649a01e* Or exactEngineID 0xf5717f06fdc6db4a4600 But still I am getting the same error. Error in packet. Reason: notWritable (That object does not support modification) Failed object: SNMPv2-SMI::enterpri

Re: Problem with SNMP set command

2022-08-15 Thread Feroz
This is wrong. oldEngineID 0x06D70A0D4704 Should be *engineID 8000b85c03d0672649a01e* Or exactEngineID 0xf5717f06fdc6db4a4600 On Mon, 15 Aug, 2022, 1:38 pm murali sarali, wrote: > Hi, > > SNMP set command: > > snmpset -v 3 -u FMS -n FMS 127.0.0.1 1.3.6.1.4.1.1751.2.117.20.1.1.

Re: Problem with SNMP set command

2022-08-15 Thread Feroz
For auth-priv the setcmd would be as follows: Check the man pages, for *auth-no-priv *and *no-auth-no-priv *options. snmpset -v3 -u FSM -a MD5 -A user123 -x AES -X user123 -l *authPriv *127.0.0.1 IF-MIB::ifAdminStatus.3 i 1 On Mon, Aug 15, 2022 at 1:38 PM murali sarali wrote: > Hi, > > SNMP set

Re: Problem with SNMP set command

2022-08-15 Thread Feroz
looks like createUser is causing a problem. Try this *For auth-priv:* createUser testuser MD5 user@123 AES user@123 rwuser testuser priv or *For no-auth-no-priv:* createuser user123 rwuser user123 noauth or *For auth-no-priv:* createUser FSM SHA passwd123 rwuser FSM auth On Mon, Aug 15, 202

Re: Problem with SNMP set command

2022-08-15 Thread Paul Herring
> 1.3.6.1.4.1.1751.2.117.20.1.1.3.1 How does the MIB describe that point? (Google isn't showing anything past 1.3.6.1.4.1.1751.2.X , with 117 not being an X, and I don't recognise what they are.) I suspect it's not writable (at the moment) - at least that's

Re: Problem with SNMP set command

2022-08-15 Thread murali sarali
Hi, SNMP set command: snmpset -v 3 -u FMS -n FMS 127.0.0.1 1.3.6.1.4.1.1751.2.117.20.1.1.3.1 i 1 snmpd.conf file : rwuser FMS noauth syslocation localhost syscontact Root root@localhost master agentx sysobjectid 1.3.6.1.4.1.1751.2.117 AgentXTimeout 60 oldEngineID 0x06

Re: Problem with SNMP set command

2022-08-14 Thread Feroz
Make sur the user/community has read-write access in snmpd.conf file. On Sun, 14 Aug, 2022, 10:03 pm murali sarali, wrote: > Hi, > > SNMP set command is failing with this error : > Error in packet. > > Reason: notWritable (That object does not support modification) > > Failed object: > Can you p

Re: Libtool issue

2022-08-12 Thread Bart Van Assche
Hi Syahirah, Please do not run autoreconf but instead use the configure script included in the Net-SNMP source tree. While the included configure script has been tested thoroughly, running autoreconf may create a broken configure script.

Re: snmpwalk: Unknown user name

2022-08-09 Thread Larry Hayes
You will need to create the SNMP V3 user. See: https://net-snmp.sourceforge.io/wiki/index.php/TUT:SNMPv3_Options for a tutoria on configuration setup. You might also want to check your access control: https://net-snmp.sourceforge.io/wiki/index.php/Vacm On Tue, Aug 9, 2022 at 3:48 AM 김동휘 wrote:

RE: net-snmpd crash

2022-08-05 Thread 김동휘
Dear Munuswamy. I am now implement a net-snmp agent and have many questions and problems. But I don't know anyone who help me. So I have tried to ask that site a question by sending an e-mail to 'Net-snmp-users@lists.sourceforge.net' but the title of the mail is only displayed on that si

RE: Libtool issue

2022-08-05 Thread 김동휘
or me. Best regards. = -Original Message- From: Bart Van Assche [mailto:bvanass...@acm.org] Sent: Friday, July 29, 2022 12:54 PM To: nur syahirah syafinaz ; Net-snmp-users@lists.sourceforge.net Subject: Re: Libtool issue On 7/28/22 19:04, nur sya

Re: Libtool issue

2022-07-28 Thread Bart Van Assche
On 7/28/22 19:04, nur syahirah syafinaz wrote: I am trying to upgrade the netsmp lib to v5.9.1 and whenever I try to compile, it fails. It has the "libtool not found" error even though it has been installed. That's unexpected. How do you build Net-SNMP? Bart. _

Re: How could I leave a message?

2022-07-24 Thread Paul Herring
You've already spammed three to the list. Perhaps ask your question instead of sending test messages? On Mon, 25 Jul 2022, 07:37 김동휘, wrote: > > > > > = > > > > > ___ > Net-snmp-users

Re: Making an Agent

2022-07-11 Thread Wes Hardaker via Net-snmp-users
Cameron Dziama writes: > I am currently trying to make an agent for a cross-platform use case > (RHEL7 and Windows). I've tried to dig through some of the > documentation on agents and it seems like I need to compile my MIB > module into the master agent while building the source. As I > understa

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: Securing snmpd.conf files

2022-06-21 Thread Wes Hardaker via Net-snmp-users
Craig Small writes: > Is there a way to encrypt passwords in the snmpd.conf file? Currently, > when we open > snmpd.conf file we can look at passwords in plaintext format, is there a > way to > store those passwords in encrypted form. Does net-snmp support any > encryption/ > d

Re: Discovery of network map or topology without switch or router

2022-06-21 Thread Michael Schwartzkopff via Net-snmp-users
On 21.06.22 01:42, Hugo I. Reyes wrote: Hello, Can NET-SNMP be used to discover the network map or network topology without switch or router? Is it possible to configure all nodes in a network as snmp managers and still discover the network map or networ topology? Thanks in advance for any hel

Re: snmpwalk timeout

2022-05-11 Thread Wes Hardaker via Net-snmp-users
Feroz writes: > For a given MIB, our container_load function takes 2 seconds, but > still the snmpwalk (v2) command times out with default values (5 > retries with 1 sec delay between each retry). The others have stated this already, but one additional point: it's not just the port and address t

Re: Error: OID not increasing: TCP-MIB::tcpListenerProcess.ipv4."127.0.0.1"

2022-05-11 Thread Bill Fenner
Hi Charles, The next time you see it in this state, can you run "sudo ss -pane" and share the output? I wonder if there are multiple listeners on port 53 and that is confusing the data collection. Bill On Tue, Apr 19, 2022 at 8:50 PM Charles Polisher wrote: > > net-snmp ver 5.9.1 > > > >

Re: snmpwalk timeout

2022-05-06 Thread Feroz
Hi Patrik, My response has two parts. *Part 1:* In the following tcpdump I see the same source port being used by the client i.e 39813 for all the get-next requests. Moreover the agent has responded approximately at the 4th second i.e at 12:10:25.862408. So, the 6th GetNextRequest should have wor

Re: snmpwalk timeout

2022-05-05 Thread Patrik Arlos
Hej, My 2c is: 1. (T=0) Request being sent, timeout set 1s. Request comes from IPsrc:PortSrc, PortSrc is an ephemeral port selected by the OS. 2. (T=0+network travel time(ntt)) Request received, request delegated to thread/worker. Starts loading. 3. (T=0+1) Timeout occurs on sender side. Socket re

Re: Error: OID not increasing: TCP-MIB::tcpListenerProcess.ipv4."127.0.0.1"

2022-04-19 Thread Charles Polisher
net-snmp ver 5.9.1     $ snmpwalk -v2c localhost .1         TCP-MIB::tcpInErrs.0 = Counter32: 0     TCP-MIB::tcpOutRsts.0 = Counter32: 0 TCP-MIB::tcpConnectionState.ipv4."192.168.122.102".52680.ipv4."192.168.1.200".514 = INTEGER: established(5) TCP-MIB::tcpConnectionProcess.ipv4."192.168.122.

Re: snmpwalk

2022-04-13 Thread Simon Chamlian
Actually, it should be* .1* instead of *0.1* But I have different behaviors between version 5.7 and 5.9. With 5.7, the walk continues until all MIBs are accessed. With 5.9, the walk stops at SNMPv2-MIB::sysORUpTime.5 . Is there a reason for this behavior? With Version: 5.9 # snmpwalk -v 2c -

Re: about license

2022-03-31 Thread Paul Herring
9, 2022 6:14 PM > *To:* Shimoyama Yutaka > *Cc:* net-snmp-users@lists.sourceforge.net > *Subject:* Re: about license > > > > The copyright notice lists the copyrights on behalf of 9 entities, not > just a single entity: > > > > buildroot netsnmp-5.7.3]$ grep Part COPY

RE: about license

2022-03-30 Thread Shimoyama Yutaka
esday, March 29, 2022 6:14 PM To: Shimoyama Yutaka Cc: net-snmp-users@lists.sourceforge.net Subject: Re: about license The copyright notice lists the copyrights on behalf of 9 entities, not just a single entity: buildroot netsnmp-5.7.3]$ grep Part COPYING Part 1: CMU/UCD copyright notice:

Re: about license

2022-03-29 Thread Paul Herring
The copyright notice lists the copyrights on behalf of 9 entities, not just a single entity: buildroot netsnmp-5.7.3]$ grep Part COPYING Part 1: CMU/UCD copyright notice: (BSD like) - Part 2: Networks Associates Technology, Inc copyright notice (BSD) - Part 3: Cambridge Broa

RE: Cross Compiled AgentX subagent does not connect to master agent

2022-03-24 Thread Dakota Diehl via Net-snmp-users
lso showing that debugging isn't enabled. I know that the master agent on my production environment supports debugging as I've used it quite a lot. Thank You, Dakota From: Bill Fenner Sent: Saturday, March 19, 2022 10:01 AM To: Dakota Diehl Cc: net-snmp-users@lists.sourcefor

Re: How to enable logging with verbose and log rations in net-snmp daemon in snmpd.conf for

2022-03-21 Thread Suresh
-cod...@lists.sourceforge.net Subject: Re: How to enable logging with verbose and log rations in net-snmp daemon in snmpd.conf for Log to a file and put that file under logrotate(8)? Mike On Mar 21, 2022, at 08:00, Suresh mailto:skjaiswa...@hotmail.com>> wrote: Hi Anyone able enable l

Re: How to enable logging with verbose and log rations in net-snmp daemon in snmpd.conf for

2022-03-21 Thread Mike Eggleston
Log to a file and put that file under logrotate(8)? Mike > On Mar 21, 2022, at 08:00, Suresh wrote: > > Hi Anyone able enable logging with verbose and log rotations in net-snmp > daemon. > from snmpd.conf > From: Suresh mailto:skjaiswa...@hotmail.com>> > Sent: Tuesday, March 15, 2022 7:48 PM >

Re: How to enable logging with verbose and log rations in net-snmp daemon in snmpd.conf for

2022-03-21 Thread Suresh
Hi Anyone able enable logging with verbose and log rotations in net-snmp daemon. from snmpd.conf From: Suresh Sent: Tuesday, March 15, 2022 7:48 PM To: net-snmp-users@lists.sourceforge.net ; net-snmp-cod...@lists.sourceforge.net Subject: How to enable logging wi

Re: Cross Compiled AgentX subagent does not connect to master agent

2022-03-19 Thread Bill Fenner
On Thu, Mar 17, 2022 at 7:19 PM Dakota Diehl via Net-snmp-users < net-snmp-users@lists.sourceforge.net> wrote: > Hello, > > I am working to implement a custom MIB for my company. I have developed > the subagent following the tutorial on net-snmp.org and used mib2c to > generate the code for my MI

Re: Netsnmp 5.8 cores

2022-03-15 Thread Suhasini Katuri
Hi Team, Any inputs can be appreciated. Thanks, Suhasini. On Thu, Feb 24, 2022 at 11:57 AM Suhasini Katuri wrote: > Hi Bill and Team, > > We are using Netsnmp-5.8, where it has integrated with path > 0001-agentx-master-Return-when-NETSNMP_CALLBACK_OP_RESEND.patch >

Re: journalctl error | tcpConnectionTable insert (-1)

2022-02-25 Thread Ricky Cousins
, February 24, 2022 4:38:50 PM Subject: Re: journalctl error | tcpConnectionTable insert (-1) Are you logging debug messages? [ https://github.com/net-snmp/net-snmp/blob/7fe7a78eb113fa752c224b358b931b6ef8530e29/snmplib/container.c#L347 | https://github.com/net-snmp/net-snmp/blob/7fe7a78eb113fa752c

Re: journalctl error | tcpConnectionTable insert (-1)

2022-02-24 Thread Paul Herring
Are you logging debug messages? https://github.com/net-snmp/net-snmp/blob/7fe7a78eb113fa752c224b358b931b6ef8530e29/snmplib/container.c#L347 If so, on a production system you should probably reduce the amount of logging that's happening. On Thu, Feb 24, 2022 at 2:31 PM Ricky Cousins wrote: >

Re: Request help with compiling for ARM

2022-02-16 Thread Bart Van Assche
On 2/16/22 12:57, raja vankam wrote: 1. ./configure command ./configure --with-enterprise-sysoid=.1.3.6.1.4.1.EID --with-enterprise-notification-oid=.1.3.6.1.4.1.EID  --with-cflags="-I/home/ti-processor-sdk-linux-am335x-evm-06.03.00.106/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/include

Re: adding FIPS-required self test (KDF KAT) to snmp

2022-02-15 Thread Bill Fenner
On Tue, Feb 15, 2022 at 5:53 AM Cristian Andrei Sandu wrote: > I’m trying to use net-snmp as part of a FIPS 140-3 submission. One of the > requirements for this is to have a known-answer test (KAT) for the key > derivation function (KDF) that is implemented in snmplib (i.e., > generate_Ku() / gen

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: Available DHCP Leases

2022-02-10 Thread Bill Fenner
Hi Peter, I've used the extension at https://github.com/ohitz/dhcpd-snmp to monitor ISC dhcpd with net-snmp - but your NMS has to not care that the MIB is not at all correctly structured. Bill On Sun, Dec 19, 2021 at 6:59 AM Peter Ketteridge via Net-snmp-users < net-snmp-users@lists.sourcefor

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: Snmptrapd: how to use snmpusm to manage users ?

2022-02-01 Thread Enrico Demarin
Hi Paul, yes I did - and it works well when managing "snmpd" users however it's not clear what needs to be passed to work on the snmptrapd users: *-CE ENGINE-IDSet usmUserEngineID to be used as part of the index of the usmUserTable. Default is to use the contextEngineID (set via -E or probed) as

Re: Snmptrapd: how to use snmpusm to manage users ?

2022-02-01 Thread Paul Herring
Not that I've personally tried, but have you attempted to use the command as directed from the man page? https://linux.die.net/man/1/snmpusm i.e. *clone* an existing user, then reset/change the pass phrase? On Mon, Jan 31, 2022 at 9:47 PM Enrico Demarin wrote: > Hello All, > > I am facing an i

Re: Overriding sysDescr / 1.3.6.1.2.1.1.1 in .so agent

2022-01-26 Thread Janne Paalijarvi
I got it. I just need to de-initialize the stock handler first like this: oid tMib2SysDescrOid[] { 1,3,6,1,2,1,1,1 }; unregister_mib(tMib2SysDescrOid, OID_LENGTH(tMib2SysDescrOid)); Then I register my own :) Excellent! r. Janne On Tue, 25 Jan 2022 at 23:49, Janne Paalijarvi wrote: > > Hello, >

Re: Overriding sysDescr / 1.3.6.1.2.1.1.1 in .so agent

2022-01-25 Thread Janne Paalijarvi
snmpd.conf is an option, but I would like to avoid it. It creates a bit of a mess because everything else is already in fine internal data structures. But if there is nothing else available, I might need to yield. I will still research a bit. Thank you for suggesting anyways. r. Janne On Wed, 26

Re: Overriding sysDescr / 1.3.6.1.2.1.1.1 in .so agent

2022-01-25 Thread Paul Herring
Is setting the string in snmpd.conf a viable option? # sudo grep sysDe /etc/snmp/snmpd.conf sysDescr changed string # snmpget -v2c -c public localhost .1.3.6.1.2.1.1.1.0 iso.3.6.1.2.1.1.1.0 = STRING: "changed string" On Tue, Jan 25, 2022 at 9:51 PM Janne Paalijarvi wrote: > Hello, > > I'm t

  1   2   3   4   5   6   7   8   9   10   >