Installing the SMARTCTL-SNMP-MIB

Installing the overlay

The snmp-mibs/smartctl-snmp-mib package is not currently available as part of the official Gentoo Linux distribution but is distributed using an overlay maintained and supported by us at Hacking Networked Solutions. Before the snmp-mibs/smartctl-snmp-mib package can be installed therefore the overlay must first be installed by following the instructions in the Installing the Hacking Networked Solutions overlay for Gentoo Linux section of the Hacking Networked Solutions overlay for Gentoo Linux documentation.

Installing the package

Once the required overlay has been installed the installation of the snmp-mibs/smartctl-snmp-mib package is as easy as any other on Gentoo Linux and is performed using the emerge application as usual as shown below.

64bit-SRV portage emerge -pv smartctl-snmp-mib
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild      ] snmp-mibs/hacking-snmp-mib-0.1
[ebuild      ] snmp-mibs/smartctl-snmp-mib-0.2

Once you are happy that the snmp-mibs/smartctl-snmp-mib package will not install any dependencies you do not require, and that any dependencies which will be installed have the correct use-flags set, you can install the package as shown below.

64bit-SRV portage emerge smartctl-snmp-mib