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

Why is ipRouteMetric1 affected by ipRouteProto in snmp ipRouteTable?

I am doing a simulation of the network topology. I found that when using the rip protocol, the ipRouteMetric1 value is 1. I use this value to determine the device near the current router. When using the ospf protocol, the value of the nearby router…
trgbishi
  • 55
  • 1
  • 2
  • 10
0
votes
0 answers

How to fix : -- snmpget: "error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory

snmpget: error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory
Quy Luu
  • 1
  • 2
0
votes
2 answers

How to walk sub table with pysnmp

I would like to walk the snmp table under enterprises.35604.2.3.5.7.2 oid. This will return a list of logs. When I execute the code it does not stop after the last table element. How can I make sure it will stop after all the sub table done? from…
Krisz
  • 701
  • 7
  • 23
0
votes
3 answers

How to create a zabbix problem whenever a cisco switch interface utilizes more than 80 mbps (80% of it's bandwidth)

I'm trying to create a trigger in zabbix which will show me a problem and alert me on my email whenever an interface in a cisco switch (with snmpv2) crosses 80% of it's bandwidth (100 mbps or 1000 mbps) without hardcoding anything, I tried using…
Guy Yanai
  • 13
  • 1
  • 5
0
votes
1 answer

SNMP Walk and Get / GetNext for MIBs that are not supported by agent

Our agent currently does not supports all OIDs and Group in 1.3.6.1.2.1.10.7 . Say the agents only support 1.3.6.1.2.1.10.7.11 group. Now if give SNMP Walk / GetNext / Get on 1.3.6.1.2.1.10.7.5.1.2 (leaf) or say 1.3.6.1.2.1.10.7.5 (table) should the…
Programmer
  • 8,303
  • 23
  • 78
  • 162
0
votes
1 answer

How to get get ipNetToPhysicalNetAddress column from ipNetToPhysicalTable?

Is it possible to get ipNetToPhysicalNetAddress column from ipNetToPhysicalTable from OID tree? In all devices that I tried I received "NoSuchInstance" SNMP error. Thanks in advance, Vasyl
vasyl
  • 235
  • 3
  • 4
  • 13
0
votes
1 answer

Getting Snmpwalk Timeout Error for AIX Server

I am trying to run the batch file which will do snmp walk for two AIX server. Here the problem is for the first device the walk is completed successfully but for the second device it is throwing "SNMP Timeout Error". I have tried using the batch…
0
votes
1 answer

How to do operations with form values?

so i have a form with 3 text fields, in two of them, users enters a code (and OID), which i use to run a command (snmpbulkwalk). So i want to store the outputs of those commands in a variable, lets say var1 and var2. [] But then, in the last text…
JuanMartinez
  • 19
  • 1
  • 6
0
votes
1 answer

ACL for SNMPv3 operations

Can I use acl for SNMPv3 operation?. My DUT has provision to bind acl with community string only. I don't find any cli to bind acl with snmp users.
Sathis
  • 1
0
votes
0 answers

"Ciphering services not available" error with SNMP V3 usage of pysnmp in python v3 virtual environment

I am trying to use pysnmp library with SNMP V3 settings with MD5 Auth protocol and AesCfb128 Priv protocol to obtain details from a switch. I am trying two things. 1. Install pysnmp and all dependency packages (including pycrytpto) in base…
ICK Geek
  • 13
  • 3
0
votes
1 answer

Using static context engine ID with SNMP Exporter (Prometheus)

I'm tring to run snmp-exporter (Prometheus) with static context-engine-id (SNMP v3 option). But I cannot find that setting in "SNMP Exporter Config Generator". (https://github.com/prometheus/snmp_exporter/tree/master/generator) How to configure…
smd
  • 3
  • 1
0
votes
2 answers

ParseError: Invalid ASN.1 syntax at line 1, column 1: '>!<"': Expected modulereference

I am new to asn1 ,my agenda is i want to convert python dictionary into .asn format. when i ran the below code i got the following error ParseError: Invalid ASN.1 syntax at line 1, column 1: '>!<"': Expected modulereference. from __future__ import…
ganesh j
  • 1
  • 1
0
votes
1 answer

release date for next pysnmp package

Last released pysnmp 4.4.9 has dependency on pycrtyptodomex package. Current master branch seem to have removed this dependency. Can you please let me know when is the next version of pysnmp scheduled to be released? Also, I am assuming that it will…
ICK Geek
  • 13
  • 3
0
votes
1 answer

How to send an snmp request to any computer on LAN?

I want to build an application using snmp for searching my LAN and exploring the devices which have shared some resources. I need some assistance to start with it, I have trying to do the same using net-snmp, but still no success.
Ankur
  • 81
  • 1
  • 2
  • 4
0
votes
0 answers

SharpSnmp: get OID or MIB from simulator agent

How is it possible to get OID or MIB from agent, started like shown in snmpd sample? I'm just starting to learn snmp. At first, the learning plan is to create any agent simulator and a simple client to query some information from agent. After…
Andrey K.
  • 665
  • 8
  • 29