Blame doc/ledmon.conf.pod

Packit 7e09eb
#
Packit 7e09eb
#  Intel(R) Enclosure LED Utilities
Packit 7e09eb
#  Copyright (C) 2009-2017 Intel Corporation.
Packit 7e09eb
#
Packit 7e09eb
#  This program is free software; you can redistribute it and/or modify it
Packit 7e09eb
#  under the terms and conditions of the GNU General Public License,
Packit 7e09eb
#  version 2, as published by the Free Software Foundation.
Packit 7e09eb
#
Packit 7e09eb
#  This program is distributed in the hope it will be useful, but WITHOUT
Packit 7e09eb
#  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
Packit 7e09eb
#  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
Packit 7e09eb
#  more details.
Packit 7e09eb
#
Packit 7e09eb
#  You should have received a copy of the GNU General Public License along with
Packit 7e09eb
#  this program; if not, write to the Free Software Foundation, Inc.,
Packit 7e09eb
#  51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
Packit 7e09eb
#
Packit 7e09eb
=head1 NAME
Packit 7e09eb
Packit 7e09eb
ledmon.conf - Configuration file for Intel(R) Enclosure LED Utilities.
Packit 7e09eb
Packit 7e09eb
=head1 DESCRIPTION
Packit 7e09eb
Packit 7e09eb
The ledmon configuration file allows you to use advanced settings and functions
Packit 7e09eb
of Intel(R) Enclosure LED Utilities. The global location of the configuration
Packit 7e09eb
file is F</etc/ledmon.conf>. Instead of a global configuration file, you can
Packit 7e09eb
specify a local config file using the I<-c> option when running ledmon.
Packit 7e09eb
Packit 7e09eb
=head2 SYNTAX
Packit 7e09eb
Packit 7e09eb
One line should keep exactly one option and value in the configuration file in
Packit 7e09eb
format: OPTION=VALUE. Any word that begins with a hash sign (B<#>) starts a
Packit 7e09eb
comment and that word together with the remainder of the line is ignored. Empty
Packit 7e09eb
lines are allowed. Either single quotes (B<'>) or double quotes (B<">) should
Packit 7e09eb
not be used.
Packit 7e09eb
Packit 7e09eb
Values are considered as truth: enabled, true, yes, 1.
Packit 7e09eb
Packit 7e09eb
Values are considered as false: disabled, false, no, 0.
Packit 7e09eb
Packit 7e09eb
See also the examples section.
Packit 7e09eb
Packit 7e09eb
=head2 List of configurable options:
Packit 7e09eb
Packit 7e09eb
B<BLACKLIST> - Ledmon will exclude scanning controllers listed on blacklist.
Packit 7e09eb
When whitelist is also set in config file, the blacklist will be ignored.
Packit 7e09eb
The controllers should be separated by comma (B<,>) character.
Packit 7e09eb
Packit 7e09eb
B<BLINK_ON_INIT> - Related with RAID Initialization (resync), Verify (check)
Packit 7e09eb
and Verify and Fix (repair) processes. If value is set to true - status LEDs of
Packit 7e09eb
all member drives will blink with proper pattern if RAID volume is under sync
Packit 7e09eb
process. If value is set to false, processes like init or verifications will not
Packit 7e09eb
be reported by LEDs. The default value is true.
Packit 7e09eb
Packit 7e09eb
B<BLINK_ON_MIGR> - RAID can be migrated between some levels or strip sizes and
Packit 7e09eb
the flag is related with this processes. Also RAID Grow operation will be
Packit 7e09eb
reported along with this flag. If value is set to true - status LEDs of all
Packit 7e09eb
member drives will blink with proper pattern if RAID volume is under reshape.
Packit 7e09eb
If value is set to false, listed actions will not be reported by LEDs. The
Packit 7e09eb
default value is true.
Packit 7e09eb
Packit 7e09eb
B<INTERVAL> - The value is given in seconds. Defines time interval between
Packit 7e09eb
ledmon sysfs scan. The minimum is 5 seconds the maximum is not specified. The
Packit 7e09eb
default value is 10 seconds.
Packit 7e09eb
Packit 7e09eb
B<LOG_LEVEL> - Corresponds with I<--log-level> flag from ledmon. Log level QUIET
Packit 7e09eb
means no logging at all and ALL means to log everything. The default log level
Packit 7e09eb
is WARNING. Acceptable values are: quiet, error, warning, info, debug, all.
Packit 7e09eb
Value also can be set by integer number - 0 means 'quiet' and 5 means 'all'.
Packit 7e09eb
Packit 7e09eb
B<LOG_PATH> - Sets a path to local log file. If this option is specified the
Packit 7e09eb
global log file F is not used.
Packit 7e09eb
Packit 7e09eb
B<RAID_MEMBERS_ONLY> - If flag is set to true ledmon will limit monitoring only
Packit 7e09eb
to drives that are RAID members. The default value is false.
Packit 7e09eb
Packit 7e09eb
B<REBUILD_BLINK_ON_ALL> - Flag is related with RAID rebuild process. When value
Packit 7e09eb
is set to false - only the drive that the RAID is rebuilding to will be marked
Packit 7e09eb
with appropriate LED pattern. If value is set to true all drives from RAID
Packit 7e09eb
that is during rebuild will blink during this operation.
Packit 7e09eb
Packit 7e09eb
B<WHITELIST> - Ledmon will limit changing LED state to controllers listed on
Packit 7e09eb
whitelist. If any whitelist is set, only devices from list will be scanned by
Packit 7e09eb
ledmon. The controllers should be separated by comma (B<,>) character.
Packit 7e09eb
Packit 7e09eb
=head1 EXAMPLES
Packit 7e09eb
Packit 7e09eb
=head2 Excluding one controller from ledmon scans, changing log level and scans
Packit 7e09eb
interval:
Packit 7e09eb
Packit 7e09eb
LOG_LEVEL=all
Packit 7e09eb
Packit 7e09eb
INTERVAL=5
Packit 7e09eb
Packit 7e09eb
#Exclude disks from SATA controller
Packit 7e09eb
Packit 7e09eb
BLACKLIST=/sys/devices/pci0000:00/0000:00:17.0
Packit 7e09eb
Packit 7e09eb
=head2 Blink only on RAID members, blink on all disks during rebuild and ignore
Packit 7e09eb
init phase:
Packit 7e09eb
Packit 7e09eb
RAID_MEMBERS_ONLY=true
Packit 7e09eb
Packit 7e09eb
BLINK_ON_INIT=false
Packit 7e09eb
Packit 7e09eb
REBUILD_BLINK_ON_ALL=true
Packit 7e09eb
Packit 7e09eb
Packit 7e09eb
=head1 LICENSE
Packit 7e09eb
Packit 7e09eb
Copyright (c) 2009-2017 Intel Corporation.
Packit 7e09eb
Packit 7e09eb
This program is distributed under the terms of the GNU General Public License
Packit 7e09eb
as published by the Free Software Foundation. See the built-in help for details
Packit 7e09eb
on the License and the lack of warranty.
Packit 7e09eb
Packit 7e09eb
=head1 SEE ALSO
Packit 7e09eb
Packit 7e09eb
ledmon(8), ledctl(8)
Packit 7e09eb
Packit 7e09eb
=head1 AUTHOR
Packit 7e09eb
Packit 7e09eb
This manual page was written by Michal Zylowski <michal.zylowski@intel.com>. It
Packit 7e09eb
may be used by others.