• 2 replies
  • Latest Post - ‏2015-08-12T22:53:37Z by M3NG_Richard_Wolters
238 Posts

Pinned topic Where can I download CASTIRON-REGISTRATIONS-MIB

‏2011-03-29T07:41:17Z |
I am trying to convert the CASTIRON-IA mib to a mdl file using the Mibutility tool so that I can monitor using the Universal agent and it complains about CASTIRON-REGISTRATIONS-MIB missing ? Any ideas where I can download it ?
Updated on 2011-03-29T16:17:21Z at 2011-03-29T16:17:21Z by SystemAdmin
  • SystemAdmin
    238 Posts

    All the MIBs are inside castironsys.mib


    The Cast Iron MIB file, as it is downloaded from the WMC, contains many individual MIBs.  The tool you're using is only able to find the first MIB entry in the file, so you'll need to break castironsys.mib up into separate files.  Each individual MIB looks like

    <ul> <li> <ul> <li>All the contents of the <MIB-NAME></li> <li>...</li> <li>...</li> </ul> </li> </ul> END

    Just create a separate file for each <MIB-NAME> entry (there are about 22 of them) and then your tool should be able to locate all the MIBs. If you are using Linux, this script can do the work for you.

    sed -ne 's/DEFINITIONS ::= BEGIN.*//p' castironsys.mib |
    while read mib; do
    echo $mib
    sed -ne "/^$mib/,/^END/p" castironsys.mib >   $mib

    <ul> <li> <ul> <li></li> </ul> </li> </ul> Layne

  • M3NG_Richard_Wolters
    1 Post

    Re: Where can I download CASTIRON-REGISTRATIONS-MIB


    I don't know why it isn't in the infocenter, but you go to Logs -> Notifications -> SNMP -> Download MTB