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 Target in snmp4j lib for SNMP

Hello Everyone!! I have a sample code to access some information of device using snmp4j in SNMP protocol...In the sample code they have given to dump the information retrieved into some target address and i am not getting what…
vikas
  • 339
  • 2
  • 6
  • 12
0
votes
1 answer

Get MibModule Object or Entity from ObjectIdentifier [SharpSNMPLib]

I made a Walker requesting a network device some information. IPEndPoint receiver = new IPEndPoint(ip, 161); IList result = new List(); WalkMode mode = WalkMode.WithinSubtree; Messenger.Walk(VersionCode.V1, receiver, new…
0
votes
1 answer

Given an OID, how do I find the corresponding MIB?

I'm using net-snmp. Given a specific OID such as .1.3.6.1, how do I find the corresponding MIB/module/filename/anything where that OID is described? I've looked through all the #include file in but I cannot figure it out. I was…
Stéphane
  • 19,459
  • 24
  • 95
  • 136
0
votes
1 answer

Why the description of the snmp oid giving "null"?

My following code is not working as I want to get the description of a node using the Net-Snmp library. #include "net-snmp/net-snmp-config.h" #include "net-snmp/net-snmp-includes.h" void print_s(struct tree *); int main(int argc, char **…
pradipta
  • 1,718
  • 2
  • 13
  • 24
0
votes
2 answers

MIB file writing issue

IONLINE-MIB DEFINITIONS ::= BEGIN IMPORTS IpAddress, MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, snmpModules, OBJECT-IDENTITY, enterprises, Counter32, Integer32 FROM SNMPv2-SMI DisplayString, …
jatin bodarya
  • 72
  • 3
  • 8
0
votes
1 answer

Getting MIB compile error: Sequence and Row should have related names

On an MIB I have written I am getting the error Warning 10 : Sequence "XxxSequence" and Row "xxxEntry" should have related names smilint is not giving any errors and net-snmp does not seem to care either. Does anyone have a hint on what this…
G. Allen Morris III
  • 1,012
  • 18
  • 30
0
votes
1 answer

How to identify devices generating the majority of the network traffic over a certain period?

How to identify devices generating most of the network traffic over a certain period of time using SNMP queries to objects of MIB-II.
0
votes
1 answer

How to identify devices that are being targets of attempts of SNMP unsuccessful queries due wrong communities?

Using SNMP queries to the MIB-II objects, how to identify devices that are being targets of attempts of SNMP unsuccessful queries, since these queries inform wrong communities?
Nathan Nathan
  • 113
  • 1
  • 1
  • 6
0
votes
1 answer

About MIB handling of agent in SNMP

I'm developing the agent in SNMP and I have a question related to MIB file: How does the agent get/set the values of object from MIB (I think "MIB" only refers to the definition of objects without values)? How do I manage device handle value of an…
jackson
  • 31
  • 2
0
votes
1 answer

Simple Example of Sending J2EE-MIB Stats to an SNMP Manager

I'm looking for a simple java example that actively sends SNMP stats to an SNMP Manager using the J2EE-MIB or the JVM-MANAGEMENT-MIB. My intent is to use SNMP4j against CA Spectrum, but any Java API against any generic SNMP manager is fine. I'm…
Nicholas
  • 15,916
  • 4
  • 42
  • 66
0
votes
2 answers

Cannot see all elements within a MIB using snmpget/snmpwalk

I am using NET-SNMP (V5.6.1.1) on windows to read my MIB with snmpget & snmpwalk. When I try accessing the MIB I can only see some of the elements. I know the MIB is good since my colleague can extract the same revision of the MIB from the…
Paulski73
  • 195
  • 1
  • 6
  • 20
0
votes
2 answers

Implementation of Host Resource MIB in linux OS

While executing below snmpwalk command snmpwalk -v2c -c public localhost host I am getting only this as output for my linux system HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2012-8-16,10:43:20.0,-5:30 HOST-RESOURCES-MIB::hrSystemDate.0 = No more…
Gaurav
  • 91
  • 1
  • 4
  • 14
0
votes
2 answers

Bad operator (�): At line 1 in /usr/share/snmp/mibs/ZYXEL-ES2108G-MIB.txt

Bad operator (�): At line 1 in /usr/share/snmp/mibs/ZYXEL-ES2108G-MIB.txt...while executing snmptranslate command m getting this error...What is the meaning of that???? any help
Gaurav
  • 91
  • 1
  • 4
  • 14
0
votes
1 answer

MIB design from scratch

I need to design MIB for SNMP analysis from scratch. I mean, we got an OID for our enterprise on the tree 2.25 now it's time to code. However, I can't get an example of this. When looking under /usr/share/snmp/mibs directory on our Linux machine a…
Michael
  • 373
  • 1
  • 3
  • 15
-1
votes
2 answers

YANG and SMI/MIB Compatibility

Are they both interconvertable? YANG -> MIB MIB -> YANG Thanks, VJ
1 2 3
24
25