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

How to correctly use MIBs for SNMP?

I'm currently trying to write a bash-monitoring-script for a Fujitsu Primergy RX300 S6, running with XenServer 6.5.0. After downloading the MIB-files from the Fujitsu-Page I'm getting several errors, trying to run the following line snmpget -Ov -v…
Flx
  • 13
  • 6
0
votes
1 answer

SNMP4J : Is it possible to create an OID in the agent (server) MIB from the manager (client)?

I am using SNMP4J Framework and it implements and makes possible the standard SET, GET, GET-NEXT, etc. messages. For example, with a SET, I can update the value of the MIB OID "1.3.6.1.2.50.0". This works perfectly for me. I can do that using…
rBenks93
  • 53
  • 1
  • 8
0
votes
1 answer

how do i use my own MIB file with net-snmp agent

I have written a MIB file which has just one OIDs (read-write) like .1.3...enterprises...Flag1.0 I have also installed net-snmp on my linux box. How can i get my mib file working with agent. I have got some idea of net-snmp, but i want to know what…
0
votes
0 answers

C - Parse string from SNMP SET (weird)

I am working on my own SNMP agent and am having trouble processing strings. I am pretty new to SNMP as well. I've referred to the following links for some of implementing my own agent :…
jtor
  • 133
  • 1
  • 4
  • 13
0
votes
1 answer

MIB not "refreshed"

I want to change my MIB structure (custom MIB already working). I have run ./configure. I have changed customMIB.txt and rewrite snmpd.conf. SNMPD services are restarted. MIB changes : entry2 INTEGER -> OCTET STRING. But I have theses results : #…
0
votes
1 answer

How to monitor Java process using SNMP

I need to monitor a Java process using SNMP i.e if the Java process is down it should send a Trap . Need help in how to use net-snmp to monitor the java process My queries are for net-snmp: Do I have to create a MIB for my Java process? How does the…
Avishek
  • 390
  • 4
  • 22
0
votes
1 answer

Dynamically traversing MIB to find OIDs to extract information

I am currently attempting to pull specific information from the MIBs of a couple of devices. These will mainly be Cisco devices, I was wondering if there were any common OIDs for all devices I can query from, or would they need to be individually…
Johnathon64
  • 1,280
  • 1
  • 20
  • 45
0
votes
1 answer

Should the snmpEngineID be different for different routers or it depends on the snmp agents?

While setting snmpEngineID is it necessary to provide different snmpEngineID for different routers or it depends on the snmp agent that resides on the router?
user1578656
  • 131
  • 1
  • 3
  • 6
0
votes
2 answers

Can a field (column) of a MIB file table be hidden from a MIB browser and SNMP GET/SET operations?

I have created a MIB file which contains some fields which I want to hide from the user. I don't want the user to see the field or column in a MIB browser; neither do I want the user to be able to fetch the value of the field using SNMP SET/GET…
user1578656
  • 131
  • 1
  • 3
  • 6
0
votes
1 answer

Description and MIB files for .1.3.6.1.4.1.15227.1.3.1.1.6.0 and .1.3.6.1.4.1.15227.1.3.1.1.7.0

I could not find detail description for following OIDs. .1.3.6.1.4.1.15227.1.3.1.1.6.0 .1.3.6.1.4.1.15227.1.3.1.1.7.0 And, Where do I download for MIB files for these OIDs.
Tun Lin Aung
  • 339
  • 1
  • 4
  • 17
0
votes
0 answers

Running a script upon OID GET

I am trying to use NET-SNMP to run a little script and return the value returned by the script I have my snmpd.conf file configured with the extend statement: although when I query the device using iReasonings MIB Browser, I get this: I haven't…
Funkyguy
  • 628
  • 2
  • 10
  • 31
0
votes
1 answer

Trouble grasping MIBs with PySNMP

I am fairly new to the SNMP protocol and have only been introduced to it recently in my computer networking course. I understand how the manager sends Gets, Sets, GetNext, GetBulk and all that, it will catch Traps and such. One thing I don't…
Funkyguy
  • 628
  • 2
  • 10
  • 31
0
votes
1 answer

Understanding UCD-DISKIO-MIB object - diskIONWritten Column

I'm using ucdDiskIOMIB MIB object to get disk IO. Everything works fine but I don't understand counter data I'm getting. Im querying diskIONWritten columns and result is constantly increasing until one moment when it decrease. Here is example of my…
Gavro
  • 3
  • 1
0
votes
1 answer

How to parse MIB output from FC switch to OID?

I trying to find specific WWN address from FC switch table in order to get port ID and change admin state (I already have the WWN address). I using SNMP that return WWN table for it and I get output like this: In [39]:…
VadimG
  • 1
0
votes
1 answer

#SNMP using a custom OID

Is it possible to use a custom OID in the library #SNMP (http://sharpsnmplib.codeplex.com/)? If so, how can a custom OID variable/subtree be added/registered with #SNMP so it is possible to read and write to those variables? I would like to…
ips
  • 71
  • 2
  • 7