mibs

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 a black art to me. I believe I should be able to use LIBSMI to 'parse' the MIBs, but I d...

Updating an existing trap parameters (objects) and partially sending parameters in a trap

We have created a list of traps (notification) that our application is exposing and described it in a MIB file. Today we came into a situation that we need to update the MIB and add additional (OPTIONAL) parameter to the trap (update the Objects). So at the we will have an existing notification that has one more parameter. My question i...

SNMP MIB development tool

Does anybody know a good tool to assist in the development of an SNMP MIB with correct formatting and syntax? If possible, it should be free and run under Linux. ...

SNMP MIB Visualizer recommendations?

Are there any free visualization tools for MIBs? I've been assigned some SNMP trap normalization/enrichment work and been given Cisco ONS 15454s to start with. The MIBs seem more complex than others I have seen. Lots of object cross-references, including some to objects that are defined in other MIBs and exported. A quick example of ...

How to register a new MIB module?

Hello all! For those who have tried using the net-snmp library, how do you add a new mib module? What I so far did was generate a template newmodule.c and newmodule.h files using the mib2c command. Now, I don't know where to place the init_newmodule() function to register the new mib during start up of net-snmp application? Thanks! ...

What are the child OIDs in an SNMP trap?

I have inherited a MIB and example documentation, and need to re-implement the code that generates traps. (For various reason the original code is lost and gone forever, but CM is not my question.) The MIB says: alertObjects OBJECT IDENTIFIER ::= { corpAlert 1 } alertEvents OBJECT IDENTIFIER ::= { corpAlert 2 } alertDispa...

Make a PHP site send SNMP information to a network management app

Hi, I'm trying to make a PHP website send information through SNMP. I've been reading allot about SNMP, but I'm still a bit clueless about where to start. I believe I need to create an MIB with all the OIDs my website will use to send the info. Is this correct? How and where can I define those variables (OIDs)? Can someone point me in ...

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 SAF-CKPT-MIB::saCkptNodeReplicaType.14.118.100.115.95.118.100.101.115.116.95.100.98.95.49.14.115.97.102.78.111.100.101.61.83.67.95.50...

net-snmp MIB parse error - "Group not found in module"

When I try to load the Avaya Lannet-Trapsv2-MIB in net-snmp, it is giving the following parse error: Group not found in module (lntSecurityNotificationGroup): At line 1311 in C:/net-snmp/share/snmp/mibs/Lannet-Trapsv2-MIB.txt Group not found in module (lntConfigChangeVarbinds): At line 1311 in C:/net-snmp/share/snmp/mibs/Lannet-Trapsv2-...

Definition of SNMP Gauge32 vs Counter32

Can someone point me to a good definition of Gauge32 vs Counter32? I understand that Counter32 can wrap, but Gauge32 can't. I'm trying to understand their semantics. For example, I've heard you should take the difference between two Counter32 readings to get a value/second. Is there something like that for a Gauge32 value? Thanks ...

snmp: correct behavior when only part of a table index is given?

Assume a MIB contains a table indexed by MAC address. What's the correct behavior by the agent when a manager requests myTable.0.1? This is an incomplete index. Some possibilities that I see: Return the first row in the table -- treat this partial index as coming before the first row. Treat this as a subtree -- return rows in the tabl...

net-snmp: force table to have xxEntry value of 2 instead of 1

Using net-snmp, table code generated by mib2c -c mib2c.iterate.conf fooBarTable and then heavily hacked. Unfortunately the table is defined with an Entry of 2 instead of the normal 1. (I didn't do this, I'm trying to make this fit into an existing situation.) The MIB looks something like this: fooBarTable OBJECT-TYPE SYNTAX ...

PHP MIB to OID resolve

I'm googling around for a couple of days, and can't find clear method/lib for resolving OID from MIB name, and MIB from OID. I've found few sites that have a large MIB database, search functions ie. but communicate with them needs cURL/socket connectivity and regexp of results (or eval in some cases) I've tried to parse MIB files mysel...

C# - Where to Test (MIB-II) object's website ?

Group, Do anyone know where I can test (MIB-II) objects for my TCP-Client. A ip-address or website. Thanks, Chad ...