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

snmpbulkget in parallel is causing an error to occur

Trying to query a ton of devices with a simple output (in this test case; model identification) My code works fine when running individually; its when I attempt to parallelize it...errors occur Script file named…
Greg
  • 3
  • 2
0
votes
1 answer

SNMP : snmpbulkget - non-repeaters and max-repetitions

What does non-repeaters and max-repetitions states in snmpbulkget: If I run below command: ./snmpbulkget -v2c -Cn1 -Cr11 -c public 217.169.128.14:161 sysDescr ifTable SNMPv2-MIB::sysDescr.0 = STRING: loopback. IF-MIB::ifIndex.1 = INTEGER:…
Programmer
  • 8,303
  • 23
  • 78
  • 162
0
votes
0 answers

how to exclude the linux cached memory from the monitoring and only monitor the application consumed memory

We are using GItHub Enterprise as our source code management system and its installed as an appliance in Vmware Esxi. For monitoring purpose we are using 2 tools for getting the performance metrics. 1) Nagios over SNMP ( GHE provides the resource…
saran
  • 139
  • 1
  • 2
  • 12
0
votes
1 answer

Retrieving objectname from OID for custom MIB in pysnmp

I have a device connected to the network, that uses a custom .MIB-file with various 'parameters'. I can use a MIB browser and find the OID for an object name such as 'powerSystemCompany'. But for writing my code, I wish for a get command to see…
user9476831
0
votes
1 answer

How to get correct MIB for sysObjectID in pysnmp

When I have all the necessary MIB files compiled and loaded to pysnmp, the sysObjectID should return a fully parsed MIB. But it doesn't What I've done so far is, I created an mib_builder and added precompiled mib source to the builder, passed the…
0
votes
1 answer

64 bit net-snmp download

I am trying to install net-snmp binaries and landed to below page from their website - https://sourceforge.net/projects/net-snmp/files/ I am not able to see the 64 bit installer - is it that net-snmp binaries for 64 bits Win 7 OS is not available?…
Programmer
  • 8,303
  • 23
  • 78
  • 162
0
votes
0 answers

MIB conversion to .py using mibdump.py -- missing source MIBs

I want to use SNMP-Lab's snmpsim-Tool to simulate a non-public MIB (lets call it myMIB, because I don't know if I'm allowed to mention the official name) for SNMP queries. I do have the MIB in .mib format, when I try to use this existing file for…
0
votes
1 answer

Get Printer MIB with JAVA

I doing java program to get printer's MIB in a Network.. How can I get the printer's *MIB* data through java." Thank you..
0
votes
1 answer

How to retrieve hrSWRuntable using snmp in Ubuntu?

I just installed snmp on my machine using apt-get install snmp I want to retrieve the hrSWRuntable so I used this command snmptable -v2c -c public 104.236.166.95 hrSWRunTable but i recieved this error hrSWRunTable: Unknown Object Identifier…
0
votes
1 answer

Windows (Server 2012) ifIndex persistence

I'm doing some polling of specific adapters on some PCs running windows via SNMP. I've noticed that polling using an OID constructed with the interface's ifIndex is unreliable as it appears that the ifTable is created dynamically. I found some Cisco…
d.heyzie
  • 3
  • 1
0
votes
1 answer

Is it possible in ASN.1 to inherit?

I am writing on a MIB for SNMP using ASN.1. I have multiple revisions of a board. All boards have Common attributes but later revisions have additional attributes Is it possible for a new revision to inherit the previous attributes? Is it possible…
Findas
  • 69
  • 3
0
votes
1 answer

how to add an entry in dot1dStaticEntry without RowStatus

RFC 4188 defines the dot1dStaticEntry as follows: dot1dStaticEntry OBJECT-TYPE SYNTAX Dot1dStaticEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Filtering information configured into the…
Charles Ju
  • 1,095
  • 1
  • 9
  • 28
0
votes
1 answer

With net-snmp 5.8, when using special characters (&,^,$) for encryption key and authentication key, a swnpwalk remote call fails

I am running the following call from windows command line using snmpwalk. snmpwalk -v 3 -a SHA -A 2OzqVwOQNZcImYBdI9Tfu9HcXFACVB7 -x AES -X HfkFHRPpyDnGmdRSpI2X4b3ayGYVyeO -l authPriv -u sha_aes_DmSc7KCE2ggU 192.168.2.226 iso.3.6.1.2.1 Host…
0
votes
2 answers

Perl/SNMP : get ifIndex by ifName

i'm new to Perl and SNMP and i'm trying to develop an application to visualise the network for my internship. I have a first script, given a mac address, a community and a switch's ip, can find the correspondant interfaceSpeed, ifAlias, duplex…
eouti
  • 5,338
  • 3
  • 34
  • 42
0
votes
1 answer

"Incorrect Version or decode error" While sending the Trap

I am getting "Incorrect Version or decode error" on manager side. I was just wondering if there is something missing with the following sample trap sender code. public class SampleTrapSender { public static void main(String[] args) { …
santro
  • 373
  • 1
  • 6
  • 22