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

PDU.TRAP vs PDU.SET snmp4j

PDU pdu = new PDU(); pdu.setType(PDU.SET); pdu.add(new VariableBinding(new OID("1.3.6.1.4.1.100.1.1"), new Counter64(System.currentTimeMillis()))); pdu.add(new VariableBinding(new OID("1.3.6.1.4.1.100.2.1"), new OctetString("some…
Mustafa Genç
  • 2,569
  • 19
  • 34
0
votes
0 answers

MIB File How to generate table header and definition files?

I have use the following command and got the error msg mib2c -c mib2c.column_defines.conf programTable ERROR: failed to open programTable_columns.h at /usr/local/share/snmp//mib2c.column_defines.conf:1 i Have used the all the commands but got…
0
votes
0 answers

From Management Information Base [MIB] file generate table, c,c header file

I am using the snmp use the MIB to display data I am having on the MIB From that file i want to generate the .c file c header file. How to generate the files and how to get the OID for the created MIB files , IF the mib file having the table…
0
votes
1 answer

How to retrieve messages from dmsMessageTable of a Device Controller Using SNMP

I am working on NTCIP/SNMP Protocol I was able to connect to the device controller using one one of the MIBBrowser and was able to walk through the different objects(OIDS) loaded through a MIB File. However,When I do a walk over the dmsMessageTable…
pavan
  • 979
  • 3
  • 11
  • 21
0
votes
1 answer

How we add custom OID in Opennms

I am using Opennms first time. I am having problem adding OID value to opennms. For this I have follow multiple documents. I have added a protocol in capsd-configurations.xml, define services in poller-configuration.xml and added monitor at the…
0
votes
1 answer

MIB limits (columns in tables and compliance objects)

I am writing some enterprise MIB modules, including tables (columnar objects) and compliance statements. I note that when using the iReasoning MIB Browser (version 9.0 build 3532) under Linux, it only seems to display the first 15 compliance objects…
NetHead
  • 71
  • 1
  • 10
0
votes
1 answer

HP Flexfabric MIB Reference ? (SNMP)

Do you know where I can find a reference about SNMP Oids and MIBS for "HP Virtual COnnect FlexFabric module"? You can find a link to this product here: http://h18004.www1.hp.com/products/blades/components/ethernet/10gb24/index.html Even a reference…
timmalos
  • 532
  • 3
  • 9
  • 24
0
votes
2 answers

How to add a new OID and fill values?

I need a good beginner advice - all tutorial I searched are either outdated or do not contain the information how to achieve what I want. I want: Create a new OID (now under experimental, later we will reserve a new OID as enterprise) Under this…
Florian Müller
  • 7,448
  • 25
  • 78
  • 120
0
votes
2 answers

ASN.1 compiler error token "SYNTAX" unexpected

I'm currently trying to compile a snippet of ASN.1 code. It looks as follows: RFC1213-MIB DEFINITIONS ::= BEGIN IMPORTS experimental FROM RFC1155-SMI OBJECT-TYPE FROM RFC-1212; mypersonaltest OBJECT IDENTIFIER ::= {…
Florian Müller
  • 7,448
  • 25
  • 78
  • 120
0
votes
1 answer

Custom MIBs creation

For our VoIP application we have to publish some value through database on SNMP. Can anyone let me know how would do this. Will I have to create MIBs and if that how would MIBs receive data from application. Is there any free editor for creating…
0
votes
1 answer

SNMP MIB for finding if Router is busy

I want to be able to use snmpget on a cisco router to find out if it is busy or not by seeing how many packets it is handling. I want to do this so I can plan out a good time to use that router when it is not busy. I have tried snmpget -v1 -c public…
R0drom
  • 51
  • 6
0
votes
2 answers

Two kyocera printers have the same SysObjectID (.1.3.6.1.2.1.1.2)

I am trying to get the device details of a printer using SNMP. I am trying to use the SysObjectID of the device for tracking the model. I am getting same value for SysObjectID (value of .1.3.6.1.2.1.1.2.0) for the below printers,I checked it using a…
prasankn
  • 81
  • 1
  • 1
  • 11
0
votes
1 answer

Index in MIB table

I want to use a hierarchical table structure within a MIB for an SNMPv2-Trap similar to the one described within this answer https://stackoverflow.com/a/2510340/346899 However I do not really get the concept of the INDEX for entries in a MIB table.…
s106mo
  • 1,243
  • 2
  • 14
  • 20
0
votes
1 answer

Using grammar from a .grammar file with ruby

Looking for a way to parse SNMP Mib Files in Ruby, I found a project written in Java (www.mibble.org) that use two files of Grammar (extension .grammar) to parser Mib files. Is there any way to use grammar files with ruby?
almsrj
  • 125
  • 4
0
votes
2 answers

Ordering of MIB

I am having one MIB SAF-CKPT-MIB When I am trying the command snmpget -v2c -c public -mALL (IP_address) SAF-CKPT-MIB::saCkptCheckpointMaxSectionSize.14.118.100.115.95.118.100.101.115.116.95.100.98.95.49…
Arpit
  • 4,259
  • 10
  • 38
  • 43