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 "...
6
votes
3answers
10k 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 ...
5
votes
1answer
727 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 bytes:...
5
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
226 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
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: Comment:...
4
votes
2answers
8k 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
63 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
4k 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
84 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
332 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
1answer
1k 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 ...
2
votes
1answer
580 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
2answers
18k 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
4k 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
158 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
408 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
3answers
3k views

Sending e-mail when SNMP Trap is received

I have to configure SNMP trap receiver to handle traps from a particular device (in this case it is a IBM TS3584 Tape Library) and send them over (as e-mail) with the information about the error. My ...
1
vote
1answer
580 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
248 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
417 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
17 views

How to receive snmp v3 traps without specific enginedID?

I'm using snmptrapd on linux from net-snmp package. I'm trying to make some perl script to handle snmp traps. I'm already have such script and it works with snmp v1, v2c traps and with snmpv3 traps ...
1
vote
0answers
256 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
105 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
119 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
345 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
353 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
3k 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
552 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
143 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
344 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
440 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
298 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
2answers
765 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
231 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
24 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 http://oid-info.com/get/1.3.6.1....
0
votes
1answer
265 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
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
1answer
41 views

snmpwalk not seeing mibs

Having a strange problem using Ubuntu 15.10. Yesterday I had to do a reboot due to a system update, and after the reboot 2 of the MIBs I use - LM-SENSORS-MIB and UCD-DISKIO-MIB do not work in snmpwalk....
0
votes
1answer
23 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 AES/...
0
votes
1answer
116 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
532 views

Perl - Using Net::SNMP::Interfaces to list interfaces of host

How could i get a list of all interfaces on a host with snmp, i am using. use Net::SNMP::Interfaces; my $interfaces = Net::SNMP::Interfaces->new(Hostname => 'localhost', ...
0
votes
1answer
8k 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
877 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: SNMPv2-MIB::...
0
votes
1answer
259 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 /etc/snmp/...
0
votes
1answer
486 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
0answers
5 views

In snmptrapd is it possible to forward and execute a script for each trap?

I want to both handle the trap with a script and forward the trap to a third party system is this possible with snmptrapd?
0
votes
0answers
21 views

How to implement snmptrap with custom OID

Is there any way to implement SNMP trap with a custom OID by using snmpd and net-snmp?