Questions tagged [mib]

A MIB is an acronym for Management Information Base in use with the SNMP Protocol.

A MIB is the schema for an entity, such as a corporation, that wishes to exchange SNMP packets with another entity. They use the MIB, or Management Information Base, which is the schema that allows the computers to communicate and establish understanding, such as data types, permissions and other values.

MIBs are written in Abstract Syntax Notation One (ASN.1).
MIBs are written in plain text.

Programs such a smilint can test MIB syntax for correctness and conformity to SNMP standards such as SMIv1 and SMIv2, which are subsets of ASN.1

368 questions
5
votes
2 answers

Installing snmp-mibs-downloader on debian 10 buster

I have installed net-snmp on a linux machine with debian 10 buster and now I need to install snmp-mibs-downloader. Although I have previously run sudo apt-get update when executing: sudo apt-get install snmp-mibs-downloader displays the following…
jstechg
  • 123
  • 1
  • 2
  • 10
5
votes
1 answer

C# SNMP programming

I try write some code to retrieve objectID and the result is 2B-06-01-04-01-82-31-01-03-01-01. Isn't this value correct? // Send a SysObjectId SNMP request response = conn.get("get", argv[0], argv[1], "1.3.6.1.2.1.1.2.0"); if (response[0] ==…
T_y
  • 89
  • 1
  • 3
  • 8
5
votes
2 answers

Using pySNMP to write an SNMP agent (for OpenNMS)

I'm trying to write a python SNMP agent that I can embed within my python application so that the application can be monitored remotely by OpenNMS. OpenNMS expects the Agent to implement the HOST-RESOURCES-MIB querying two fields hrSWRunNameand…
Richard B
  • 895
  • 13
  • 39
5
votes
2 answers

Sending SNMP Traps containing custom data

A client has requested that instead of email alerts that we send SNMP Traps to their Nagios server instead. The only thing I knew about SNMP before yesterday was that it sounded like an acronym, so please excuse (and correct me on) any…
Matt
  • 1,377
  • 2
  • 13
  • 26
5
votes
1 answer

How to add row in a MIB table with snmpset?

I changed recently my custom MIB file to include tables and not only scalars, it validates, I can create sub-agent etc. but if I try to read it, it says no entries: snmptable -v1 -c public hostname:10161 myMibName::myTable myMibName::myTable: No…
lzdt
  • 489
  • 1
  • 6
  • 17
5
votes
1 answer

Significance of context name in snmpv3

Snmpv3 is a secured protocol compared to Snmpv2 and Snmpv1. But I dont understand what is the use of context name.We already have an user name and also authentication and privacy passwords which provide a security level. Someone using a wireshark…
user1578656
  • 131
  • 1
  • 3
  • 6
5
votes
3 answers

Java Getting Name/Description for OIDs in MIB

I am programming a network management system, and need to be able to print out meaningful names behind the OIDs that are received from SNMP traps. Due to the nature/size of this system, it would not be a good idea to manually map every OID to a…
Stephen Watkins
  • 25,047
  • 15
  • 66
  • 100
5
votes
3 answers

What are some good resources for understanding SNMP MIBs?

I know a little about SNMP, but not enough. I need to develop an application that can read standard SNMP MIBs and read/write the various properties. The network end is no problem, but the actual MIBs and exactly what they may contain is something of…
Roddy
  • 66,617
  • 42
  • 165
  • 277
5
votes
1 answer

PySNMP can not recognize response

i am using the following simple script: from pysnmp.entity.rfc3413.oneliner import cmdgen errorIndication, errorStatus, errorIndex, \ varBindTable = cmdgen.CommandGenerator().bulkCmd( cmdgen.CommunityData('test-agent', 'public'), …
Alex Emelin
  • 814
  • 1
  • 9
  • 19
4
votes
2 answers

python net-snmp loading mibs

I'm using net-snmp's python libraries to do some long queries on various switches. I would like to be able to load new mibs -- but I cannot find any documentation on how to do this. PySNMP appears to be rather complicated and requires me to create…
yee379
  • 6,498
  • 10
  • 56
  • 101
4
votes
2 answers

Build custom MIB? SNMP4j

I would like to build a custom MIB in which I define some useful objects that can be accessed and managed by others (clients).. I've been googling this for hours now without finding any interesting documentation about that.. So first of all, is is…
mimou
  • 81
  • 1
  • 6
4
votes
1 answer

Accessing routing table via SNMP

Which MIB do I need if I am trying to find the routing table of a Linksys WRT54G with openWRT installed on it?
WxY
  • 43
  • 1
  • 2
  • 4
4
votes
1 answer

C# SNMP agent - representing complex types in MIB

I'm writing my first SNMP agent in C# and I want to expose some system event information through SNMP GET requests. On the C# side, all system events are represented by a simple class: public class MySystemEvent { public int Id { get;set; } …
Vedran Zakanj
  • 101
  • 1
  • 6
4
votes
2 answers

How to read SNMP OID Output (bits) (hrPrinterDetectedErrorState)

I have a quick question. Its most likely user error so I apologize before I begin. I’m trying to setup threshold for a device so that it will alert us when one of our printers is in a certain state. (Jammed, out of toner, no paper etc) I’ve found…
whizzzkey
  • 926
  • 3
  • 21
  • 52
4
votes
1 answer

In SNMP MIB, what is the difference between "MODULE-IDENTITY" and "OBJECT IDENTIFIER"?

In either of them I can assign an OID, but if I assign the OID using OBJECT IDENTIFIER, do I still have to make a MODULE-IDENTITY for the object?
Tony
  • 716
  • 9
  • 15
1
2
3
24 25