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

learn more… | top users | synonyms

1
vote
0answers
15 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 ...
0
votes
0answers
4 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
1answer
531 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', ...
1
vote
2answers
763 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 ...
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?
0
votes
0answers
10 views

SNMP set and SNMP trap by using snmp_passpersist

I use snmp_passpersist to implement snmpget. Can it be used to implement snmpset and snmptrap as well?
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
0answers
9 views

Change MAX-ACCESS value in IP-MIB

I am trying to query IPv4 of agent through SNMP. I see that IP-MIB contains object ipAddressEntry, which as a second value has ipAddressAddr which is exactly what I need. ( http://www.net-snmp.org/...
0
votes
1answer
45 views

snmpd becomes unresponsive (Centos 6)

In the last couple of days, a Centos 6.7 mailserver on which I am monitoring is cotinuously timing out on snmp queries. No changes have been made to the server in the period immediately preceding the ...
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 ...
0
votes
0answers
44 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
15 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 ...
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 ...
0
votes
1answer
31 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
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
0answers
570 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 ...
1
vote
0answers
255 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 :::* ...
0
votes
0answers
36 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 ...
2
votes
1answer
575 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: ...
0
votes
0answers
38 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 ...
3
votes
0answers
83 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 ...
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/...
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 ## ...
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 ...
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 ...
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 ...
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 "...
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 ...
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. ...
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
0answers
2k views

cacti returning empty graphs, showing only “nan”

I installed cacti on a separate user account, on a server running WHM/CPanel. RRDTool and snmpwalk are both installed correctly and when running the poller.php through the user "cacti" (not root), I ...
0
votes
1answer
594 views

SNMPv3: Remote snmptrap engineID not found

I'm having trouble getting snmptrapd to accept remote SNMPv3 TRAP messages. Here's my simple snmptrapd.conf: root@snmptrapper:~# cat /tmp/testsnmptrapd.conf createUser -e ...
1
vote
1answer
344 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 ...
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 ...
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
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 ...
0
votes
1answer
189 views

snmpv3 EngineID for Traps in net-snmp

I'm trying to collect simple logs from Cisco devices using netsnmp with SNMP v3. I can get the messages to appear in my snmptrapd, but I have to manually add the EngineID to for them to talk. E.g., ...
1
vote
1answer
551 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 ?
0
votes
1answer
7k views

CentOS, Timeout: No Response in remote SNMP access

i have installed snmp, utils using yum install net-snmp yum install net-snmp-utils This is my /etc/snmp/snmpd.config syslocation System Location syscontact email@a.com # sec.name source ...
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 ...
0
votes
1answer
509 views

net-snmp mib loading and snmptranslate

I'm trying to run snmptranslate on my system but it does not work, even if I did everything by tutorial from net-snmp.org. They say it should work but it doesn't. I have a debian 6 server and net-...
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 ...
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 ...
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 ...
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
874 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::...
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 -...
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/...
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 ...