Net-SNMP is a suite of software for using and deploying the SNMP protocol.

learn more… | top users | synonyms

12
votes
2answers
2k views

16TB Volumes and SNMP On Windows

As volumes larger than 16TB became more common, it was recognized that the 32 bit value used to report disk size and usage within the standard "HOST-RESOURCES" MIB in SNMP was not large enough to ...
7
votes
1answer
7k views

snmptt not translating traps, even with translate_log_trap_oid=1

I am having some trouble configuring snmptt to properly translate snmp traps. The following is a problem: /etc/snmp/snmptt.conf reflects: EVENT fgFmTrapIfChange .1.3.6.1.4.1.12356.101.6.0.1004 ...
5
votes
1answer
641 views

SNMP bytes received disagrees with ifconfig

SNMP ifInOctets = 2145342796 - about 2GB. ifconfig: RX bytes:174302710687 (174.3 GB) Interestingly, the sent bytes agree almost perfectly: ifOutOctets: 1002415050 - about 1GB ifconfig: TX ...
4
votes
2answers
210 views

How do I select an OID for my MIB

I've been trying to attach an OID to run a specific script for sometime and at this point I think the culprit is my bad MIB. I've corrected my MIB but I'm curious about the OID i'm trying to use. ...
4
votes
3answers
9k views

How to find all the snmp enabled devices in my network?

I want to find all the snmp enabled devices in my network, I got something like how it works in a agent and manager architecture. I got net-snmp library to create a simple application to get the snmp ...
4
votes
2answers
1k views

Snmpd update interface counters slowly or something like this

I update one my freebsd box to 9-stable (totally new installation) and install net-snmp for monitoring. uname -r 9.1-PRERELEASE pkg_info net-snmp-5.7.1_7 Information for net-snmp-5.7.1_7: ...
4
votes
1answer
3k views

Why do SNMP agents need MIB files?

After reading up on SNMP and some of the questions help here I think understand the agent role as a SNMP service to device (Like SQL, it is an API to storage). When you execute a SQL query the SQL ...
4
votes
2answers
7k views

/usr/local/share/snmp/snmpd.conf: line 5: Error: unknown payload OID

using ubuntu with net-snmp snmp work but in sys.log i see a lot of errors about snmpd.conf snmpd.conf: rwcommunity community 10.0.0.1 rwcommunity community 10.0.0.2 agentAddress udp:10.0.0.1:161 ...
3
votes
1answer
53 views

Additive SNMPd configuration in CentOS

I have a small program that I am preparing for release. As part of its functionality, it queries SNMP for a few statistics. The MIBs in question are installed by the default net-snmp package, but are ...
3
votes
2answers
3k views

snmpwalk to ipv6 address timeout

Snmpwalk is failing. I don't know why. I have a host configured with a global ipv6 address. Snmpd is listening on ipv6. netstat -l|grep snmp udp6 0 0 [::]:snmp [::]:* udp6 ...
3
votes
0answers
63 views

How to configure SNMP trap multi-casting server

I would like to know if there is a way of configuring SNMP trap multicast server? I have configured central SNMP manager on Ubuntu 14.04 and it is receiving SNMP traps. Now I want to send the same ...
3
votes
0answers
241 views

SNMP OID for VMware Tools on a virtual machine

I have an ESXi host running several VMs. I use snmp to query that host for information. I need to find if VMware Tools is installed on some virtual machine. Is that possible? and If so, which OID is ...
2
votes
2answers
15k views

How to pull SNMP information from Windows commandline without installing software

I would like to be able to quickly pull SNMP information via commandline such as device uptime. I noticed Net-SNMP's snmpget.exe can do this; but it looks like I need to install Net-SNMP first before ...
2
votes
1answer
380 views

SNMP memory values do not match `free`

Compare this # free -m total used free shared buffers cached Mem: 72363 68035 4328 0 522 66294 -/+ buffers/cache: ...
2
votes
1answer
3k views

Did not find 'zeroDotZero' in module SNMPv2-SMI

