Questions tagged [snmp]

Simple Network Management Protocol (SNMP) is an Internet-standard protocol for managing devices on IP networks and consists of operations for data retrieval, modification and notification. SNMP generally operates over UDP.

Simple Network Management Protocol (SNMP) is an Internet-standard protocol for managing devices on IP networks.

SNMP is defined by a series of IETF Requests for Comment (RFCs). There are three versions of the protocol: SNMPv1, SNMPv2, and SNMPv3. RFC 3584 is the "Best Current Practice" for handling coexistence of the three protocol versions, and provides a view of interoperability issues between the versions as well as a list of references to the various RFCs that define the different versions.

Before posting a question about SNMP, ensure that it is on-topic for this site. Examples of of activities that might generate on-topic questions are:

  • writing a program using Net-SNMP's C API
  • writing a shell script to use or parse output from SNMP tools
  • writing a MIB

Other questions, especially those related to running an SNMP server or agent, may be more suited for ServerFault, which is dedicated to questions about server and network infrastructure.

Usually organizations will obtain a Private Enterprise Number (PEN) used to reference their devices that use SNMP similarly to a domain name Pen Application. This is then added to a registry of all PENs each organization making sub IDs called OIDs with Management Information Base (MIB) configuration files to take care of the sub ID definitions. These MIB files should be provided by each organization for any of their devices that use SNMP.

2383 questions
0
votes
1 answer

Unable to set an SNMP value

I'm grabbing SNMP values for some Ricoh printers, but they have different names for their trays. I want to use snmpset to make the names the same, but I don't seem to be able to. C:\Users\Emilio>snmpget -v1 -c admin xxx.xx.xxx.xxx…
Emilio Garcia
  • 554
  • 1
  • 5
  • 20
0
votes
1 answer

Snmp device discovery using a C++ library

I'm working on a c++ code project that should be able to discover all the snmp devices on the network and then if the device name matches with one of the sensor names I'm looking for (I've got 2 different temperature sensors over Ethernet), then I…
0
votes
1 answer

snmpd.conf clientaddr not working for sending trap /inform with given IP source address

Given the following sample/simple snmpd.conf (Net-SNMP 5.7.2 on RHEL 7.4) rwcommunity private 192.168.56.101 trapsess -Ci --clientaddr=192.168.56.128 -v 2c -c private 192.168.56.101:162 when starting a SNMP Daemon snmpd -f -Lo -D -C -c…
NGI
  • 852
  • 1
  • 12
  • 31
0
votes
1 answer

SNMP/mrtg/traffic reporting incorrect on interfaces

I've installed MRTG, added some options and customizing of mrtg.cfg. Interface speed is 1 Gb/s. I wanted to show the graph and data in bits, not bytes. I ended up with graphs as example show 8Mb/s rather than 80 Mb/s. Where is the mistake in my…
Stigh Aarstein
  • 63
  • 2
  • 12
0
votes
0 answers

Network Discovery of multiple devices using snmpget on net-snmp

I'm sending a request to the broadcast address of the network using snmpget to get the status of all the devices connected to the network snmpget -v 2c -c public 255.255.255.255 1.3.6.1.2.1.1.1.0 and this OID gives me the information of my…
0
votes
1 answer

pysnmp OID resolution

Using pysnmp, how you perform resolution on queries that return an OID instead of value? I wrote a lookup tool using pysnmp, here are the inputs and results : ./run_snmp_discovery.py --host 1.1.1.1 --community XXXXXX --command get --mib_oid_index …
0
votes
1 answer

Ruby: Display SNMP output in Sinatra

i am trying to make a little website with Sinatra, where i want to display SNMP data. require 'sinatra' #require 'sinatra/reloader' require 'snmp' get'/' do 'Hello World' SNMP::Manager.open(:host => 'localhost') do |manager| response…
0
votes
0 answers

pysnmp windows 10 listen for traps

I'm running the example from pysnmp but from pysnmp.entity import engine, config from pysnmp.carrier.asyncore.dgram import udp from pysnmp.entity.rfc3413 import ntfrcv # Create SNMP engine with autogenernated engineID and pre-bound # to socket…
0
votes
1 answer

catching exceptions with python easysnmp

I cannot seem to find documentation or examples of how to catch exceptions with Python's easySNMP library https://easysnmp.readthedocs.io/en/latest/exceptions.html shows what exceptions are rasied but I get errors when trying to catch…
doghousedean
  • 74
  • 12
0
votes
1 answer

Automatically detecting a PySMI parsed MIB from an existing OID

I have a situation where I'm trying to do some MIB-processing on a pre-existing, non-translated SNMP walk in the cloud. I have a set of translated PySMI MIB json files, but I'm unsure how to match the correct MIB with OIDs within the walk. I saw in…
Hannah
  • 5
  • 3
0
votes
0 answers

How to receive Snmp V3 traps in Camel SNMP?

I was trying to get Snmp v3 traps using Apache Camel SNMP component. I got both v1 and v2 traps but I am not able to get the v3. import java.util.Date; import java.util.Objects; import org.apache.camel.Exchange; import…
JavaTechnical
  • 8,846
  • 8
  • 61
  • 97
0
votes
2 answers

Strange snmpd traffic

my snmp server is using 3% of CPU and about 600 kbit/s of bandwidth. Using "iftop" my server is sending data to an unknown IP, in HTTP port, but the destination IP does not ping and has no HTTP port open. myhostname.com.br:snmp …
Arvy
  • 1,072
  • 2
  • 16
  • 29
0
votes
1 answer

Using traps rather than get requests to fetch informations?

let's say i want to make a monitoring application to monitor a bunch of devices in my network, my question is quite simple: why use SNMP-Get requests when devices can send trap to the manager ? does popular monitoring applications use traps or…
infantry
  • 336
  • 1
  • 5
  • 15
0
votes
1 answer

Getting the Ambari SNMP setup - plugin to monitor Dynatrace

Is there a way to write a plugin (python) to allow Dynatrace to monitor logs (ambari-alerts.log) from Ambari? Something like this: https://github.com/apache/ambari/tree/trunk/contrib/alert-snmp-mib Also take a look at this sample code:…
0
votes
1 answer

Refresh data SNMP automatically in the browser with socket.io

I am developing an application to monitor routers using SNMP and Node.js. How can I make the data obtained through SNMP automatically refresh in the browser? Note: I want the data to be refreshed automatically, without having to update the browser…
Telecapp
  • 3
  • 1
1 2 3
99
100