| C H A P T E R 14 |
|
Lustre SNMP Module |
The Lustre SNMP module reports information about Lustre components and system status, and generates traps if an LBUG occurs. The Lustre SNMP module works with the net-snmp. The module consists of a plug-in (lustresnmp.so), which is loaded by the snmpd daemon, and a MIB file (Lustre-MIB.txt).
This chapter describes how to install and use the Lustre SNMP module, and includes the following sections:
To install the Lustre SNMP module:
1. Locate the SNMP plug-in (lustresnmp.so) in the base Lustre RPM and install it.
/usr/lib/lustre/snmp/lustresnmp.so
2. Locate the MIB (Lustre-MIB.txt) in /usr/share/lustre/snmp/mibs/Lustre-MIB.txt and append the following line to snmpd.con.
dlmod lustresnmp /usr/lib/lustre/snmp/lustresnmp.so
3. You may need to copy Lustre-MIB.txt to a different location to use few tools. For this, use either of these commands.
~/.snmp/mibs /usr/local/share/snmp/mibs
To build the Lustre SNMP module, you need the net-snmp-devel package. The default net-snmp install includes a snmpd.conf file.
1. Complete the net-snmp setup by checking and editing the snmpd.conf file, located in /etc/snmp
/etc/snmp/snmpd.conf
2. Build the Lustre SNMP module from the Lustre src.rpm
Once the Lustre SNMP module in installed and built, use it for purposes:
Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.