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
0
votes
1 answer

What is .needlength attribute is used for in mib2c?

I am trying to upgrade an old .config file that is used as a template by mib2c function to generate C-codes. The most of variable's attributes are described here, but I can not find anything about .needlength one. Any ideas what it means? Can it be…
Nazar
  • 820
  • 5
  • 13
  • 36
0
votes
2 answers

What is the meaning of SNMP's IF-MIB::ifIndex in IF-MIB::ifTable?

I wonder: I have a device that has following SNMP MIB entries: IF-MIB::ifNumber.0 = INTEGER: 46 IF-MIB::ifIndex.805306369 = INTEGER: 805306369 IF-MIB::ifIndex.805306370 = INTEGER: 805306370 .... IF-MIB::ifIndex.1073741861 = INTEGER:…
U. Windl
  • 3,480
  • 26
  • 54
0
votes
1 answer

what are MIBs in php?

When I use this code in PHP: print_r($_SERVER); the first index that it prints is: [MIBDIRS] => C:/xampp/php/extras/mibs Can somebody tell me what is MIB-Directory ? and what is used for ?
user7749092
0
votes
1 answer

Resources to build SNMP support for my device?

Can any one recommend resources for adding SNMP support for my device? my understanding the steps I need to do are as follow: Create a MIB file that define what values your MIB will support Use code generator to convert it to C module Use generated…
rayed
  • 597
  • 4
  • 10
0
votes
2 answers

Errors trying to load custom MIB file with pysnmp

To interface with a Cordex of Alpha Technologies, I need to use the SNMP protocol. I've been going through the documentation and examples from pysnmp in order to get some aspects working, and I have particular issues when using external MIB files…
Zafi
  • 619
  • 6
  • 16
0
votes
1 answer

Get value attribute MIB-Table snmp

How to get the all values of MIB-table in java? Exist an api to do this? I'm building a manage to get router counters to estimate the performance.
Jack799
  • 11
  • 1
0
votes
1 answer

SNMP Agent using pysnmp in a multithreaded environment Timeout

I am trying to write an SNMP agent that I can use to monitor my python processes. To do so I have written a class that implements the SNMP agent using pysnmp. The core part of this agent works (i.e. i can use snmpwalk to interrogate the agent and…
Richard B
  • 895
  • 13
  • 39
0
votes
1 answer

SNMP management information base

I have a question that annoys me about SNMP protocol and more especially the MIB database. Well, I will try to put you in the context of the work: I will develop an application that allows me to query a SNMP agent to retrieve information, but the…
0
votes
2 answers

node-js translate OIDs of snmp trap into textual object identifiers using the MIB description files

I'm working on application that receive snmp trap and create a json object of this trap according to mib file in NodeJS. I've received the trap and print it using util.inspect according to this tutorial…
Luay AL-Assadi
  • 426
  • 7
  • 16
0
votes
1 answer

What do I set ProductID to in HOST-RESOURCES-MIB

I'm implementing an SNMP agent in python and am using the MIB HOST-RESOURCES-MIB. One of the fields that I need to set is hrSWRunID. This OID is defined to be of type ProductID and the definition for ProductID states ProductID ::=…
Richard B
  • 895
  • 13
  • 39
0
votes
1 answer

pysnmp Agent with HOST-RESOURCES-MIB

I'm trying to monitor a python process using opennms. To do this I need to implement an agent that supports the HOST-RESOURCES-MIB. Opennms checks the state of the process by inspecting the hrSwRunTable of the HOST-RESOURCES-MIB. The test is done by…
Richard B
  • 895
  • 13
  • 39
0
votes
1 answer

pysnmp how to load custom MIB modules which are in asn.1 format

I am having trouble in figuring out how to load custom MIBs which with .txt extensions using pysnmp module This is what I am doing currently b = builder.MibBuilder() compiler.addMibCompiler(b, sources=[mib_location]) mib_location is folder on which…
saurabh baid
  • 1,819
  • 1
  • 14
  • 26
0
votes
1 answer

How to show fieldnames and severity in SNMP CA Spectrum?

Conditions: CA Console spectrum server receives SNMP traps (events), MIB definition file loaded to CA system. Problem: In events list I don't see color severity and I see only OIDs, but not fields names described by MIB file. Does anyone have…
0
votes
1 answer

where is the MIB real value in snmp

Objects in the MIB are defined using a subset of A ASN.1. following as nsMemory OBJECT IDENTIFIER ::= {netSnmpObjects 31} nsSwap OBJECT IDENTIFIER ::= {netSnmpObjects 32} nsCPU OBJECT…
user6448560
0
votes
1 answer

How to solve mibble.MibLoaderException

I want to parse some mibs via mibble. Some of them can be parsed successfully. But when I try to parse two files named NS-TRAPS.mib and mib-jnx-chassis.txt for juniper device. It always get exceptions. net.percederberg.mibble.MibLoaderException:…
Wendy
  • 73
  • 2
  • 15