Re: Processing traps in a real-time system

2017-08-22 Thread Wes Hardaker via Net-snmp-users
Joan Ametller Esquerra writes: > 1. Write a simple trap receiver by my own. The drawback is that >looking at the code of snmptrapd I see a lot of library >initializations I do not know about and I am not sure I have enough >documentation to do it properly.

Re: SNMP V3 trap not working when configuring same user with different authentication type

2017-08-22 Thread Wes Hardaker via Net-snmp-users
Hitesh Patel writes: > Can anybody suggest possible reason behind this error? You should read this webpage which describes the differences between traps and notifications with respect to v3 with authentication and how to configure snmptrapd:

Re: SNMPv3 Debian Question

2017-06-06 Thread Wes Hardaker via Net-snmp-users
Pranesh Kulkarni writes: > syscontact admin It *can't* be configured in snmpd.conf. If it is the agent will treat it as a read-only object because it can't save the state to it's own dynamic configuration storage. You need to remove the reference to it in the snmpd.conf

Re: SNMPv3 Debian Question

2017-06-06 Thread Wes Hardaker via Net-snmp-users
Pranesh Kulkarni writes: > [root@localhost ~]# snmpset -c private localhost sysContact.0 s "adminstrator" > SNMPv2-MIB::sysContact.0 = STRING: adminstrator Wait if that works (and please tell me "private" is not your real community string), then you probably need to set up

Re: Running net-snmp in a docker container ?

2020-08-26 Thread Wes Hardaker via Net-snmp-users
"Waines, Greg" writes: > * MasterAgent and SubAgent communicate over TCP/IP between containers or > between container and host So the one issue there is that AgentX over TCP is potentially insecure. Between containers, in an isolated environment, it's fine. Between the container and the

Net-SNMP v5.9.rc2 available for testing

2020-08-06 Thread Wes Hardaker via Net-snmp-users
The next release candidate of Net-SNMP (5.9.rc2) is available at https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9-pre-releases/ This is barely different from 5.8.1.rc1, but contains a 5.9 version number instead. There were too many API changes (though small) under the

Re: Receiving multiple request

2020-12-02 Thread Wes Hardaker via Net-snmp-users
Deepak Sachan writes: > But when i run one snmpset for all oids e.g > snmpset oid1 value1  oid2 value2  oid3 value3 oid4 value4 >  i received repeated (4 to 5 times)set request for each oid. The snmp implementation and agentx protocols work by sending multiple SET "phases" to ensure that the

Re: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file

2020-12-15 Thread Wes Hardaker via Net-snmp-users
chandrasekharreddy chinnapareddygari writes: > I'm using net-snmp 5.8 version .My requirement is conf files should updtae > without restarting snmpd . > > I'm sending SIGHUP signal to update SNMP data with out restarting snmpd . > snmpv3 details are not updating . > Please help me how to

Re: snmpd.conf security

2021-01-05 Thread Wes Hardaker via Net-snmp-users
Joan Landry writes: > Would like to know if there is a way to make snmpd.conf file more > secure - as currently it shows the password for a usm user. > createUser v3user MD5 abcdefghij DES abcdefghij trapsess -r 10 -t 3 -l > authPriv -u v3user -a MD5 -A abcdefghij -x DES -X abcdefghij >

Re: HELP - Net-SNMP AgentX - Problem with new MIB and snmpset

