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

what is right place to load subagent configuration

2024-05-06 Thread Андрей Лобов
He everyone, I write subagent, referring to the guide http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent So far so good - I'm able to get the simple scalar metric. Now I need to use some parameters, which should be loaded from configuration files. >From what I got I need to use

Tutorial not responding correctly

2024-04-30 Thread Johnnie W Adams
Hi, I'm working through the SNMPv3 Options tutorial and finding that the commands are not returning the correct results. For instance: snmpgetnext -v 3 -n "" -u noAuthUser -l noAuthNoPriv test.net-snmp.org sysUpTime snmpgetnext: Timeout (Sub-id not found: (top) -> sysUpTime) Thanks,

Creating Local User for Web login on the HPE MSR954 Router

2024-04-12 Thread Turritopsis Dohrnii Teo En Ming via Net-snmp-users
Subject: Creating Local User for Web login on the HPE MSR954 Router Good day from Singapore, Author: Mr. Turritopsis Dohrnii Teo En Ming Country: Singapore Date: 12 Apr 2024 Friday Reference guide: Quick Start Configuration Guide for Accessing the Web Interface of a Device Without a Default IP

Teo En Ming's Notes on Upgrading Firmware on HPE MSR954 Router and Enabling Web Interface - Version 1

2024-04-11 Thread Turritopsis Dohrnii Teo En Ming via Net-snmp-users
Subject: Teo En Ming's Notes on Upgrading Firmware on HPE MSR954 Router and Enabling Web Interface - Version 1 Author: Mr. Turritopsis Dohrnii Teo En Ming Country: Singapore Date of Action: 11 Apr 2024 Thursday Time: 8.30 PM to 11.00 PM Step 1: Configuring IP address on router port GE1 to

HPE MSR954 Router Console Bootup Messages and Show Version

2024-04-01 Thread Turritopsis Dohrnii Teo En Ming via Net-snmp-users
Subject: HPE MSR954 Router Console Bootup Messages and Show Version Good day from Singapore, I have bought a refurbished/second hand/used HPE MSR954 router at Canberra Road for $30 on 30 Mar 2024 Saturday at about 10 pm. Serial Number: CN11DB MAC address: 4CAEA37BD937 Console bootup

Teo En Ming's Notes on Basic Configuration of Cisco ASA 5516-X Firewall - Version 1

2024-03-20 Thread Turritopsis Dohrnii Teo En Ming via Net-snmp-users
Subject: Teo En Ming's Notes on Basic Configuration of Cisco ASA 5516-X Firewall - Version 1 Good day from Singapore, Author: Mr. Turritopsis Dohrnii Teo En Ming Country: Singapore Date of Publication: 20 March 2024 Wednesday Document Version: 1 I have bought this refurbished/second hand/used

Trap on delta difference

2024-03-19 Thread Gowtham
Hi I need to raise a mteTrigger trap when the IF-MIB::ifInErrors per minute go beyond 10 on all the interfaces. So tried the below config in snmpd.conf monitor -S -D -r 60 "Network inErrors" ifInErrors 9 10 This sends a mteTriggerRising trap if the ifInErrors increase by 10 in the last 60

TCP trapsink snmpd.conf causes error

2024-03-12 Thread Atkins, Brian via Net-snmp-users
I reported this back in 2020, but I think there was confusion caused by my response. Snmpd definitely throws an error if a trapsink contains a TCP transport specifier: # cat /etc/snmp/snmpd.conf rocommunity public trapsink tcp:10.224.4.161 public # snmpd -f -Le snmpd:

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

snmpwalk v3 returns timeout whilst v1 works just fine.

2024-03-06 Thread Mariano Eduardo
*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 most likely? I'm simply running sudo snmpwalk -v3 -t 10 -u testuser -a MD5 -A password123 -l authNoPriv -n v3context -x DES 127.0.0.1

net-snmp compatibility with openssl3x

2024-02-04 Thread Ambika Cp
Hi Team, I am looking for a net-snmp version which is compatible with openssl3x. Could you please let me know if we have the net-snmp that goes with openssl3x? Regards Ambika ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please

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.

snmpget and dtlsudp/dtls domain issue

