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
14
votes
4 answers

What SNMP library for .NET makes traps, sets or gets simple?

What are the best SNMP libraries to use with .NET? Specifically for listening for traps or sending set or get requests.
Thomas Bratt
  • 48,038
  • 36
  • 121
  • 139
12
votes
2 answers

SNMP v1,v2c and v3 trap difference

Explain the difference between v1, v2c and v3 Traps PDU/format.
Kanagavelu Sugumar
  • 18,766
  • 20
  • 94
  • 101
12
votes
3 answers

Experimental/private branch for OID numbers in LDAP Schemas?

Attributes or object classes in LDAP schemas are identified through a unique number called OID. Moreover OIDs are also used in the SNMP protocol. Everyone can apply for an enterprise number by the IANA and then define his own subnumbers. But the…
Name
  • 3,430
  • 4
  • 30
  • 34
12
votes
1 answer

SNMP Library for Java

I need to make a feasibility study on various SNMP libraries. Currently I am using SNMP4J. My requirement is to compare various libraries with their features. I wasn't able to locate any useful reference links. Please someone suggest any links.
Gapchoos
  • 1,422
  • 5
  • 20
  • 40
11
votes
3 answers

SNMP for Local printer?

I am searching for a way to Get Information from a local printer. Maybe with the SNMP Protocol? The printer is connected with USB or PPI (parallel port). All printers have a internal TotalPagesCount and support SNMP. Here some examples of the…
Werewolve
  • 2,448
  • 5
  • 24
  • 38
11
votes
2 answers

Is there a good mib browser for linux?

I am looking for a good open source mib browser for linux. ireasoning has a limit on the number of mib files it can load in the free version. I dont need it to do mib queries I just need to see the mib tree.
user1646223
  • 111
  • 1
  • 1
  • 3
10
votes
0 answers

UDP port forwarding not working with Docker on Windows 10

I am running a Docker container for snmptrapd. It runs fine on a Linux host (Ubuntu 18.04), but not on Windows (10 Pro). Dockerfile: FROM alpine:3.8 RUN apk --no-cache add net-snmp COPY mibs/ /usr/share/snmp/mibs COPY snmptrapd.conf…
banjaxed
  • 243
  • 1
  • 6
10
votes
1 answer

How to measure a Website Bandwidth (Upload+Download) in MB using C#/VB.Net programmatically?

Hope that everybody is fine here. I am writing a windows service in C#/VB.Net that aims at measuring bandwidth consumption for all WebSites on localhost and store their statistics for upload , download etc on local/remote database. Target Platforms…
Steve Johnson
  • 3,054
  • 7
  • 46
  • 71
10
votes
3 answers

What is a good way to show a floating point number via SNMP?

I am coding an SNMP Agent. I need to send values that have a decimal point to an SNMP Manager. I have a couple options: Truncate the number. Multiply by a constant. Ask Stackoverflow. If I truncate the number I lose a lot of information that I…
Robert Deml
  • 12,390
  • 20
  • 65
  • 92
10
votes
2 answers

Reason: (noSuchName) There is no such variable name in this MIB

I am using centos Operating System. i am trying to get the memory statistics of localhost through snmpget command, i am getting this error. snmpget -v 1 -c public localhost .1.3.6.1.4.1.2021.4.6 Error in packet Reason: (noSuchName) There is no…
Riyaz
  • 127
  • 1
  • 3
  • 8
10
votes
3 answers

How can i get a printer's make and model in Java?

I'm actually working on a Java application that shares printers to a server, and I need this application to get the make and model of the printers it shares. I know this question has been asked three or four times but nobody seems to have found an…
Padrus
  • 2,013
  • 1
  • 24
  • 37
9
votes
6 answers

Introduction to SNMP monitoring

I've been tasked with writing a monitoring program for my company's server software that integrates with zenoss via snmp. To be brief, I can't get anything up off the ground. I think my first goal is to figure out the correct way to write an snmp…
David Berger
  • 12,385
  • 6
  • 38
  • 51
9
votes
1 answer

SNMP purpose of OBJECT-GROUP, MODULE-COMPLIANCE with regards to OBJECT-TYPES

I am implementing my own MIB and also use smilint to check to validate the MIB. I am getting a lot of node xxx must be contained in at least one conformance group warnings. I am having trouble deciphering the purpose of the OBJECT-GROUP and where it…
gavenant
  • 453
  • 7
  • 26
9
votes
5 answers

SNMP MIB development tool

Does anybody know a good tool to assist in the development of an SNMP MIB with correct formatting and syntax? If possible, it should be free and run under Linux.
user60008667
9
votes
2 answers

Test URLs for SNMP Agents

I am trying to find a list of URLs for SNMP agents which I could make use of for testing purposes. Up till now I have made use of the NET-SNMP test url - > test.net-snmp.org. I've also made use of Verax Simulator to simulate a particular agent.…
John Smith
  • 130
  • 1
  • 2
  • 8