Re: SIGHUP for changing SNMP agent Port
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 handle that now you're right. -- Wes Hardaker Please mail all replies to net-snmp-cod...@lists.sourceforge.net ___ 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: [EXTERNAL EMAIL] Re: snmpwalk doesn't always translate OIDs
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 ___ 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 5.9.4 available
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? - Which versions of the SNMP protocol are supported in this package? - I've found a bug or have a suggestion, how do I tell you about it? What has Changed recently? --- The NEWS file snippits from these releases are as follows. See the CHANGES and ChangeLog files for increasing levels of detail. *5.9.4*: IMPORTANT: SNMP over TLS and/or DTLS are not functioning properly in this release with various versions of OpenSSL and will be fixed in a future release. libsnmp: - Remove the SNMP_SWIPE_MEM() macro Remove this macro since it is not used in the Net-SNMP code base. - DISPLAY-HINT fixes - Miscellanious improvements to the transports - Handle multiple oldEngineID configuration lines - fixes for DNS names longer than 63 characters agent: - Added a ignoremount configuration option for the HOST-MIB - disallow SETs with a NULL varbind - fix the --enable-minimalist build apps: - snmpset: allow SET with NULL varbind for testing - snmptrapd: improved MySQL logging code general: - configure: Remove -Wno-deprecated as it is no longer needed - miscellanious ther bug fixes, build fixes and cleanups Where can I get it? -- Download: - https://www.net-snmp.org/download.html Web page: - https://www.net-snmp.org/ Github source code: - https://github.com/net-snmp/net-snmp Older Sourceforge Project page: - https://www.net-snmp.org/project/net-snmp/ Are there binaries available? - Binaries do appear on our download site, but often are published a bit later than the normal source code. Most of the binaries that are available have been linked with the OpenSSL package so you'll need a copy of it installed in order to use them. If you don't have OpenSSL installed and don't want it installed, please get the net-snmp source release instead and built it yourself (but you'll loose support for SNMPv3 with SHA1 authentication and both DES and AES encryption). What operating systems does it run on? - Both the applications and the agent have been reported as running (at least in part) on the following operating systems for at least one version of Net-SNMP: * Linux (kernels 4.17 to 1.3) * Solaris/SPARC (11 to 2.3), Solaris/Intel (10, 9) -- see README.solaris * HP-UX (11.31 to 9.01) -- see README.hpux11 * Mac OS X (10.5 to 10.1) -- see README.osX * NetBSD (2.0 to 1.0) * FreeBSD (7.0 to 2.2) * OpenBSD (4.0 to 2.6) * BSDi (4.0.1 to 2.1) * AIX (6.1, 5.3, 5.2, 5.1, 4.3.3, 4.1.5, 3.2.5) -- see README.aix * IRIX (6.5 to 5.1) * OSF (4.0, 3.2 and Tru64 Unix 5.1B) -- see README.tru64 * SunOS 4 (4.1.4 to 4.1.2) * Ultrix (4.5 to 4.2) * Dynix/PTX 4.4 * QNX 6.2.1A See our FAQ at http://www.net-snmp.org/wiki/index.php/FAQ for more details on portability of the Net-SNMP package. Which versions of the SNMP protocol are supported in this package? - SNMPv1, SNMPv2c, and SNMPv3, including: * user-based (USM) support * an alpha implementation of kerberos-based and ssh-based support * HMAC-SHA-2 Authentication Protocols (RFC 7860) SHA-224, SHA-256, SHA-384 and SHA-512 * AES-192 and AES-256 privacy protocols from draft-blumenthal-aes-usm-04 * TLS and DTLS-based support in 5.9.4 is currently problematic due (most likely) to changes in OpenSSL APIs and will be addressed in future versions. I've found a bug or have a suggestion, how do I tell you about it? - Please submit the bug to our bug-tracking system at: http://www.net-snmp.org/bugs/ Please submit patches (for features or bugs) to our patch-tracking system. (You don't need to submit a big report as well, just a patch) http://www.net-snmp.org/patches/ ___ 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: New version of net-snmp v5.9.4
"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 release 5.9.4 this week without a fix (I had hoped to get it out the door yesterday but failed to get it done). -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: SHA Version
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, use SHA256 for example to get a stronger token. -- Wes Hardaker Please mail all replies to net-snmp-cod...@lists.sourceforge.net ___ 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: Making an Agent
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 > understand it right now, this would require me to spin off a separate > demon process to handle requests from the client--this would cause > problems with my Windows solution. Actually, you can compile net-snmp and include your code into the main (master) agent if you wish instead. A sub-agent is one option, but is not the only one. I'm not familiar enough myself with compiling on windows, but with mingw32 you should be able to run configure and add the --with-mib-modules flag to include your code files. -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Securing snmpd.conf files
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/ > decryption of passwords while reading from snmpd.conf? > > The snmpusm manpage describes a way of making SNMP v3 users. > The passwords are, I believe, stored as MD5 HMAC and not cleartext. Good answer and thanks for noting this. Even more importantly: they're not only stored as a MAC, but also stored in a way that is isolated to just that machine and localized with an engineid. Specifically, the snmpd.conf manual page about the createUser line says: This directive should be placed into the /var/net-snmp/sn‐ mpd.conf file instead of the other normal locations. The reason is that the information is read from the file and then the line is removed (eliminating the storage of the master password for that user) and replaced with the key that is derived from it. This key is a localized key, so that if it is stolen it can not be used to access other agents. If the password is stolen, how‐ ever, it can be. Thus the createUser line should *never* be put in a global config file that is not where the agent stores it's data in the first place. The manual page also talks about how to use the net-snmp-config tool to help with this: Instead of figuring out how to use this directive and where to put it (see below), just run "net-snmp-config --create-sn‐ mpv3-user" instead, which will add one of these lines to the right place. -- Wes Hardaker Please mail all replies to net-snmp-cod...@lists.sourceforge.net ___ 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: snmpwalk timeout
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 that snmpwalk is looking for. There is also the SNMP packets also contain a request-id that is not duplicated in the retries. So each request will look new and will be processed as if new even though the ports and addresses themselves may be the same. [Caching, as others have said, will help] -- Wes Hardaker Please mail all replies to net-snmp-cod...@lists.sourceforge.net ___ 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: Available DHCP Leases
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 any of the stanndard MIBs we support offer the number of available leases. -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Ref. snmpd question
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 pretty standard for open source packages to default to as an installation path. If you run ./configure --help |& grep -i prefix You'll find that you can set the installation paths you wish to use, including where to look for config files. -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: net-snmp core dumps
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 > #1 0x00080097e6c2 in usm_create_usmUser_from_string () from /lib/ > libnetsnmp.so.35 This seems strange -- can you tell me what the contents of the file look like (being careful not to expose secrets). -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: End of support for net-nmp 5.7.3
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 ___ 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: End of support for net-nmp 5.7.3
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 version, would this automatically mean that > for > instance net-snmp 5.7.3 is end of support. > I am asking you this question because we are using net-snmp 5.7.3 as a > 3rdparty in > our software thus this would mean for us to upgrade to 5.9.1. We used to keep much older branches up to date. But today our only actively maintained patch branch is the 5.9 series, so yes 5.9.1 is the most recent version and is the one you should probably be using. You can see the current supported versions here: http://www.net-snmp.org/download.html -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: snmpwalk: security service 3 error parsing ScopedPDU
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 > (RFC1213-MIB::mib-2.15.3.1.1.4.0.0.41.218) > Value (IpAddress): So what do you mean by ""? If the ScopedPDU isn't of the right size, then the client does reject it as being incomplete. IE, if the agent is not sending a properly encoded scopedpdu there is nothing the client and do (and its not its fault, it's the agent's). -- Wes Hardaker Please mail all replies to net-snmp-cod...@lists.sourceforge.net ___ 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: Building net-snmp-5.9.1 in Freebsd
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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: snmpwalk fails with SHA/AES
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-added again. The behavior is same after certain > time > * Changed the engine id. The behavior is same Make sure the engineid being reported is actually what you expect (don't know why it would be different, but...) Can you also see if the engineid boots and time values look good both incoming and outgoing? IE, are they syncing ok like they should? > * Deleted the user and re-added with MD5/DES. Polling is success without any > errors in long run. Very odd. -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: net-snmp 5.9.1 error : not-in-time-window
"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 response > with engineboot = 1. This is OK, but next request from the manger is > with engineboot=20 and the agent response error with > not-in-time-window. It's unclear to me what manager you're using, but that last step makes no sense. Why would the mangager switch from engineboots = 1 to 20 unless the agent told it to? -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: ANOMALY: NET-SNMP version: 5.7.3: snmpget/set return -V on STDERR !!!
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) -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Adding 3rd Party MIB to NET-SNMP
"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: http://www.net-snmp.org/wiki/index.php/Tutorials -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: [init_smux] bind failed: Address already in use
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 ___ 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: [init_smux] bind failed: Address already in use
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 default, > Application2 sends traps to the trap manager only when a fail or event > occurs. agentx clients should send traps through the agentx protocol, and shouldn't define their own trap sinks by default. But, you shouldn't be using the same configuration file for both the master agent and the client. You should put your subagent configuration inside the "NAME.conf" file instead, where NAME is the string you pass to snmp_init() in your code. -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: ANOMALY: NET-SNMP version: 5.7.3: snmpget/set return -V on STDERR !!!
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 which applications in /usr/bin send --help to stdout vs stderr. There doesn't seem to be a convention. -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Net-SNMP 5.9 crashes: agentx_check_packet snmp_read2
Ł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 should probably be using: while(keep_running){ agent_check_and_process(1); } Unless you're doing other things in the loop, there is no reason not to let it block. -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: CIS hardening?
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 protocol and whether the service is used or not. SNMP, by its very nature, allows access to a lot of internal information (as would any management protocol) and allows altering a lot of system systems if you have SETs enable and supported (as does any management protocol). In the end, it's a service that allows access to a lot of sensitive information. It is critical that you deploy it with forethought and good engineering practice. So the guidance of "don't use it if you don't need it" is spot on. And if you do need it (many of us do), deploy it with careful thought and security frameworks (snmpv3, firewalls, selective VACM configuration, etc). -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Current LTS release of net-snmp
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 latest LTS version of net-snmp? Is it 5.9 rc1 > > or 5.8.1 rc1? Curious as we want to pick a stable version and need to > > support it. > > The v5.8 branch is no longer maintained so please select the v5.9 > branch. At this point heavy development of new features in Net-SNMP has greatly slowed (the SNMP protocol is rather stable, no new work in the IETF is doing SNMP design/development). I'll release 5.9.1 likely later today (yay work deadlines are past), and I'd suggest you strongly consider using this one. When we were under very heavy development, we had LTS branches specifically marked with lots of parallel development. These days the most recent patches branch (the 5.9 series) will likely stick around and be supported the longest until eventually 5.10 comes out. As a open source project, we should re-evaluate now what we want to do with the LTS markings given that we're no longer releasing super-new features on a rapid fire basis. IMHO, we should switch to the latest patch branch being supported for as long as possible with the main branch eventually triggering a new release as necessary. Other opinions (very) welcome. -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: HELP - Net-SNMP AgentX - Problem with new MIB and snmpset
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); > } > if ($oid == new > NetSNMP::OID(".1.3.6.1.4.1.193.37.10.11.64.10.1.3.0")) { > $request->setValue(ASN_OCTET_STR, $default_PC); > } If these are your two values, then your GETNEXT code needs to deal with both. But you have both answers in your GETNEXT code in the same spot. You need another if statement for $oid < ... .1.3.0: > } elsif ($request_info->getMode() == MODE_GETNEXT) { > # ... 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->setOID(".1.3.6.1.4.1.193.37.10.11.64.10.1.2.0"); > $request->setValue(ASN_OCTET_STR, $default_SP); > $request->setOID(".1.3.6.1.4.1.193.37.10.11.64.10.1.3.0"); > $request->setValue(ASN_OCTET_STR, $default_PC); > } You only have one if statement above, eg. > } elsif ($request_info->getMode() == MODE_SET_RESERVE1) { > if ( ( $oid != new > NetSNMP::OID(".1.3.6.1.4.1.193.37.10.11.64.10.1.2.0")) and ( $oid != > new NetSNMP::OID(".1.3.6.1.4.1.193.37.10.11.64.10.1.3.0")) ) { # do error > checking here > $request->setError($request_info, SNMP_ERR_NOSUCHNAME); > } > } elsif ($request_info->getMode() == MODE_SET_ACTION) { > # ... (or use the value) > $value = $request->getValue(); > } You're setting the $value variable but never using it again -- you would need to update the $default_SP or equivelent based on the incoming OID (which you'll need an if statement for each inside the MODE_SET_ACTION check). -- Wes Hardaker Please mail all replies to net-snmp-cod...@lists.sourceforge.net ___ 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: snmptrapd queue+retry
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 way to know whether or not it was received. If you want that support, you should be using INFORMs instead of TRAPs. -- Wes Hardaker Please mail all replies to net-snmp-cod...@lists.sourceforge.net ___ 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: snmptrapd queue+retry
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 ... serverSendBuf ... [snmptrapd] # rest of file -- Wes Hardaker Please mail all replies to net-snmp-cod...@lists.sourceforge.net ___ 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: Problem with SNMPv3 traps with authentication
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. 2) Make sure you understanding SNMPv3 trans with respect to the authoratative engineID to be used -- see the http://www.net-snmp.org/wiki/index.php/TUT:snmptrap_SNMPv3 web page for some long but very important details on the subject. -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: snmpd.conf security
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 > 10.11.12.98 Per the documentation, a createUser line should *only* go into the persistent file (/var/net-snmp/snmpd.conf) and is replaced by the agent with a usmUser line after startup. The usmUser line is also sensitive, however, as it contains a private key that is at least localized to just that agent fortunately. That file is written by the process owner and should only be read by the process owner (typically root), and is the best that can be achieved given the need by the protocol to store localized keys. -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file
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 proceed further. I'm confused about how you're going about adding and deleting users? Are you doing it by putting users into a configuration file? If so, which one? Are you doing it using the snmpusm command to create new users? Once they're created, are you editing the files to remove the user or using snmpusm to delete them? -- Wes Hardaker Please mail all replies to net-snmp-cod...@lists.sourceforge.net ___ 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: Receiving multiple request
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 entire transaction can be successfully handled or all reverted if not. Thus there are two reservation steps indicated by the action being performed at the time (RESERVE1 and RESERVE2) that are passed to your code to ensure you can actually do something. You should read this page that describes some of the states and how processing is done: http://www.net-snmp.org/wiki/index.php/Agent_Modes -- Wes Hardaker Please mail all replies to net-snmp-cod...@lists.sourceforge.net ___ 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: Running net-snmp in a docker container ?
"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 host you are leaking a TCP port that may be used maliciously. AgentX was designed to run over a secured socket, so the right thing to do is attach a secured socket instead through the container file passing mechanism; I assume this is possible but haven't tried it. -- 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: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Net-SNMP v5.9.rc2 available for testing
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 V5-8-branches git branch to justify a 5.8.1 release, so we've changed the pending version number 5.9. This will hopefully be the last release of the 5.9 pre-releases. Only show stopping bug fixes should be committed at this point. -- Wes Hardaker ___ 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: SNMP V3 trap not working when configuring same user with different authentication type
Hitesh Patel <hiteshjpatel2...@gmail.com> 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: http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd_to_receive_SNMPv3_notifications -- Wes Hardaker USC/ISI -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ 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: Processing traps in a real-time system
Joan Ametller Esquerra <joan.ametl...@gmail.com> 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. The right thing to do is implement a snmptrapd_handler, which you can copy from one of the existing examples and adapt it. See either snmptrapd_log.c or snmptrapd_sql.c for example. -- Wes Hardaker USC/ISI -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ 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: Proxy v3 to v3 VACM question
ROBERT BOYER <rboyer...@comcast.net> writes: > My confusion stems mostly from how VACM plays into this configuration. > From a review of the code, it looks like the proxy has no current > mechanism to forward along the security related parameters necessary > for the subagent to properly process VACM-based authorization, but > maybe I misunderstood something. Correct, there is no way to pass credentials. The proxy really takes over *after* the existing agent's VACM has let the packets through to the proxy processing engine. Then it uses the configured credentials to access the agent beyond it (the one being proxied). There is no ability to pass credentials straight through, though you can configure multiple proxies yourself in a 1:1 mapping using different snmpv3 context names I think. -- Wes Hardaker USC/ISI -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ 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: SNMPv3 Debian Question
Pranesh Kulkarni <pranes...@gmail.com> 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 authorization properly and your SNMPv3 user doesn't have write access to the object. Se the VACM section of the snmpd.conf manual and/or change the rouser line to rwuser for your v3 user. -- Wes Hardaker USC/ISI -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ 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: SNMPv3 Debian Question
Pranesh Kulkarni <pranes...@gmail.com> 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 file if you want to update it via snmpset. -- Wes Hardaker USC/ISI -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ 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: how can i confirm snmp version
一成 <sxq...@126.com> writes: > Could you kindly tell me that how can I get the version of > snmp from the snmp’s library? Such like this: # net-snmp-config --version 5.8.dev (for example) -- Wes Hardaker USC/ISI -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ 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: SNMPv3 Debian Question
"Jan-Philipp Schollbach" <j.schollb...@gmx.ch> writes: > I configured by snmpd an v3 User with the command --> > sudo net-snmp-create-v3-user -ro -A -a SHA -X -x AES > trap Was the snmpd agent running when you ran that command? It actually can't be. To add new users via the CLI, you need to stop the agent, run the command, and then restart it. (once you have an initial user configured, you can use snmpusm command to add new users to a live agent) -- Wes Hardaker USC/ISI -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ 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: Object value of OID .1.3.6.1.4.1.8072.4.2
Pushpa Thimmaiah <pushpa.thimma...@gmail.com> writes: > I can see a snmp-agent sending out snmpv1 trap OID while restarting. I think that's a mistake and it should be sending ...8072.4.0.2 instead, which is the shutdown trap. IE, when you're restarting it should be doing both a shutdown and a restart. -- Wes Hardaker USC/ISI -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ 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-snmp instalation problem :snmpd not installed
deepak.sachan deepak.sachan <deepak.sac...@deal.drdo.in> writes: > 1. I am not able to find snmp.conf You likely need to create them. Some packages come with example configuration files, I'm not sure about ubuntu. > 2. snmp server (snmpd) is not installed. (is it possible while installing > net-snmp ,snmpd is not > installed ) You likely need to install the agent package, not just the primary net-snmp package. Search the package database in ubuntu for "snmpd". But then you state: > 3. All the snmp client tool (snmpwalk ,snmpget etc) are running except snmpd > . while running - > > $ snmpd > snmpd: symbol lookup error: /usr/local/lib/libnetsnmpmibs.so.30: undefined > symbol: netsnmp_memdup That sounds like a version incompatibility. IE, I think you've manually compiled net-snmp at some *and* have a package installed. That is generally a bad thing to do because of library differences. -- Wes Hardaker Please mail all replies to net-snmp-cod...@lists.sourceforge.net -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ 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: multiple master C/C++ agents on localhost
Pavel Komarov <pav...@silicom.co.il> writes: > I set multiple IP addresses to localhost in /etc/hosts file and successfully > pinged all of them, but when I opened > second agent, I received the error "Error opening specified endpoint". You need to use the command line arguments to specify different address destinations. to set the listening point: snmpd udp:10.0.0.1:161 (eg) To set the agentx listening address point, you'll need to use the -x argument: snmpd -x /var/agentx/socket1 udp:10.0.0.1:161 and then point the sub-agents to that socket as well. -- Wes Hardaker Parsons -- ___ 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-snmp-5.7.2 with openssl1.0.2 causing error
Test ssl <testossl2...@gmail.com> writes: > yes we did use --with-openssl and pointed it towards the openssl > library of 1.0.2h compiled by us. But strangely net-snmp still looking > for 1.0.1 openssl. Look carefully at the output of configure when you run it and ensure it's finding what it needs in your 1.0.2h path you specify. Also note that you should start from a "make distclean" since configure may have cached your old openssl information. -- Wes Hardaker Parsons -- ___ 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: SNMPv3 user will be set to NONVOLATILE and couldn't be deleted
Zhouhuai Shen <shenzho...@hotmail.com> writes: > When I have created a snmpv3 user, looks like the user's type was set > to NONVOLATILE. As a result of this, the next snmpd restart will save > this user to a non-volatile config file -- snmpd.conf. This user will > be persistent forever. Does anyone know why and how I can delete the > user if I have to? Yep, perform an SNMP set the usmUserStatus column for that user to 6 (destroy). -- Wes Hardaker Parsons -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ 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: is test.net-snmp.org online ??
Dan Miller <d...@anacominc.com> writes: > # snmpgetnext -v 3 -u MD5User -a MD5 -A "The Net-SNMP Demo Password" -l > authNoPriv test.net-snmp.org sysUpTime > DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (12131402) 1 day, > 9:41:54.02 > > Unfortunately, that doesn't work for me either: It is likely that your firewall is blocking outgoing snmp access? -- Wes Hardaker Parsons -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ 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: Support of hash SHA256 from NetSnmp
Gerasimos Kouris kour...@hotmail.com writes: As far as I understand AES ciphers stronger than 128bits are not supported by NetSnmp. Correct. There is no standardized definitions for using AES beyond 128. If I set encryption cipher to AES will that default to AES128?? AES == AES128 in terms of command line arguements. How about hash SHA2? Does NetSnmp support hash SHA256? SHA256 is not yet supported, but it should be in a future release as a patch to support it is being worked on. -- Wes Hardaker Parsons -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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: ACK of snmp informs
Pushpa Thimmaiah pushpa.thimma...@gmail.com writes: How to confirm whether SNMPv3 informs reached destination(NMS) or not. SNMPv3 informs are called as acknowledged trap. Can this acks be captured ? If they're not received then an error is generally spit out. EG, for the snmpinform command: # snmpinform -v 2c -c test localhost 42 .1.2.3.4 snmpinform: Timeout Which shows that a timeout occurred and the message was never delivered. -- Wes Hardaker Parsons -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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: snmptrapd and reverse DNS lookups
Troy Lea troy_...@hotmail.com writes: But that still makes me think, how many times does snmptrapd attempt to perform the DNS lookup? It should be once per packet, possibly twice if it's looking up both sides of the connection. (he says without diving into the code to be sure) Is this number of lookups something that can be defined to prevent this going on for 4-5 hours? 4-5 hours is crazy, as no timeout for either SNMP or DNS should ever be that long. -- Wes Hardaker Parsons -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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: snmpwalk issue
yuvaraj r yuvaraj...@gmail.com writes: If i use snmpwalk for table sample 1 during table sample 2 is getting updating, I am seeing crash in my subagent. Because snmpwalk is really just sending a series of GETNEXTs until it gets a response that is outside your sample 1 table (when walking that table), then it will eventually get an answer for sections of the mib tree beyond the sample 1 table. If the sample 2 table is the next object in the mib tree, then yes snmpwalk will end up causing the sample 2 table implementation to get hit as the agent searches for an answer to the GETNEXT for the last item in the sample 1 table. I'd suspect your crash is related to your sample 2 table implementation, but you'd need a debugger to be sure. -- Wes Hardaker Parsons -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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-SNMP V5.7.3 standard version vulnerability
Pak Leung Tam swmac...@gmail.com writes: Is any outstanding vulnerability on the Standard version of NET-SNMP V5.7.3 (Not the pre-release version). It seems the v5.7.3 pre-release version is still exposed to the following vulnerability. V5.7.3 has the applied fix. -- Wes Hardaker Parsons -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 SNMP query
Vivek Maurya vivek.t...@gmail.com writes: I do not want to modify SNMP exist code. You can configure the agent to remove the implementation of that variable and re-implement it using an extension instead. See the EXTENDING AGENT FUNCTIONALITY section of the snmpd.conf manual page. -- Wes Hardaker Parsons -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ 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: DTLS not consistent
Dharm S dharm.sk2...@gmail.com writes: failed rfc5343 contextEngineID probing So, judging from the packet information it appears that the snmp library looks like it gets the dtls connection open (or at least it believes it is; whether the *other* side agrees is subject to debate still). Then it's trying to send a contextEngineId probe through which is 69 bytes long. and it tries that multiple times (and you can see the buffer filling up because all the packet buffers add up in multiples of 69). And then it finally fails with a contextEngineId sync failure. Do you have the logs from the server side too? -- Wes Hardaker Parsons -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ 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: Are we allowed to change enterprise oid contents (i.e 1-4 octets) in engineID ?
Pushpa Thimmaiah pushpa.thimma...@gmail.com writes: I am implementing traps and have changed 1-4th octet of engineID (0x80000300b0ad01) with my company's enterprise oid and added the same engineID (0x80000300b0ad01) in snmptrapd.conf. But trapreceiver 'snmptrapd' shows usm: no match on engineID . It's likely that the snmpv3 users you created in the snmptrapd were not created with the right engineId. So, yes you're allowed to change them, and in fact there are configure script options to help you, but you need to make sure the users are created with the right engineId too. -- Wes Hardaker Parsons -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ 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: SNMP configuration
ly2008...@sina.com writes: Hello everyone, I am a beginner to the SNMP protocal. These days I'm trying to configure the snmpd.conf, but it failed. How did it fail? What error message did you get? How did you send a query to the agent? -- Wes Hardaker Parsons -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ 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: Include only TSM module
Dharm S dharm.sk2...@gmail.com writes: I disabled applications since it has snmpusm. But still it shows this error. What all tokens should be used to remove usm and include only tsm module?? At this time, the usm module is required. You can't remove it. You don't have to use it, but the ability to remove it hasn't been implemented. -- Wes Hardaker Parsons -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ 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: format of SNMP engineID
Pushpa Thimmaiah pushpa.thimma...@gmail.com writes: I got it. 1st bit is SNMPv2c/v3, 1-4octet enterprise id, 5th format indicator. There are actually multiple formats for the engineID. See the SnmpEngineID textual convention in the SNMP-FRAMEWORK-MIB.txt mib. -- Wes Hardaker Parsons -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ 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: snmpv3 traffic
Asia Imbiss asiaimbi...@yahoo.de writes: i know that it's possible to send and receive messages without using a virtual machine. but i haven't figured out yet how to do it...can anyone help?? The tutorial on this page: http://www.net-snmp.org/wiki/index.php/TUT:SNMPv3_Options Pretty clearly describes everything you need. In fact, the commands on that page should work to talk to the demo agent, if you just copy and paste them. -- Wes Hardaker Parsons -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ 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: SNMP Trap interval
Stephan Alz stephan...@gmx.com writes: I would prefer sending an SNMP trap right when an event happens (latest within 30 seconds) for the same reason why the guy detailing it in the article. You can use the -r flag on the monitor line to set the number of seconds between the internal poll to see if there is a problem. It's impossible to detect instantly when a problem occurs, though. -- Wes Hardaker Parsons -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ 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: Need of snmpDaemon while sending snmp traps
Pranesh Kulkarni pranes...@gmail.com writes: snmpd -- SNMP Agent Daemon which sends the trap snmptrapd - SNMP Trap Daemon which recevies the trap snmptrap - Application which sends the trap Pranesh is right: Functionally snmptrap sends a manual trap to a given destination and it has nothing to do with the running agent. Some people use this in scripts to send a trap from a cron script or some other mechanism, where the agent doesn't necessarily have the information to send the trap. -- Wes Hardaker Parsons -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ 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: snmptrap under IPv6 after setting clientaddr
Rizwan Ansari rans...@mvista.com writes: I looked into IPv4 code and feel like same code is missing under IPv6 section. Thanks for the patch! Can you submit it to our patch database to make sure it doesn't get lost? http://www.net-snmp.org/patches/ -- Wes Hardaker Parsons -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ 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: snmpd.conf and 'sys*' Configuration Directives
David Hauck dav...@netacquire.com writes: It seems that there is no way to reset the sys* configuration directives (sysName/sysDescr/sysLocation/sysContact If you have set them with an snmpset, then the persistent state is stored in /var/net-snmp/snmpd.conf by default (though some linux distributions move it to /var/run/net-snmp/snmpd.conf). It is in there that the new values are stored. SNMP doesn't have a delete command, so it isn't really possible to delete a value via snmp. You can set it to blank, or another value, but not to go away. -- Wes Hardaker Parsons -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ 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: Error: Couldn't open a master agentx socket to listen on (tcp:localhost:1705):
yuvaraj r yuvaraj...@gmail.com writes: Error: Couldn't open a master agentx socket to listen on (tcp:localhost:1705): You probably have another application using that port. Try lsof -i tcp:1705 to figure out what is using it. -- Wes Hardaker Parsons -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ 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: Is Net-SNMP linux namespace aware?
Ani A aniruddh...@gmail.com writes: Is Net-SNMP namespace aware? if so, can anyone please point me to any documents/man pages/configs. I'm not actually sure what you mean by namespace aware. namespace is used in a large number of contexts, and it's not normally used with SNMP so can you clarify the question? -- Wes Hardaker Parsons -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ 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 5.7.3.rc3 available
The hopefully last release candidate for the upcoming 5.7.3 is now available, and is version stamped 5.7.3.rc3. Note that there was no official 5.7.3.rc2 since i forgot to update the changelog file but had already tagged it. http://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.3-pre-releases/ -- Changes: V5.7.3.rc1 - V5.7.3.rc3 (there was no official rc2) commit e69ac8728987b33852c5007667015a6d23cbe85b Author: Wes Hardaker harda...@users.sourceforge.net Date: Mon Nov 10 11:57:58 2014 -0800 make depend for 5.7.3.rc3 commit f6eb2013fd3db444df670b956010e77c0fc2b1d2 Author: Wes Hardaker harda...@users.sourceforge.net Date: Mon Nov 10 11:30:01 2014 -0800 Release Candidate for V5-7-patches commit 1165717bea711b0798327085f31ac3dbc577b2fb Author: Wes Hardaker harda...@users.sourceforge.net Date: Mon Nov 10 11:29:58 2014 -0800 Version number update: 5.7.3.rc3 commit de0ebcf027accd21e642436d91074484f7ce62d8 Author: Wes Hardaker harda...@users.sourceforge.net Date: Fri Nov 7 16:21:52 2014 -0800 make depend for 5.7.3.rc2 commit 6b43b9b9ae3e17fc2747dc522bf9a0c4a8025964 Author: Wes Hardaker harda...@users.sourceforge.net Date: Fri Nov 7 15:47:10 2014 -0800 Release Candidate for V5-7-patches commit 01dbb30b7dd5fccca6950a50a09d5c0b0d9862f6 Author: Wes Hardaker harda...@users.sourceforge.net Date: Fri Nov 7 15:47:05 2014 -0800 Version number update: 5.7.3.rc2 commit a9307c82589ff6895341a5a03e5e0b4358350cb2 Author: Niels Baggesen n...@users.sourceforge.net Date: Fri Nov 7 06:51:34 2014 +0100 snmplib/system.c: make the test for return code from uname conform to POSIX. commit bd86390cf1300683e5ffbe1922a523c7cf211b0f Author: Bart Van Assche bvanass...@acm.org Date: Sun Sep 28 20:08:38 2014 +0200 T065agentextend_sh_simple: Add a new regression test -- Wes Hardaker Parsons -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk ___ 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: Error in packet. Reason: Unknown Error with snmpwalk
Gefei Jiang gji...@ixiacom.com writes: When I do snmpwalk on one of my table (ntpTable) it displays Very odd. Can you run snmpwalk with both -d and -Ddump and send us that output? -- Wes Hardaker Parsons -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ 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: Setting community string to net-snmp when net-snmp is up and running.
Benix Vincent benixvinc...@yahoo.com writes: Ie. I will know the community string only after net-snmp daemon is up and running. There isn't a way to do that, no. -- Wes Hardaker Parsons -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ 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: Disable snmp v2
Indian Warrior indian.warrio...@gmail.com writes: net-snmp-users@lists.sourceforge.net Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) This is the /etc/snmp/snmpd.conf that we need to remove snmp v2 from it and= only retain snmp v3. Can you please advise what entry here will disable snm= p v2? The best way is to actually use --disable-snmpv1 and --disable-snmpv2c when running configure, actually. -- Wes Hardaker Parsons -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ 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-snmp-5.7.2.1 compiling failed
linda zhu lzhu07...@yahoo.com writes: I am new to use net-snmp. I downloaded net-snmp-5.7.2.1, and tried to compile it. But it failed. Can you grab a fresh copy and try again? The original release package was mildly broken. -- Wes Hardaker Parsons -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ 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: HELP
M.AMJAD amji...@yahoo.com writes: i have received a PEN (Private Enterprise Number) from IANA which is 1.3.6.1.4.1.43120, by default i have mib2 installed with net-snmp in CentOS, i need help how to download private or experimental MIBs so that i can use my private OID 43120 with get command, give me the link, i will be very thankful to all of u If you want to develop your own mibs, you should start by reading our agent coding tutorials: http://www.net-snmp.org/wiki/index.php/Tutorials#Coding_Tutorials -- Wes Hardaker Parsons -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ 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: SW Release 5.7.2.1
Markus Königshaus m.koenigsh...@wut.de writes: you have included obj - files in the net-snmp-5.7.2.1.tar.gz (look at the filesize) at sourceforge. Yep (ack!). Can you grab a fresh copy and try again? -- Wes Hardaker Parsons -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ 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: Multi byte character support !!!
Harish Jadhav har...@tecknodreams.com writes: My worry is on Asian languages where character typically gets stored in multi bytes and am not sure how netsnmp stack behaves in such cases like finding strlen or C pointer increments etc. So thought of putting this question in forum so I can get some pointers for my understanding. Yep, it's certainly a concern and I doubt wide characters are working correctly. It's a project someone should take on to fix, but I suspect it'll be difficult simply because it may require a new API at certain spots. -- Wes Hardaker Parsons -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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-snmp for aix 7.1
VOLLMER Mark(MS) - BRUCE POWER mark.voll...@brucepower.com writes: Is or when will there be a release that supports AIX 7.1? Version 5.7.2 supports 6.1, but I can not find support for 7.1. Have you tried it to see if it works? One of the things that happens over time is that OSes update and we don't update our list until someone confirms it still works properly (IE, a make test returns the same results at least). With major OS updates, it is common for some agent MIB modules to stop working or returning the correct data because the kernel interfaces (especially) have changed. But you need to try it to be sure! -- Wes Hardaker Parsons -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ 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: Multi byte character support !!!
Harish Jadhav har...@tecknodreams.com writes: Kindly let me know if netsnmp stack supports multi byte character set or unicode. The net-snmp code generally uses things like the isprint() function from the c-library to determine whether a given string of octets are printable or not. If they're printable, according to local settings, then it gets printed. If not, then it gets translated to hex and printed that way instead. At least in many places. Now, will that work perfectly with utf-8 or similar? I believe it will for many places, but I'm not 100% sure. In fact, I'm far less sure than that. Have you tried it to see what happens? -- Wes Hardaker Parsons -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ 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-SNMP 5.7.2 Time out issues
Flowers, Rob (NIH/CIT) [E] flowe...@mail.nih.gov writes: Timeout: No Response from localhost This particular server has 54 IP addresses assigned, is there a limit on the number of connections that can be monitored? No, but some tables are slower than others. To be sure that you're not hitting a table that is taking longer to respond than the 1 second or so that the tools wait by default, try running with '-t 30' or something to see if that causes more data to be returned. -- Wes Hardaker Parsons -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ 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: replace of if-mib
klaus k.sperl...@teleos-web.de writes: but i got some warnings that if-mib etc needs this mib. Comppiling also failed. Try including if-mib in the list of --with-out-mib-modules. But, the problem may be worse than that. Because other mibs may be using the ifIndex from the ifMib and may need APIs that the if-mib implementation exposes. So yes, you may run into other compilation problems that will indicate that other mib modules also need to be removed as well. Of all the MIBs ever produced, the IF-TABLE has more MIBs that reference it than any other. By far, the ifIndex is the most common variable to reference from other MIBs. -- Wes Hardaker Parsons -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ 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: perl snmp subagent table tutotial?
Michael Schwartzkopff mi...@schwartzkopff.org writes: is there any good tutorial for a snmp subagent to handle a table? http://www.net-snmp.org/wiki/index.php/Tut:Extending_snmpd_using_perl -- Wes Hardaker Parsons -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ 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: Overwriting values for different rowIds
Hanish Bansal hanish.bansal.agar...@gmail.com writes: I am using below maven dependency in my app: dependency groupIdorg.snmp4j/groupId artifactIdsnmp4j-agent/artifactId version2.0.8/version /dependency That sounds like you're using snmp4j and not Net-SNMP. If so, you should write them instead of this list. -- Wes Hardaker Parsons -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ 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: Should my set handler be hit multiple times?
Andrew Agno nets...@agno.net writes: In particular, having my code log whenever MODE_SET_COMMIT is called, I see that it gets called twice. Is this expected behavior? The FAQ mentions this can happen with get next/first, but not on setting a value. One thing that I have noticed is that I can only reproduce this if I have an event loop that pauses for a long time (using sleep(1), for example): while(keep_running) { while(agent_check_and_process(0) 0) ; // need to call this in a loop or things don't work sleep(1); } The sleep will certainly cause issues because the manager likely has a timeout set to retry sending a request. And if it times out while you're sleeping the manager will send a second SET request. This can be verified by using the -d switch, which dumps packets being sent. The better way to do that loop is: while(keep_running) { agent_check_and_process(1); } Setting the argument 1 to agent_check_and_process will cause it to block and wait for packets, so you shouldn't need a sleep. -- Wes Hardaker Parsons -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ 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: start net-snmp from inetd?
Evan (Guoqing) Li g...@broadcom.com writes: Anyone tried to auto-start snmpd per request by inetd? Though probably possible in theory, the startup time is too expensive for net-snmp to get all the agent mib modules registered, etc, and you really want it to be a long running process. That and doing it out of inetd would likely result in multiple instances being fired up at once, which is definitely not ok. -- Wes Hardaker Parsons -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ 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: noob v3 authentication question
Joe Dougherty jopa...@yahoo.com writes: Thanks Mike. Makes sense that username and password must match. I also have a requirement to change passwords periodically. Can I change the agent password remotely via the management engine? If that is possible i assume there is an ordering dependency where the agent(s) is changed first, and then the management end is changed as the last step? The snmpusm command can be used to change the USM passwords on all the remote agents if you like. Other management station software might have similar routines or windows (I know some do in fact) to let you change passwords on a bunch of remote agents. -- Wes Hardaker Parsons -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ 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: Regarding SysUpTime on LINUX
Pete Snmp petes...@yahoo.com writes: Thanks for that. But , what I am looking for is computing the sysUpTime in Linux. Any API? You mean you want to do it outside of SNMP? You can always go look through the code to find it. See the get_uptime() code in snmplib/system.c -- Wes Hardaker SPARTA, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ 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: Regarding SysUpTime on LINUX
Pete Snmp petes...@yahoo.com writes: Any suggestions on how to compute the sysUpTime on Linux? I beleive this is Agent uptime than 'System'. SNMPv2-MIB::sysUpTime is indeed the uptime of the agent: DESCRIPTION The time (in hundredths of a second) since the network management portion of the system was last re-initialized. If you want the system uptime, then you want this one instead: HOST-RESOURCES-MIB::hrSystemUptime hrSystemUptime OBJECT-TYPE -- FROM HOST-RESOURCES-MIB SYNTAXTimeTicks MAX-ACCESSread-only STATUScurrent DESCRIPTION The amount of time since this host was last initialized. Note that this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because sysUpTime is the uptime of the network management portion of the system. -- Wes Hardaker SPARTA, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ 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: snmpd failure when specifying agentaddress in snmpd.conf
Sudhanshu Rajvaidya sudhans...@gmail.com writes: I am seeing strange failure while specifying agentaddress 161 in snmpd.conf. If I comment out the line in snmpd.conf, snmpd comes up fine. Following are the snippet from failure and success logs, respectively. Have you tried udp:161? -- Wes Hardaker SPARTA, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ 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: behavior of TRAPs and INFORMs when network is down or server restarts
Todd Bradley todd.brad...@nirvanix.com writes: First, what is supposed to happen when snmpd is unable to send a TRAP due to the network interface being down? There is nothing it can do; it doesn't queue traps until they can be sent (because though it might be able to tell about it's own interface, it certainly can't tell about interfaces on the nearest neighbor, etc, that might also affect delivery). How does this differ with an INFORM? INFORMs will at least retry. IE, it'll try to send the INFORM, fail to get a response and will retry to send it up until the retry limit has been reached. But, it's probably trying those pretty quickly and it's likely that the interface will be down longer than the retryLimit*timeout seconds that it'll be using to attempt to send the INFORMs. Second, when snmpd restarts (or crashes) does it remember TRAPs and INFORMs that it hasn't yet delivered, and then retry them when it comes back up? Or is that list kept in memory and is therefore lost? No, it does not. It's only in memory and generally doesn't have that many to send out in the first place (or if it has built up that big of a queue, you probably have much more serious issues). -- Wes Hardaker SPARTA, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ 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: Process Monitoring on Windows
chester.bol...@gdc4s.com writes: In which case, both prCount is indicating an ambiguous Integer value of -1 for these processes and prErrorFlag is indicating Integer 0 for no Error when these processes are not running. I know I can access the Windows Host Resources MIB since I can access the hrSWRunTable MIB Object and return all information in the Task Manager list of processes. Has anyone else experienced this issue? Does the proc command not work correctly on Windows? I *think* it's supposed to work (I don't generally use windows, so...) Walk the hrSWRunTable and make sure the strings match. Because the proc table uses the same data lookup routines, so if they don't match then the proc list won't work. -- Wes Hardaker SPARTA, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ 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: snmp target address problem
MANSOUR NASERI man_nas...@yahoo.com writes: snmpTargetAddrStorageType---readOnly(5) ... after I set all of them , return an error that I can not write snmpTargetAddrStorageType readOnly(5) 1) You can't set a row to readOnly. The readOnly status means it came from a config file. You'd want to set it to createAndGo when you create your rows via SNMP. Instance --- internal0 2) Don't use internal as a prefix... That's really just for internal usage when generating keys. You can use any string you like, but try something like mynotifications instead. but I can write snmpTargetAddrStorageType other(1) 3) you want the storageType to be nonVolitile so it'll save your data across an agent reboot. snmpTargetParamsMPModel---0 snmpTargetParamsSecurityModel---1 snmpTargetParamsSecurityName---public snmpTargetParamsSecurityLevel---noAuthNoPriv(1) snmpTargetParamsStorageType---readOnly(5) snmpTargetParamsRowStatus---active(1) snmpNotifyTable: Instance --- internal0 snmpNotifyName(IDX, IMP) ---Not accessible snmpNotifyTag ---internal0 snmpNotifyType ---trap(1) snmpNotifyStorageType ---readOnly(5) snmpNotifyRowStatus ---active(1) most of the time ,snmpTargetParamsRowStatus---notReady(3)(I dont know why) That would indicate something is missing in the row so it can't become active. Or that you set it to createAndWait instead, which makes it stay in the notReady state until you manually set it to active. -- Wes Hardaker SPARTA, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ 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-snmp for AIX7
Breitenbach, Thomas thomas.breitenb...@atos.net writes: Is net-snmp available for this OS? Net-SNMP is a open-source project that tries to be as portable as possible; however, the core developers don't have boxes around in order to test every OS so to a large extent we have to rely on what people have reported to us works or doesn't work. In your case, you may have to get a AIX7 box to try it (ideally before you switch everything!). -- Wes Hardaker SPARTA, Inc. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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: Change community while forwarding a trap
Stavros Tsolakos stsola...@gmail.com writes: I need to forward a trap to another trap receiver in my network. So far, I am doing it using a 'forward' directive in my snmptrapd.conf. I was wondering if it is at all possible to specify the community string of the final receiver when forwarding. Not currently, unfortunately. (in theory, it would be fairly easy to code up but it isn't possible now) -- Wes Hardaker SPARTA, Inc. -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ 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: Table or Scalar Command for snmpset
Sverre Moe sve...@spacetec.no writes: Calling with no parameters snmpset netSnmpHostsTable.0 or calling with 3 parameters snmpset netSnmpHostsTable.1 something netSnmpHostsTable.2 something else netSnmpHostsTable.3 something more You can do functionally what you want to do, though a few things: 1) use not-accessible for the indexes to the table 2) use read-create for at least one column (possibly for the last index if you don't have another column). 3) even if you have a read-create column, it's perfectly legal to accept the SET message on the agent side and not actually create a row that is responded to with a GET request later (IE, the table can still be blank). Then, you'd want to something like this: snmpset ... myTable.1.1.0 = foo myTable.1.2.0 = 3 ... To send all the columns in the table to the agent for it to process. Is that possible with snmpset? When setting multiple rows with snmpset will it process it as one request or multiple requests? It'll be processed by the agent as one request. (note: it's actually perfectly legal to implement the code in the agent to completely ignore SMIv2 and do whatever you want at some point in the OID tree, leaving you free interpretation of the incoming OIDs. However, you'd be on your own for doing that as it's not documented as people generally don't need to do that kind of thing as SMIv2 provides scalars and tables in general) -- Wes Hardaker SPARTA, Inc. -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ 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: EngineID in SNMPtrap.conf in SNMPV3
mohamad hosein jafari smhjafar...@gmail.com writes: I want to ask about engineID SNMPtrap.conf in SNMPV3 . when we want to senf snmpv3 trap we should set engineID for it It's fairly well explained here: http://www.net-snmp.org/wiki/index.php/TUT:snmptrap_SNMPv3 Reading that will help you I think. -- Wes Hardaker SPARTA, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ 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: Integrating AgentX into a C++ program with a Main Event Loop
Sverre Moe sve...@spacetec.no writes: I have a C++ program built around glibmm Main Event Loop and need to create an SNMP AgentX in it to be used along Net-SNMP own snmpd. I can't find any information how to integrate it other than the Tutorial Instrumenting your own code with agentx subagent support which I find a little shortcoming. The right thing to do would be to get the sockets to watch out of net-snmp (using snmp_select_info) and then pass those sockets to your external event loop. The other option is to do the inverse, and pass your other application sockets into the net-snmp select routine instead. -- Wes Hardaker SPARTA, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ 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: Question about upgrading net-snmp 5.4.2.1 to 5.7.1
Allen McWongahey allen_mcwonga...@net.com writes: If possible I'd like to clarify if any further changes should be needed between what it would take to go to 5.7.1 vs. 5.6.1.1. Generally we try really really hard to make sure that upgrades go smoothly and cleanly and that all your past code should continue to work. People seem to be fearful of upgrading, though, no matter how hard we try to assure them that they should upgrade and it shouldn't break anything. so... Yes, you should be able to go to 5.7.1 without problems. -- Wes Hardaker SPARTA, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ 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: How to add a SNMPV3 trap!
Zongjun qizong...@gmail.com writes: I'm in trouble with the configuration of the snmpv3 trap. I used create_trap_session to add the session list in order to create the trap list. I can use SNMP_VERSION_1 and SNMP_VERSION_2C. But when i use SNMP_VERSION_3 as the param of the create_trap_session, it returns 0. Were you able to solve the issue? The best example code you could both look at, if you must create it manually, is probably the code that implements the 'trapsess' config token. See the agent/agent_trap.c file for the snmpd_parse_config_trapsess() code. -- Wes Hardaker SPARTA, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ 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: How to handle HUP signals
jrego...@rego.org writes: Is there a good way to determine that a HUP signal has been received from within a config handler? The free callback function will be called after a HUP before the next re-read. It should be what you use to free any resources and get a clean start before the next config-read comes through. -- Wes Hardaker SPARTA, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ 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: some of net-snmp wiki pages do not display
Merlin Li dhcp_mer...@yahoo.com writes: When i try to open the following page,it display nothing,and i found a lot of pages likes this. http://www.net-snmp.org/wiki/index.php/Agent_Architecture We had wiki problems due to sourceforge using really really old versions of software. It should be sort-of-fixed now. -- Wes Hardaker SPARTA, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ 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: Integer64
Sverre Moe sve...@spacetec.no writes: How can I support a 64-bit Integer value in my MIB? It doesn't seem like SMIv2 support Integer64 data type, only Integer32. Typically you would need to use a Counter64 to report a 64-bit integer. See the HCNUM-TC.txt mib file for an example textual-convention to use. -- Wes Hardaker SPARTA, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ 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 5.7.2.rc3 available for testing
This should be the last release-candidate release (really!), so please let us know of any showstoppers you find within it. https://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.2-pre-releases/ [sorry for the delay between the rc2 and rc3 releases; my life got heavily in the way for a while] -- Wes Hardaker SPARTA, Inc. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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-SNMP 5.7.2.rc1
Bart Van Assche bvanass...@acm.org writes: The MinGW, Cygwin and MSVC DLL build are broken. The patch below should fix all three these issues: +1. Can you apply it, but rather than remove unistd.h add HAVE_UNISTD_H ifdef wrappers around it? -- Wes Hardaker SPARTA, Inc. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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