Importing pre-loaded MIB organizers and files
Import the following pre-loaded MIB organizers and files (IANA, IETF, IRTF, SITE, and TUBS):
- Log in to the Control
Center master host as
root
, or as a user with superuser privileges. -
Navigate to /opt/serviced/var/volumes/<instance_id>/zenoss-var-ext and determine whether the uploadedMIBs directory exists. Replace <instance_id> with the appropriate ID for your instance. If it does not exist, create it and change the owner and permissions as follows. (You only need to perform this action once.)
-
Ensure you are in the /opt/serviced/var/volumes/<instance_id>/zenoss-var-ext directory.
cd /opt/serviced/var/volumes/<instance_id>/zenoss-var-ext
-
Create the uploadedMIBs directory.
mkdir uploadedMIBs
-
Change the owner and permissions of the uploadedMIBs directory by executing the following commands.
chown 1337:1206 uploadedMIBs chmod 775 uploadedMIBs
-
-
Copy the files from the /usr/share/mibs directory to the uploadedMIBs directory. (You only have to do this once.)
-
Attach to the zope service.
serviced service attach zope/0
-
Change to the /opt/zenoss/var/ext/uploadedMIBs directory.
cd /opt/zenoss/var/ext/uploadedMIBs
-
Copy the MIB files to that directory.
cp -Rp /usr/share/mibs/* .
-