2021-05-14 Thread Wes Hardaker via Net-snmp-users
Simone Moni writes: >         if ($request_info->getMode() == MODE_GET) { >             # ... generally, you would calculate value from oid >             if ($oid == new > NetSNMP::OID(".1.3.6.1.4.1.193.37.10.11.64.10.1.2.0")) { >             $request->setValue(ASN_OCTET_STR, $default_SP); >    

Re: snmptrapd queue+retry

2021-05-06 Thread Wes Hardaker via Net-snmp-users
Feroz writes: > I tried as follows,  serverRecvBuf and  serverSendBuf worked, but > timeout/retries didn't work. > > [snmp] timeout 10 > [snmp] retries 60 So if you're forwarding via traps, timeouts and retries make no sense since they're not acknowledged by the remote server. There is no

Re: [init_smux] bind failed: Address already in use

2021-05-26 Thread Wes Hardaker via Net-snmp-users
Mauro Tridici writes: > Since both the applications are proprietary, how can I detect the NAME > string? You need to work with those proprietary applications and configuration to figure out how to configure them properly... I can't help with that unfortunately. -- Wes Hardaker USC/ISI

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

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

Re: Adding 3rd Party MIB to NET-SNMP

2021-06-02 Thread Wes Hardaker via Net-snmp-users
"Saha, Madhuparna via Net-snmp-users" writes: > I am trying to add a 3^rd party MIB file to my SNMP agent. Adding a mib to an agent requires writing code -- you can't just add in the text MIB definition file. You might look at the "Coding Tutorials" section of the wiki:

Re: ANOMALY: NET-SNMP version: 5.7.3: snmpget/set return -V on STDERR !!!

2021-06-02 Thread Wes Hardaker via Net-snmp-users
Webtest writes: > I can understand your frustration as well ... it sounds like a good > question for Linus. Well, every application developer does their own thing. Linus only has control over the kernel, not the applications that run within it. (nor does he want control over what's inside)

Re: Current LTS release of net-snmp

2021-05-21 Thread Wes Hardaker via Net-snmp-users
Bart Van Assche writes: > On 5/21/21 12:28 AM, Thommandra Gowtham wrote: > > We have been using net-snmp 5.7.3 on Ubuntu 16.04 for the last 3 > > years. We are planning to upgrade to 20.04 and along with it > > upgrade net-snmp as well for picking up new features. > > > > May I know which is the

Re: Net-SNMP 5.9 crashes: agentx_check_packet snmp_read2

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

Re: CIS hardening?

2021-05-21 Thread Wes Hardaker via Net-snmp-users
Dachshund Digital writes: > And one more comment... SNMP is hated, by every internal security team > I have ever encountered.  A late reply (sorry), but to add one additional point to all the other wonderful comments (v1/v2c vs v3 certainly matters): It's not just about security of the

Re: snmpwalk fails with SHA/AES

2021-06-03 Thread Wes Hardaker via Net-snmp-users
Krishna Vivek Vitta via Net-snmp-users writes: > Intitially, snmpwalk succeeds for 10-12 mins, but later it fails with > Authentication failure which is puzzling. We are clueless on how to > proceed ahead. Can you see if it works using snmpwalk and not just zabbix? > * Deleted the user and

Re: [init_smux] bind failed: Address already in use

2021-05-25 Thread Wes Hardaker via Net-snmp-users
Mauro Tridici writes: > 2) Following the official instructions, in order to monitor the Application2, > I have to add > these lines in the same /etc/snmp/snmpd.conf file: > ... > trap2sink localhost ... > In this case, Application2 status can't be monitored using snmpwalk because, > by

Re: ANOMALY: NET-SNMP version: 5.7.3: snmpget/set return -V on STDERR !!!

2021-05-25 Thread Wes Hardaker via Net-snmp-users
Webtest writes: > The reason is that "snmpget -V" returns the VERSION, but it returns it > on STDERR ... NOT STDOUT as it is supposed to ??? Well, "supposed to" is an interesting statement. I wonder how many packages do stdout vs stderr. I know I have a lot of frustration trying to figure out

Re: Building net-snmp-5.9.1 in Freebsd

2021-07-02 Thread Wes Hardaker via Net-snmp-users
If you want to drop the kmem usage, try: --without-kmem-usage -- Wes Hardaker USC/ISI ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options:

Re: snmptrapd queue+retry

2021-04-29 Thread Wes Hardaker via Net-snmp-users
Feroz writes: > I see "serverRecvBuf", "serverSendBuf","retries"  but they don't seem > to work, when used in snmptrapd.conf file.   -- Regards, Feroz Ahmed If those are what you need, put them inside the snmptrapd.conf file with a [snmp] tag before them: [snmp] serverRecvBuf ...

Re: Problem with SNMPv3 traps with authentication

2021-03-30 Thread Wes Hardaker via Net-snmp-users
Michał Tarczyński writes: > I have a problem with receiving SNMPv3 authPriv traps on my own Java > trap receiver. So I don't *know* what your particular problem might be; but I can recommend a few things to look at: 1) try INFORMs instead of TRAPs and see if you get more interesting results.

Re: snmpwalk: security service 3 error parsing ScopedPDU

2021-08-16 Thread Wes Hardaker via Net-snmp-users
chandrasekharreddy chinnapareddygari writes: > variable-bindings: 1 item > RFC1213-MIB::mib-2.15.3.1.1.4.0.0.41.218 > (1.3.6.1.2.1.15.3.1.1.4.0.0.41.218): > Object Name: 1.3.6.1.2.1.15.3.1.1.4.0.0.41.218 >

Re: End of support for net-nmp 5.7.3

2021-10-07 Thread Wes Hardaker via Net-snmp-users
Olivier Germain via Net-snmp-users writes: Greetings, and sorry for the delay. > I am new on SNMP. I apologize in advance if I am not in the correct  mailing > list. I > searched in the announcement archive mailing list but I didn't find the > information. > as net-snmp 5.9.1 is the current

Re: End of support for net-nmp 5.7.3

2021-10-22 Thread Wes Hardaker via Net-snmp-users
Olivier Germain writes: > Sorry for being late in getting back to you. I'll see with my team how we can > upgrade > to 5.9.1 in short terms. In general, we strive to be very backwards compatible so upgrading shouldn't ever be a huge strain. -- Wes Hardaker USC/ISI

Re: Ref. snmpd question

2022-01-21 Thread Wes Hardaker via Net-snmp-users
Mauricio Giovagnini via Net-snmp-users writes: > 1. First of all make install will copy the binary to > /usr/local/sbin/snmpd even if doing a $ sudo make install > So the simple process was to copy it to the location expected > $ sudo cp /usr/local/sbin/snmpd /usr/sbin/ The use of /usr/local is

Re: Available DHCP Leases

2022-01-21 Thread Wes Hardaker via Net-snmp-users
Peter Ketteridge via Net-snmp-users writes: > I am trying to use NET-SMNP to get the number of available DHCP leases (or the > number of used IPs), I have done an SMNP walk and I just cant seem to find the > correct OID to use, I think it should be something like the following: I don't think

Re: net-snmp core dumps

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

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: [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: 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

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

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

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