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.

2229 questions
0
votes
1 answer

PHP snmpget() returns false. There is no such variable name in this MIB

The snmpget() function in my php code got error When the OID is "SNMPv2-MIB::sysORLastChange.0". Error in packet: (noSuchName) There is no such variable name in this MIB. But on the same server, I type a command: snmpget -v 1 -c COMMUNITY HOST…
PikaCool
  • 47
  • 1
  • 6
0
votes
1 answer

How to print the logs of snmpd(agent)

How to print the snmpd logs? We can use -D all to print the snmp logs,but it is client's log. I want to know how does the agent work process, so I want to know how to print the dubug information in agent part.
0
votes
1 answer

How to set Peer Address in SNMP4J library before sending traps?

I am receiving traps from the device and want to forward it. Before forwarding I want to set peer address of the source system.
Ghulam
  • 21
  • 6
0
votes
1 answer

How to read SNMP variable bindings

I am trying to make a snmp trap receiver, that can capture all the incoming snmp trap from UDP 162 port and translate them into meaningful alarms. The image I attached is a sample trap that I captured using wireshark. My script can capture and…
Kamrul Khan
  • 2,940
  • 4
  • 24
  • 48
0
votes
1 answer

how to count the number of oids the snmp is dealing with

How to count the number of oids the snmp is dealing with? Some mibs provide the massage packets, but one massage packets could contain more than one oids request. I also want to know that how I should track the functions when I launch a snmpget…
0
votes
1 answer

Use SNMP and Access point wifi

I am not an expert of the network domain. Today I have a network with a connection to the Internet. Some computers use an ethernet connection, others use the WIFI. I wish to monitor the network because we have a slow connection. I plan to add a…
0
votes
1 answer

How should an snmp client receive responses from multiple snmp agents?

I require to send get requests/ receive responses to several snmp agents from a single client/manager process. I have implemented client/agent based on below urls: http://www.jitendrazaa.com/blog/java/snmp/create-snmp-client-in-java-using-snmp4j/…
Helen Reeves
  • 437
  • 1
  • 14
  • 24
0
votes
2 answers

Localization in snmp

We have snmp agent in our product, which sends system alerts to snmp server, and our alerts may be in Unicode. We are using 3rd party lib for sending out, which encodes stings into a ASKII byte array by default. Finally we got garbage on…
0
votes
1 answer

Can send SNMP requests from manager to multiple agents concurrently?

I require to send get requests to several snmp agents from a client process. I have implemented client/agent based on below…
Helen Reeves
  • 437
  • 1
  • 14
  • 24
0
votes
0 answers

How set value in SNMP / SNMP4J agent?

How (what call) can I update a value of a variable in the MIB from within the agent? equivalent to using a PDU SETREQUEST call from the snmp manager. It is probably a very basic question - am new to snmp & snmp4j.
Helen Reeves
  • 437
  • 1
  • 14
  • 24
0
votes
1 answer

How to set the max requests that the snmp agent can respond in 1 min.

i want to restrict the number of requests that SNMP agent accepts in 1 min. for example , the SNMP agent can respond the requests from different management station, and i want to set the max number of the requests in 1 min. if in 1 min, the agent…
0
votes
0 answers

inetmib1.dll does not export SnmpExtensionClose() and other "advanced" SnmpExtension methods

I use inetmib1.dll as SNMP Extension agent. But unfortunately there is no hint for SnmpExtensionClose on MSDN which states what additional dll I have to import resp. load when I want to use SnmpExtensionClose() to let the extension dll deallocate…
0
votes
1 answer

Will OID change amoung same kind of devices

I'm using SNMP to enquire the status of a certain make of printer. For example,the status of make1 printer has an OID '1', I want to know if this OID will, for example, in a make2 printer, remain the same as make1.
0
votes
1 answer

How to retrieve Counter64 object in pysnmp?

I'm trying to get snmp data using pysnmp library of python. In the data some COUNTER64 objects are available which didn't get retrieve. command - snmpwalk -v 1 -c public : xyz::pqr output -…
ketan
  • 2,186
  • 6
  • 20
  • 64
0
votes
1 answer

Change authKey of a user

Using SNMP version 3, I am creating a user. Right now, I have it set up where I clone a user and that works just fine. However, I need to change the new user's authKey. How can I do this? I know the oid for authKeyChange, however, I don't know how…
Brandon Willis
  • 135
  • 2
  • 14
1 2 3
99
100