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
2 answers

SNMPv3 - Convert Custom MIB File to python MIB file

I am working on SNMPv2 currently and want to switch to SNMPv3. I have my MIB File written for v2, which was converted to python file using: pysmi. But in the documentation, it is written that it only supports v1 and v2. So, my question is: Are…
Sumit S Chawla
  • 3,180
  • 1
  • 14
  • 33
0
votes
1 answer

pysnmp trap send status

I want to validate if snmp trap messages send was a success or failure and log it. So I was wondering if I check the return value of transportDispatcher.runDispatcher(), will that give any error code. What are other options?
0
votes
0 answers

How to make a Client in SNMP4J?

I need to make a Client in SNMP4J, but the documentation on how to get started is pretty poor. Does anyone have any experience with SNMP4J and could give me an idea on how to get started? Thanks.
0
votes
0 answers

How to specify octet string in SET command?

I am working with MIB browser professional snmpv2c. one of the column parameters of mine in the table is octet string. I want to set octet string in SNMP table. I set OID and when I want to set value I take an error: wrong type. my octet string is…
Elnaz
  • 3
  • 3
0
votes
2 answers

Is there a telegraf plugin which reads snmptraps from manager?

Is there a telegraf plugin which reads snmptraps from snmp manager Thanks, Simhadri
0
votes
1 answer

How can I get the members of Bundle-Ether using snmp?

I want using SNMP to get members of Bundle-Ether, but I can not find the suitable Mib for Bundle-Ether
smark
  • 43
  • 1
  • 8
0
votes
2 answers

How to set DateAndTime for HrSystemDate MIB object using PySNMP

I can't set the dateAndTime in the standard mib HrSystemDate when using the pysnmp setCmd. I have no problems setting other mibs with octetstring, the only problem is for the date/time setting which is also an octetstring format. I am not sure what…
DonAriston
  • 101
  • 1
  • 5
0
votes
0 answers

Opendaylight and snmp4sdn plugin work or not

I'm testing SDN controller ODL and looking onto snmp support where there is a plugin of snmp4sdn under ODL project. I follow the guideline ..create switch list db file in csv and vendor specific file in xml. I able to read and print the…
chenoi
  • 575
  • 3
  • 8
  • 30
0
votes
1 answer

SNMP: Response PDU Too Big

I need to test a driver code based on the snmp++ library.When I started this driver code, I printed out the following error log "Snmp Trap Register Error :SNMP: Response PDU Too Big" I'm using SNMP++v3.2.25.I found an SNMP simulator on the…
Aplues
  • 15
  • 4
0
votes
1 answer

What is the cause of "collectd - snmp.conf": syntax error, unexpected EOL. Starting when new MIB is used

There are many problems similar to mine but I can't find the right solutions for mine. I am currently working on a CentOS 7 machine with collectd version 5.8. The collectd.service won't start due to an error in the configuration file. The…
Derango
  • 3
  • 5
0
votes
1 answer

How to run a snmp simulator for multiple agents?

I am running a snmpsimd.py command with a specific ip and port and a data directory.But i am not getting any response? how to have multiple agents? When we are specifying data directory how to separates which snmprec file belongs to which agents?
Roshan
  • 571
  • 4
  • 4
0
votes
1 answer

Why is snmp agent not accepting resquest on an snmp4j get, when net-snmp get returns a response event

I am trying to write my first snmp4j client. I have an agent running on 192.168.60.105. Using net-snmp I can query an OID and get a result. Using smnp4j the response event for the snmp get is returned with a null response and a null error. I think…
Jeff Gaer
  • 351
  • 3
  • 21
0
votes
1 answer

Data retrieval/storage & graphing solution selection

Our company have a need to set up some solution, that would allow us to grap almost live (1 second interval) data, from electrical equipment. Currently, the thing we are using, is Cacti, which allows lowest read interval to 1 minute. What would be…
Deele
  • 3,728
  • 2
  • 33
  • 51
0
votes
1 answer

Simple arithmetic on values retreived using OIDs

I am new to SNMP and Nagios, and would like to do some basic arithmetic on values retrieved using OIDs. I need to monitor the used memory (RAM) on the servers on the University's network. They seem to be using UCD-SNMP-MIB. So far I have…
0
votes
1 answer

Editing a MIB module

I have been tasked at the company I work for to make changes to a company generated MIB. That is it lives under the private sub tree. The MIB has a table with a couple of object defined in the table. They want the name of one of the object…