langemar/lvm-mib
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
README file for lvm-mib Version: 0.2
DISCLAIMER
The Authors assume no responsibility for damage or loss of system
performance as a direct or indirect result of the use of this
software. This software is provided "as is" without express or
implied warranty.
TABLE OF CONTENTS
Disclaimer
Table Of Contents
Introduction
Installation
Usage
INTRODUCTION
This package is based on work by the NRCHPC (National Research Center for High Performance Computers) of China.
net-snmp version 5.1.2 or higher is required.
With this script you can monitor LVM volume and group stats via SNMP. Disk spaced used and
free space are reported.
INSTALLATION
mibs/LVM-MIB.txt
MIB file for SNMP. Place this file into /usr/share/snmp/mibs/
perl/mib_lvm.pl
MIB handler script.
conf/EXAMPLE.conf
An example snmpd.conf file.
USAGE
* snmp v2
snmptable -v 2c -c public -m all 127.0.0.1:161 vgTable //get the info of all vgs
snmptable -v 2c -c public -m all 127.0.0.1:161 lvTable //get the info of all lvs
* snmp v3
snmptable -v3 -u <user> -l authPriv -a SHA -A <authpass> -x AES -X <privpass> -m all 127.0.0.1:161 vgTable
snmptable -v3 -u <user> -l authPriv -a SHA -A <authpass> -x AES -X <privpass> -m all 127.0.0.1:161 lvTable