Installing custom or additional MIB files

Before you install custom or additional MIB files, be sure you first complete the steps in Importing pre-loaded MIB organizers and files to create an uploadedMIBs directory.

  1. Log in to the Control Center master host as root, or as a user with superuser privileges.
  2. Copy any MIBs and their dependencies that you want to install into the /opt/serviced/var/volumes/<instance_id>/zenoss-var-ext/uploadedMIBs directory on the Control Center master host. Replace <instance_id> with the appropriate ID for your instance.
    Once those files are copied to that directory, they will be immediately available inside containers at /opt/zenoss/var/ext/uploadedMIBs with no restart needed.
  3. Execute the following command to install the MIB.
    serviced service run zope zenmib run -v10 \
    /opt/zenoss/var/ext/uploadedMIBs/<MIB_filename> \
    --path=/<device_class> --removemiddlezeros \

    The --removemiddlezeros flag is needed when MIBs use notification OIDs with embedded zeros.