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

PySNMP No Response Received Before Timeout--Even with Documentation Examples

I have installed PySNMP (version 4.4.6) and am attempting to call the following function (part of a larger class): def walk(self): #Walks OID to scavenge for information. oids={} for (errorIndication, errorStatus, …
Liz W.
  • 35
  • 7
0
votes
1 answer

Is there a way to format snmptrap?

I have a raspberry pi running raspbian set up as a client, and debian running the server. I can recieve and read the snmptrap.out just fine, but It's transmitting 150 bytes per message. As it's sending over 3G I want to shorten the snmptrap size as…
0
votes
1 answer

SNMP Listener can not read trap from OIDs that are entries in a table

I have written a SNMP listener in Java using the TNM4J library which uses the SNMP4J library. The listener is able to read received traps, except for traps that appear to be indexed in a table. The listener is listening to traps from an Ericsson…
Winkz
  • 329
  • 2
  • 5
  • 19
0
votes
1 answer

Snmpwalk randomly returns less variables (ending with SNMPv2-MIB::snmpSetSerialNo.0)

I'm creating new MiB, which includes object groupProcessInfo, which task is to return status of X application processes, where X is substituted with the name of the application. Each process in MiB is defined like this: appXState OBJECT-TYPE …
Sach
  • 85
  • 1
  • 9
0
votes
1 answer

How to implement the SNMP protocol in ThingsBoard IoT platform?

I am intend to use the SNMP agent to access values from a board, and visualise them in ThingsBoard dashboard. Have anyone an idea how to support that protocol in the ThingsBoard?
0
votes
0 answers

How can i know all the devices connected to my TP-Link router using SNMP?

I am trying to planning to write a script that keeps a log of each device that connected to my Wi-Fi router so as to know the daily time based usage for my project. How do I do this? I researched and got to know SNMP protocol can be used for the…
Nithin
  • 1,387
  • 4
  • 19
  • 48
0
votes
1 answer

Using SNMP retrieve IP and MAC addresses of directly connected machines to a SNMP Device

How to get connected machine's IP and Mac of SNMP device. ARP cache is not giving correct details.
sujith lal
  • 19
  • 3
0
votes
0 answers

RFC3414 - How is SNMP need not protect against DDOS or Traffic Analysis Attack?

I've been reading RFC3414 about User-based Security Model (USM) for version 3 of the Simple Network Management Protocol (SNMPv3) , and it says : There are at least two threats that an SNMP Security Model need not protect against. The…
G.Darcan
  • 3
  • 4
0
votes
1 answer

Opendaylight WebGUI not visualize topology/nodes info for SNMP devices

I doing experiment with Opendaylight controller and following the guideline provided. https://docs.opendaylight.org/en/stable-oxygen/user-guide/snmp4sdn-user- guide.html The webgui no problem to visualize nodes and topology of OF devices created…
chenoi
  • 575
  • 3
  • 8
  • 30
0
votes
0 answers

Disable SNMPv1 & Activate v2c on Windows Server R12&+

We are looking to disable SNMPv1 but keep SNMPv2 on our Windows Server but without installing a 3rd client. Is there a way nativaly on Windows To keep only the SNMPv2 version ? Thank you four help, Official documentation didn't really help.
Anthony
  • 1
  • 2
0
votes
0 answers

SNMPTRAPD receiving raw packets but the actual trap won't get logged or listen

I'm working on the SNMP trap. I'm using snmptrapd application to listen to SNMP traps, an issue with the snmptrapd unable to listen to the traps while it showing raw packets are coming when using -d option in snmptrapd command. Here is my command…
Rupesh Arora
  • 557
  • 2
  • 9
  • 26
0
votes
1 answer

SNMP reading from an OID with three libraries gives different execution times

I already used easysnmp to read SNMP OIDs, but I chose pysnmp library now because easysnmp did not support asyncio archtecture in Python3. The considered issue is that,pysnmp is too slower than other libraries: pysnmp: from pysnmp.hlapi import…
Benyamin Jafari
  • 27,880
  • 26
  • 135
  • 150
0
votes
0 answers

Get sysuptime snmp to format "days,hours,minutes"

Through using SNMP protocol i can get the sysuptime of a device for example 1714656039 How can i convert this into x days y minutes z seconds? A reference of what type of data is the 1714656039 can be found here. It is actually The time (in…
Antonios Tsimourtos
  • 1,676
  • 1
  • 14
  • 37
0
votes
1 answer

What are errorIndication, errorStatus and errorIndex providing in PySNMP's nextCmd()?

I would like to create proper error handling for the PySNMP function nextCmd() and am curious what the parameters errorIndication, errorStatus, and errorIndex are providing as I iterate through nextCmd(). I can not find anything within the…
Bonteq
  • 777
  • 7
  • 24
0
votes
1 answer

Logstash to drop parts of a SNMP field name

I'm using the Logstash SNMP input, and am receiving fields like the following: iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageAllocationUnits.1" Is there a way I can use a filter to drop everything before…
Larry G. Wapnitsky
  • 1,216
  • 2
  • 16
  • 35