2024-02-01 Thread Vincent Gilson via Net-snmp-users
Hi ! I've trouble to make work snmpget (running on Linux Mint) to initiate DTLS connection with an agent. Hostname "tboxvincent" is correctly set in 'hosts' file, and it's working fine when I ping it. It seems snmpget has trouble with dtlsudp or dtls transport domain (tried both), returning

Fwd: snmpd agent does not want to reply

2024-01-17 Thread wim delvaux
HI all, I have a 5.7.3 server and 5.9.1 clients running on different computers. The problem is the client does not get any answers from the server when running with the -d option I see a send and a receive of one packet (I presume authentication) and then a set of sends but not receives and

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

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. > >

hrMemorySize and hrStorageTable are missing

2023-12-27 Thread Dan Langille
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. Hosts are running: /usr/local/sbin/snmpd -f -Lo -Dhost -c

Kurt Tay Foo Wei is Targeted Individuals Singapore

2023-12-23 Thread Kurt Tay Foo Wei
Subject: Kurt Tay Foo Wei is Targeted Individuals Singapore Kurt Tay Foo Wei is a Targeted Individual in Singapore. Kurt Tay Foo Wei has probably criticized/badmouthed the Singapore Government, Minister Mentor Lee Kuan Yew, Prime Minister Lee Hsien Loong, Ho Ching and/or other cabinet ministers

I have confirmed that the latest Sophos Firewall SFOS version 20.0.0 GA-Build222 is using open source Snort as its Intrusion Prevention System (IPS)