I have a perl script that searches through our switches to find which one hosts a given IP address; this script uses net-snmp libraries to poll through a daisy-chain of ethernet switches (think core / ...
2
votes
0answers
138 views

Extending SNMP IF-MIB with custom data

I've a system where several specific NIC cards do not pass to the kernel traffic counters (DPDK cards) so I cannot use SNMP IF-MIB to get usage information. But, I've a system command that provides ...
2
votes
1answer
348 views

Why isn't snmptt translating this trap?

I have a device that is sending snmp v1 traps and snmptt cannot translate them. To grab a copy of the trap, I stopped the snmptt service, and copied the trap to /tmp. The OID I'm trying to trigger ...
1
vote
1answer
884 views

Cannot start the Net-SNMP daemon from systemd (but it works from the command-line)

When I start Net-SNMP from systemd, there is no error message but the daemon does not run: % sudo systemctl start snmpd % When I start it from the command line, it runs: % sudo /usr/sbin/snmpd ...
1
vote
1answer
503 views

Delay between sending and recieving SNMP Traps within a machine

I am experimenting with sending and receiving SNMP traps via net-SNMP. I have a script that sends traps out to localhost. I have snmptrapd set to write traps to a file. This works fine, except for ...
1
vote
1answer
245 views

Solaris 10 snmp exec multiple strings

I am trying to use snmp to query a directory listing. I have added the exec line to snmp.conf ("exec list /bin/ls /pathtodirectory") and restarted the service. When I perform an snmp walk for the exec ...
1
vote
1answer
409 views

Obtain newer version of NetSNMP for CentOS 5

I'm using CentOS 5. I have a need to use net-snmp version "net-snmp-utils-5.5-37.el6_2.1.x86_64" which is currently available in CentOS 6 but not in CentOS 5. The reason I need this version (or ...
1
vote
0answers
176 views

net-snmp change default port 161 to something else

Ports 161/162 are in use by a java software, so the requirement is to use 163 for net-snmp [root@testSRV snmp]# netstat -apn | grep 162 udp 0 0 ::ffff:10.145.1.10:162 :::* ...
1
vote
0answers
85 views

snmpd won't generate traps

I'm trying to get snmpd to inform our monitoring system when an event such as low disk space takes place. I'm using snmpd on Debian 8. My snmpd.conf file looks like this: ## # Daemon ## ...
1
vote
1answer
76 views

Is EngineID configurable with snmptrapd

I have a SNMP trap sender, in which I have to configure the EngineID of the receiver (doesn't seem to support discovery) in case of SNMP V3 Inform!. And my receiver being snmptrapd, the EngineID ...
1
vote
1answer
282 views

(net)SNMP can GET but not SET

I am running OpenWRT (tried all 3 latest versions) in a TP-LINK WDR3600, with snmpd and snmp utils installed. I can get (although MIBs seem missing) but not set OIDs. SNMPGET root@OpenWrt:/# snmpget ...
1
vote
0answers
242 views

Many error lines in snmpwalk report

Devices : Cisco SG 300 switch / Ubuntu 14.04 LTS when I run a snmpwalk, I get many error lines before the actual requested datas. Example: snmpwalk -v3 -u public 192.168.0.20 IF-MIB::ifHighSpeed ...
1
vote
0answers
2k views

snmpget “No such object available on this agent at this OID”

I have been working on trying to get a value with a custom MIB through SNMP This is my custom MIB: MY-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, Integer32, enterprises ...
1
vote
1answer
382 views

Get information about inodes via snmp for linux

I want to check inodes via snmp for linux system, set up check. I could not find the correspondent MIB. Can any one help me to get information about inodes prozent ?
1
vote
0answers
118 views

snmpget on IPv6 local address timesout though snmpd is listening on ipv4 and ipv6

I am doing snmpget from a RHEL machine to the localhost. It works for IPv4 and doesn't work for IPv6. # snmpget -v2c -c public udp6:[::1] sysName.0 Timeout: No Response from udp6:[::1]. # snmpget ...
1
vote
0answers
313 views

Unable to send v3 trap using snmptrap

I am trying to send snmp v3 trap using snmptrap command on ubuntu 12. I tried: sudo snmptrap -v 3 -c 1 localhost -a MD5 -A abcdefgh -l noAuthNoPriv -u myuser sudo snmptrap -v 3 -c 1 localhost -a MD5 ...
1
vote
1answer
352 views

Where are the available debug tokens for the Net-SNMP tools listed?

In snmpcmd(1), under "Generic Options", it says, -D[TOKEN[,...]] Turn on debugging output for the given TOKEN(s). Try ALL for extremely verbose output. What tokens ...
1
vote
0answers
276 views

snmptrap and snmptt - authcommunity not found

I am trying to configure snmptt to translate the snmp traps received and handle them as passive checks in an icinga monitoring server as described here. after doing the changes to the snmptrapd.conf ...
1
vote
1answer
680 views

Spoofing origin host using snmptrap

I'm about ready to lose my mind with this... I need to spoof the host that snmp traps are being sent from using the snmptrap command. The man pages for snmptrap state that you can utilize common ...
1
vote
1answer
208 views

Server-Ip address is not getting displayed in snmp-trap messages

my problem is about Ip Address which I am receiving on the windows system snmp-trap messages,is some thing like that UDP: [192.168.1.150]:1029->[0.0.0.0]:0 while same trap message on linux system ...
0
votes
2answers
22 views

What does this snmp v1 ID mean

We seeing two Dell DRAC started reporting following warnings snmp trap server3.5.2.2.4331 and I have no idea what does it mean, searched that OID and only found this ...
0
votes
1answer
235 views

Community string indexing error in non-cisco switches

I am trying to retrieve CAM table information from non-cisco switches. I am using D-Link DES 3526 and Brocade fastiron sx 800 switches and installed net-snmp. When I execute the cmd: $snmpwalk -v ...
0
votes
1answer
20 views

SNMP access with encryption

I'd like to configure my SNMP v3 (NET-SNMP) agent to limited user range with encryption. Could you give me a short hint how to setup encryption with NET-SNMP? Do you have any experiences in using ...
0
votes
1answer
63 views

How to selectively use mutliple interfaces with Net-SNMP?

I have this monitoring network setting for Net-SNMP 5.7.2.1 listening to multiple Ethernet interfaces on my home gateway but it would only take the following combination from the snmpd.conf ...
0
votes
1answer
7k views

nagios check_snmp ifoperstatus not OK

I'm reading Monitoring Routers and Switches page, in particular "Monitoring SNMP Status Information" section. quote: In the example above, the "-o ifOperStatus.1" refers to the OID for the ...
0
votes
1answer
1k views

snmpbulkwalk hangs at certain OIDs

While setting up some hosts in Check_MK for SNMP-only monitoring I've found some hosts where snmpbulkwalk appears to 'hang' and then timeout while processing a certain OID. eg: OMD[prod]:~$ ...
0
votes
1answer
687 views

How to fetch a cpu status thought net-snmp

I want to fetch a device's cpu and memory status thought net-snmp. I get my device's info with this command: snmpwalk -v 2c -c public 210.38.xxx.xxx system And I got this info: ...
0
votes
1answer
228 views

Does net-snmp for CentOS support SNMP v2 and v1?

CentOS 5.9 | net-snmp-5.3.2.2 I'm running netsnmp on a CentOS 5.9 box and it's unclear to me from the config on whether or not it support SNMP v2 and v1. I've always used SNMP v3 and ...
0
votes
1answer
440 views

snmp trap using disman-event mib related issue

notificationEvent ifMtu.1 IF-MIB::ifMtu.1 1.3.6.1.2.1.2.2.1.4.1 monitor -I -u root -s -t -r 18 "Warn: High ipp Usage" -e ifMtu.1 1.3.6.1.2.1.2.2.1.4.1 != The above lines are in my snmpd.conf file ...
0
votes
1answer
4k views

snmp.conf how to allow any remote client

Using linux (Ubuntu) with net-snmp. I want to allow any remote client to execute snmpget. The remote client not have to be from the same subnet , so i cannot do this by define subnet. Now i add line ...
0
votes
0answers
10 views

Add a client to SNMP server and listen traps from that client

SERVER : 10.21.8.109 CLIENT : 10.21.10.10 I have installed net-snmp-utils on both machines and confirmed that snmpget, snmpwalk etc works on both. snmpget executed on SERVER to check if ...
0
votes
0answers
5 views

How to have a Rudder directive that only adds a line if another line is NOT present?

I'm a little new to Rudder and this stumps me: I want to check a file and if it doesn't contain one of 2 possible lines, add a third line. This third line will go away, but when it goes away one of ...
0
votes
1answer
24 views

Can a snmpd.conf access control entry contain multiple networks?

If I want to restrict SNMP access to a list of networks in snmpd.conf, can I do something like: rocommunity secret 10.0.0.0/24, 172.10.0.0/16 (Just so nobody chastises me - "secret" is an example - ...
0
votes
0answers
277 views

SNMPTT No access configuration - dropping trap

I have a host server that has its own MIB file, but I need to be able to catch the MIB traps on Nagios 4.1 core. I'm using the SNMPTT plugin installed on a RedHat 6.5, but I'm not able to get my traps ...
0
votes
0answers
26 views

Net-snmp v3Trap forwarding to SNMPc

How can i forward the Traps received by SNMPTRAPd to SNMPc (Castle Rock Manager) Both are running on the same machine (Windows 7) My entry for snmptrapd.conf is: authUser log,execute,net myuser ...
0
votes
0answers
26 views

SNMP - Mib for variable OIDs

Helly everyone, I have a Problem with my Mib for recieving SNMP-Traps. Let's say my relevant OID part is: ...42788.4.6.1. Where 6 is my Client, reaching from 1-32 and 1 is my State (On/Off). For now ...