Configuration & Administration

Expand all | Collapse all

Zenoss 4.2.5 - smidump - segfaul/general protection fault while loading MIBs

Jump to Best Answer
  • 1.  Zenoss 4.2.5 - smidump - segfaul/general protection fault while loading MIBs

    Posted 06-08-2021 11:33 PM
    Hello,

    Trying to load MIBs but getting smidump these errors.

    Any idea?

    Thankjs

    ------------------------------
    Sam
    ------------------------------


  • 2.  RE: Zenoss 4.2.5 - smidump - segfaul/general protection fault while loading MIBs

    Posted 06-14-2021 07:24 PM
    Has anyone able to load Cisco UCS/UCSM MIBs on Zenoss successfully?

    I'm getting segfaults while trying to load the MIBs.

    Thanks

    ------------------------------
    Sam
    ------------------------------



  • 3.  RE: Zenoss 4.2.5 - smidump - segfaul/general protection fault while loading MIBs

    Posted 06-15-2021 11:38 AM
    Hi, Sam!

    Can you attach the errors/segfaults you're getting from zenmib?

    ------------------------------
    Michael J. Rogers
    Senior Instructor - Zenoss
    Austin TX
    ------------------------------



  • 4.  RE: Zenoss 4.2.5 - smidump - segfaul/general protection fault while loading MIBs

    Posted 06-15-2021 01:24 PM
    Michael,

    Here is the information when zenmib -v10 was run. I've been following the documentation available at -

    How To Administer MIB Files In Zenoss Resource Manager


    /opt/zenoss/share/mibs/site/cisco$ smidump --keep-going --format python --preload /opt/zenoss/share/mibs/site/cisco/CISCO-UNIFIED-COMPUTING-MIB.my --preload /opt/zenoss/share/mibs/ietf/INET-ADDRESS-MIB --preload /opt/zenoss/share/mibs/site/cisco/CISCO-TC.my --preload /opt/zenoss/share/mibs/site/cisco/CISCO-SMI.my --preload /opt/zenoss/share/mibs/site/vmware/SNMPv2-TC.mib --preload /opt/zenoss/share/mibs/ietf/SNMPv2-CONF --preload /opt/zenoss/share/mibs/site/vmware/SNMPv2-SMI.mib --preload /opt/zenoss/share/mibs/site/vmware/SNMP-FRAMEWORK-MIB.mib /opt/zenoss/share/mibs/site/cisco/CISCO-UNIFIED-COMPUTING-TC-MIB.my
    /opt/zenoss/share/mibs/site/cisco/CISCO-UNIFIED-COMPUTING-TC-MIB.my:68: revision for last update is missing
    Segmentation fault
    
    
    
    kernel: smidump[12998]: segfault at 600000003 ip 00007ff2c8f84bf0 sp 00007fffe432db18 error 4 in libsmi.so.2.0.27[7ff2c8f78000+59000]
    
    kernel: smidump[17226] general protection ip:7f8b120a4bf0 sp:7ffd1d250918 error:0 in libsmi.so.2.0.27[7f8b12098000+59000]
    
    
    
    /opt/zenoss/share/mibs/site/cisco$ echo $SMIPATH
    /opt/zenoss/share/mibs:/opt/zenoss/share/mibs/iana:/opt/zenoss/share/mibs/ietf:/opt/zenoss/share/mibs/irtf:/opt/zenoss/share/mibs/site:/opt/zenoss/share/mibs/tubs
    
    
    
    
    ​


    ------------------------------
    Sam
    ------------------------------



  • 5.  RE: Zenoss 4.2.5 - smidump - segfaul/general protection fault while loading MIBs

    Posted 06-15-2021 06:00 PM
    Tried to load pre-requisites and got this

    /opt/zenoss/share/mibs/site/cisco$ smidump --keep-going --format python --preload /opt/zenoss/share/mibs/site/cisco/SNMPv2-SMI.my  --preload /opt/zenoss/share/mibs/site/cisco/SNMPv2-TC.my   --preload /opt/zenoss/share/mibs/site/cisco/SNMP-FRAMEWORK-MIB.my --preload /opt/zenoss/share/mibs/site/cisco/INET-ADDRESS-MIB.my --preload /opt/zenoss/share/mibs/site/cisco/CISCO-SMI.my --preload /opt/zenoss/share/mibs/site/cisco/CISCO-TC.my --preload /opt/zenoss/share/mibs/site/cisco/CISCO-UNIFIED-COMPUTING-MIB.my  /opt/zenoss/share/mibs/site/cisco/CISCO-UNIFIED-COMPUTING-TC-MIB.my
    /opt/zenoss/share/mibs/site/cisco/CISCO-UNIFIED-COMPUTING-TC-MIB.my:32: identifier `TEXTUAL-CONVENTION' cannot be imported from module `SNMPv2-TC'
    /opt/zenoss/share/mibs/site/cisco/CISCO-UNIFIED-COMPUTING-TC-MIB.my:68: revision for last update is missing
    /opt/zenoss/share/mibs/site/cisco/CISCO-UNIFIED-COMPUTING-TC-MIB.my:48171: redefinition of identifier `CucsStorageControllerId'
    smidump: module `/opt/zenoss/share/mibs/site/cisco/CISCO-UNIFIED-COMPUTING-TC-MIB.my' contains errors, expect flawed output​


    ------------------------------
    Sam
    ------------------------------



  • 6.  RE: Zenoss 4.2.5 - smidump - segfaul/general protection fault while loading MIBs

    Posted 06-15-2021 07:31 PM
    After fixing the TC MIB. Now I have this problem with SNMPv2-SMI

     smidump -f python /opt/zenoss/share/mibs/ietf/SNMPv2-SMI
    /opt/zenoss/share/mibs/ietf/SNMPv2-SMI:191: range limit exceeds underlying basetype
    /opt/zenoss/share/mibs/ietf/SNMPv2-SMI:196: range limit exceeds underlying basetype
    /opt/zenoss/share/mibs/ietf/SNMPv2-SMI:202: range limit exceeds underlying basetype
    /opt/zenoss/share/mibs/ietf/SNMPv2-SMI:207: range limit exceeds underlying basetype
    /opt/zenoss/share/mibs/ietf/SNMPv2-SMI:217: range limit exceeds underlying basetype
    /opt/zenoss/share/mibs/ietf/SNMPv2-SMI:217: range limits must be `lower-bound .. upper-bound'
    smidump: module `/opt/zenoss/share/mibs/ietf/SNMPv2-SMI' contains errors, expect flawed output
    smidump: aborting due to severe parsing errors
    smidump: use the -k option to force continuation
    ​


    ------------------------------
    Sam
    ------------------------------



  • 7.  RE: Zenoss 4.2.5 - smidump - segfaul/general protection fault while loading MIBs
    Best Answer

    Posted 06-17-2021 04:08 PM
    Edited by Sam 06-17-2021 09:42 PM
    Never mind. I finally figured it out.  The Cisco TC MIB had issues. All is good now.

    ------------------------------
    Sam
    ------------------------------