2023-11-19 Thread Turritopsis Dohrnii Teo En Ming via Net-snmp-users
Subject: I have confirmed that the latest Sophos Firewall SFOS version 20.0.0 GA-Build222 is using open source Snort as its Intrusion Prevention System (IPS) Good day from Singapore, I have started installing Sophos Firewall SFOS version 20.0.0 GA-Build222 on my Intel Celeron J3160 (4 GB DDR3L

[UPDATE 3] [Thunderbird email client] Composing email: Clicking Options > Delivery Status Notification Does Not Work At All!!!

2023-11-13 Thread Turritopsis Dohrnii Teo En Ming
Subject: [UPDATE 3] [Thunderbird email client] Composing email: Clicking Options > Delivery Status Notification Does Not Work At All!!! Good day from Singapore, Today is 13 November 2023 Monday Singapore Time 7 PM. Recently I have installed Thunderbird email client version 115.4.1 (64-bit)

net-snmp 'invents' extraneous varbindings for sub-agent

2023-10-31 Thread Pobinger, Gerhard
Hi, * we use net-snmp as the SNMP v3 demon that forwards requests to certain MIBs to our self-written, locally running SNMPv1 sub-agent. We have noticed that when the SNMP client issues a GETBULK request that cannot be completely fulfilled (e.g. there are less entries in the table than

[World Wide Announcement] Mr. Teo En Ming has configured, setup, and deployed 22 Fortigate firewalls for 20 companies in Singapore so far

2023-10-21 Thread Turritopsis Dohrnii Teo En Ming
Subject: [World Wide Announcement] Mr. Teo En Ming has configured, setup, and deployed 22 Fortigate firewalls for 20 companies in Singapore so far Good day from Singapore, Ever since Mr. Turritopsis Dohrnii Teo En Ming joined his present IT Solutions Provider company the American Defense

Tutorials for Intermediate Table and trap notifications

2023-10-17 Thread Prankur Chauhan
Dear SNMP team, Referring to the mib2c mfd tutorial for IF-MIB was helpful to understand the read-only attributes/columns of the IF-MIB::ifTable. What I also wanted to understand the setting of values / adding new rows (as you guys mentioned in the Intermediate table tutorial) but I could not

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

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

snmpwalk doesn't always translate OIDs

2023-08-23 Thread Jan Andersen
I have a curious problem with snmpwalk in debian 11 - if I run something like: root@vogon:~# snmpwalk -v 2c -c netgear netgear1 SNMPv2-MIB::sysORID I get OIDs translated to text: SNMPv2-MIB::sysORID.1 = OID: SNMPv2-SMI::mib-2.96 SNMPv2-MIB::sysORID.2 = OID: SNMPv2-SMI::mib-2.32.2

Net-SNMP 5.9.4 available

2023-08-21 Thread Wes Hardaker via Net-snmp-users
We're happy to announce the release of version 5.9.4 of Net-SNMP! The NET-SNMP Development Team Contents of this announcement - - What has Changed recently? - Where can I get it? - Are there binaries available? - What operating systems does it run on? -

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

New version of net-snmp v5.9.4

2023-08-11 Thread Andrei Cristea -X (acristea - ENDAVA DOO at Cisco) via Net-snmp-users
Hello, Does anyone know when the version v5.9.4 will be released ? I understand that this version contains the fix for #474 and #475. Regards, Andrei

usmStatsUnknownUserNames error with Blank ContextName

2023-05-25 Thread Arvind Uniyal
Hi, Objective: Create a snmpv3 user with blank contextName. I have netsnmp library code and I create a snmpv3 user with below lines in snmpd.conf file group grpSample usm User123 view snmp_view included .1 access grpSample "" any priv exact snmp_view snmp_view none engineIDType 3 createUser

usmStatsUnknownUserNames Error with Blank ContextName

2023-05-25 Thread Arvind Uniyal
Hi, Objective: Create a snmpv3 user with blank contextName. I have netsnmp library code and I create a snmpv3 user with below lines in snmpd.conf file group grpSample usm User123 view snmp_view included .1 access grpSample ContextSample any priv exact snmp_view snmp_view none engineIDType 3

snmpd as proxy v3

2023-05-01 Thread Mohsen Pahlevanzadeh
Hello, I have the following scenario: I have a Host P as snmpd I have a CoreSwitch as pool of vlan. Then I have a host p and q. P has o do snmp on CoreSwitch and collect data. Then p and q do snmpd on P host. All of them must be snmpv3 . Can I implement it with snmpd? Specially V3. --Regards

IPv6 default routes go unreported in inetCidrRouteTable?

2023-04-25 Thread Charles Polisher
Hello, list. I hope the wide format of the text below isn't spoiled by my mail client or yours. If it is, I've posted the identical text to https://pastebin.com/raw/RH4RVLht . I hope someone can explain why IPv6 default routes are omitted from net-snmp ver 5.9.3 fetch of

EVIDENCE: Singapore Government could read my mind, knows all of my passwords and attempted to login to my LinkedIn account on the morning of 23 Apr 2023 Sunday

2023-04-23 Thread Turritopsis Dohrnii Teo En Ming
Subject: EVIDENCE: Singapore Government could read my mind, knows all of my passwords and attempted to login to my LinkedIn account on the morning of 23 Apr 2023 Sunday Good day from Singapore, At exactly 11:18 am on 23 Apr 2023 Sunday (Singapore Time GMT+8), I received a SMS OTP from LinkedIn.

snmptrap v3 authentication

2023-04-14 Thread Simon Chamlian
Hi, The snmptrap v3 authentication does not seem to be working. I am using Version: 5.9.1 >From my agent, I issue: snmptrap -v 3 -u Simon -a MD5 -A SimonPass -l authNoPriv 172.27.37.227 "" coldStart.0 I do receive the trap on my Trap Receiver even if I didn't specify a Username and

I have figured out how to configure SD-WAN, Link Aggregation, Virtual IPs and IP Pools on Fortigate 200F and 201F Firewalls

2023-03-30 Thread Turritopsis Dohrnii Teo En Ming
Subject: I have figured out how to configure SD-WAN, Link Aggregation, Virtual IPs and IP Pools on Fortigate 200F and 201F Firewalls Good day from Singapore, I have figured out how to configure SD-WAN, Link Aggregation, Virtual IPs and IP Pools on Fortigate 200F and 201F Firewalls, today, 30 Mar

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

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

2023-02-02 Thread Steve Hollywood
Net-SNMP v5.9.3 with python 3.6.3. I'm not sure if this has only become an issue since the move of strings from bytes to Unicode in Python 3 but I cannot set an OID value to an octet string containing octets >=128. I am trying to set a MAC address in an OID. macAddress =

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)       

Need Help with my Table Iterator Sub-Agent

2023-01-05 Thread Ian C via Net-snmp-users
I have a sub-agent which I'm hoping will handle snmpwalk requests.  Presently what is happening is that my get_first_data_point() reads a file (a QNX PPS object to be specific), each line in the file represents on table row. Each line is json-formatted and gets parsed to the field level. 

SELinux Permissions

2023-01-04 Thread Palmer, Hil S. via Net-snmp-users
Hello, I had been fighting getting the details from hrPartition when SELinux is enforcing. Does net-snmp create the SELinux permission rules, or would that be the distro? Thank you, Hil This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18

inetCidrRouteIfIndex + large routing table

2022-11-28 Thread Undro
Hello. My linux router has a large routing table. "ip r | wc -l" shows almost 3 million lines. Process snmpd stops responding if send a request: inetCidrRouteIfIndex = "1.3.6.1.2.1.4.24.7.1.7" Checked on the latest version snmpd: 5.9.1 Does this problem have a solution?

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/

ucd-snmp-3.5.3.tar.gz

2022-11-16 Thread Magnus Fromreide
Hello! I am doing some software archeology and for that I have found that I need the distribution tar file for ucd-snmp-3.5.3. I am sadly not able to find that tar file on the internet - maybe it is just a case of my google karma beeing bad - so I am humbly asking if anyone here happens to have

[net-snmp 5.9] trapHandler does not support run_shell_command

2022-11-10 Thread Jacques Samoun
Hello, trying to define a trap handler as follows: OS: Linux 5.4.56 / Arm net-snmp5.9 package from buildroot /etc/snmp/snmptrapd.conf traphandle default /sbin/print_trap.sh traphandle SNMPv2-MIB::coldStart/sbin/print_trap cold Then, i am sending a test trap using snmptrap utility (v2c

I have identified and resolved LAN IP address conflicts and solved the issue of connecting to SAP server over Fortigate firewall site to site IPsec VPN tunnel on 3 Nov 2022 Thursday

2022-11-05 Thread Turritopsis Dohrnii Teo En Ming
Subject: I have identified and resolved LAN IP address conflicts and solved the issue of connecting to SAP server over Fortigate firewall site to site IPsec VPN tunnel on 3 Nov 2022 Thursday Good day from Singapore, I have identified and resolved LAN IP address conflicts and solved the issue of

Undefined reference errors with net-snmp-5.7.2-49.el7_9.2 version make

2022-10-10 Thread Suchetha p
Hi, We are using the latest net-snmp-5.7.2-49.el7_9.2 version available in RHEL7. When we try to compile this version of net-snmp library I am getting the below error: net-snmp-5.7.2/agent/snmpd.c:457: undefined reference to `netsnmp_sd_listen_fds' Thanks,

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

How to Configure Aruba 7005 Wireless Controller with ArubaOS 8.9.0.3

2022-10-01 Thread Turritopsis Dohrnii Teo En Ming
Subject: How to Configure Aruba 7005 Wireless Controller with ArubaOS 8.9.0.3 Teo En Ming's Learning Notes - 7 Sep 2022 Wednesday PHASE 1 - LEARNING PHASE = Information Gathering = 0. Look for DHCP

snpmset error seen after upgrading to net-snmp-5.9.1

2022-09-30 Thread Suchetha p
Hi, We have upgraded net-snmp library from 5.7.2 to 5.91. recently. After upgrading to this latest version of net-snmp 5.9.1 version facing issues with the SNMP set command. SNMP set command fails with the below error for all the OID’s: snmpset -v 3 -u FMS -n FMS 127.0.0.1

Re: snmptrap + tables

2022-09-12 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,

snmptrap + tables

2022-09-11 Thread Cyrus
Hello!, I'm trying to integrate LibreNMS with a northbound manager through SNMP traps using snmptrap@net-snmp. The way notifications work in that tool is that you can have a notification event, which has several faults (event interface errors that applies to 4 ports out of the 48 a device may

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.

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

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

2022-08-29 Thread nur syahirah syafinaz
* -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 -lClntOptions -lOptions ./libtool: line 1702:

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

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

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

2022-08-25 Thread nur syahirah syafinaz
*make[3]: *** No rule to make target 'snmptop.1', needed by 'maninstall'. Stop.make[3]: *** Waiting for unfinished jobsmake[2]: *** [Makefile:992: installsubdirs] Error 1make[1]: *** [do.mk:498 : .cv22-net_snmp-done] Error 2make: *** [Makefile:198: cv22_net_snmp] 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)

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

SNMP table question

2022-08-18 Thread Mostafa Kassem
Greetings, I inherited an SNMP table with the following definition. Before I open my mouth and complain and make a fool of myself, I would like to know from the experts that the table definition is correct and perhaps it is the way I used mib2c to compile it that is the problem. BTW, I used

Re: Problem with SNMP set command

2022-08-16 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:

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

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

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,

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

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

Problem with SNMP set command

2022-08-14 Thread murali sarali
Hi, SNMP set command is failing with this error : Error in packet. Reason: notWritable (That object does not support modification) Failed object: Can you please help. Thanks, ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please

SHA Version

2022-08-13 Thread Feroz
Hi, 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 -- Regards, Feroz Ahmed ___

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 김동휘

snmpwalk: Unknown user name

2022-08-09 Thread 김동휘
___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users

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

RE: Libtool issue

2022-08-05 Thread 김동휘
Dear All. 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 site, the

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.

Libtool issue

2022-07-28 Thread nur syahirah syafinaz
Hi, 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. Does anyone have the same issue as mine? Need help on this. Thanks in advance. Regards, Syahirah

Reg: net-snmpd crash

2022-07-28 Thread Velu Munuswamy
Hi, We are getting a segmentation fault in "run_config_handler" which is in net_snmpd library code. core dump is not consistent to reproduce the issue. Using net-snmp version 5.8. Below is the backtrace. << (gdb) bt #0 0x in ?? () #1 0x7ff35d9e4286 in

Please check my attachment.

2022-07-25 Thread 김동휘
Dear All, I don’t know how to ask a question at this site. I can't find how to do. Could anyone let me know it? I send my question to Net-snmp-users@lists.sourceforge.net. But only the title of my email is displayed, not question content. Sorry ___

Re: How could I leave a message?

2022-07-25 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: > > > > > = > > > > > ___ >

How could I leave a message?

2022-07-25 Thread 김동휘
Dear All, I don’t know how to leave a question at this site. So I check whether this mail is right for asking a question. Sorry ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or

Q Test

2022-07-25 Thread 김동휘
___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users

net snmp q

2022-07-24 Thread 김동휘
___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Replay traps received from snmptrapd

2022-07-19 Thread Matt Hughes
I'm looking to capture/log traps on one machine via snmptrapd and then "replay" them back at a later time with snmptrap with a little help. I run snmptrapd -f -Lod -n -OnqX on the capture machine. And then I try to take one of those lines and run the parameters into snmptrap. However, snmptrapd

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 >

Making an Agent

2022-07-07 Thread Cameron Dziama
Hello, 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 understand it right now, this

snmpwalk command

2022-07-07 Thread Turritopsis Dohrnii Teo En Ming
Subject: snmpwalk command Good day from Singapore, Just sharing this snmpwalk command. snmpwalk -v3 -u [username] -l authPriv -a SHA -A [authentication password] -x AES -X [encryption password] localhost Regards, Mr. Turritopsis Dohrnii Teo En Ming Targeted Individual in Singapore 7 July 2022

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

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

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

2022-06-23 Thread John Bize
In a recent thread, Wes mentioned using "net-snmp-config --create-snmpv3-user" to create SNMP v3 users.  I recently started using net-snmp on Debian 11 (bullseye) and discovered that the installed /usr/bin/net-snmp-create-v3-user script had an undefined variable (datarootdir). My workaround

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/ >

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

Discovery of network map or topology without switch or router

2022-06-20 Thread Hugo I. Reyes
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 help on answering these questions! Kind

How to install and configure SNMPv3 in RHEL 7, then open UDP port 161 using firewalld

2022-06-13 Thread Turritopsis Dohrnii Teo En Ming
Subject: How to install and configure SNMPv3 in RHEL 7, then open UDP port 161 using firewalld Good day from Singapore, These are my notes on installing and configuring SNMPv3 in RHEL 7 and then opening UDP port 161 using firewalld on 13 Jun 2022 Mon. Step 1 - Checking if SNMP was installed and

  1   2   3   4   5   6   7   8   9   10   >