1ledmon.conf(5)      Intel(R) Enclosure LED Utilities Config     ledmon.conf(5)
2
3
4

NAME

6       ledmon.conf - Configuration file for Intel(R) Enclosure LED Utilities.
7

DESCRIPTION

9       The ledmon configuration file allows you to use advanced settings and
10       functions of Intel(R) Enclosure LED Utilities. The global location of
11       the configuration file is /etc/ledmon.conf. Instead of a global
12       configuration file, you can specify a local config file using the -c
13       option when running ledmon.
14
15   SYNTAX
16       One line should keep exactly one option and value in the configuration
17       file in format: OPTION=VALUE. Any word that begins with a hash sign (#)
18       starts a comment and that word together with the remainder of the line
19       is ignored. Empty lines are allowed. Either single quotes (') or double
20       quotes (") should not be used.
21
22       Values are considered as truth: enabled, true, yes, 1.
23
24       Values are considered as false: disabled, false, no, 0.
25
26       See also the examples section.
27
28   List of configurable options:
29       BLACKLIST - Ledmon will exclude scanning controllers listed on
30       blacklist.  When whitelist is also set in config file, the blacklist
31       will be ignored.  The controllers should be separated by comma (,)
32       character.
33
34       BLINK_ON_INIT - Related with RAID Initialization (resync), Verify
35       (check) and Verify and Fix (repair) processes. If value is set to true
36       - status LEDs of all member drives will blink with proper pattern if
37       RAID volume is under sync process. If value is set to false, processes
38       like init or verifications will not be reported by LEDs. The default
39       value is true.
40
41       BLINK_ON_MIGR - RAID can be migrated between some levels or strip sizes
42       and the flag is related with this processes. Also RAID Grow operation
43       will be reported along with this flag. If value is set to true - status
44       LEDs of all member drives will blink with proper pattern if RAID volume
45       is under reshape.  If value is set to false, listed actions will not be
46       reported by LEDs. The default value is true.
47
48       INTERVAL - The value is given in seconds. Defines time interval between
49       ledmon sysfs scan. The minimum is 5 seconds the maximum is not
50       specified. The default value is 10 seconds.
51
52       LOG_LEVEL - Corresponds with --log-level flag from ledmon. Log level
53       QUIET means no logging at all and ALL means to log everything. The
54       default log level is WARNING. Acceptable values are: quiet, error,
55       warning, info, debug, all.  Value also can be set by integer number - 0
56       means 'quiet' and 5 means 'all'.
57
58       LOG_PATH - Sets a path to local log file. If this option is specified
59       the global log file /var/log/ledmon.log is not used.
60
61       RAID_MEMBERS_ONLY - If flag is set to true ledmon will limit monitoring
62       only to drives that are RAID members. The default value is false.
63
64       REBUILD_BLINK_ON_ALL - Flag is related with RAID rebuild process. When
65       value is set to false - only the drive that the RAID is rebuilding to
66       will be marked with appropriate LED pattern. If value is set to true
67       all drives from RAID that is during rebuild will blink during this
68       operation.
69
70       WHITELIST - Ledmon will limit changing LED state to controllers listed
71       on whitelist. If any whitelist is set, only devices from list will be
72       scanned by ledmon. The controllers should be separated by comma (,)
73       character.
74

EXAMPLES

76   Excluding one controller from ledmon scans, changing log level and scans
77       interval:
78       LOG_LEVEL=all
79
80       INTERVAL=5
81
82       #Exclude disks from SATA controller
83
84       BLACKLIST=/sys/devices/pci0000:00/0000:00:17.0
85
86   Blink only on RAID members, blink on all disks during rebuild and ignore
87       init phase:
88       RAID_MEMBERS_ONLY=true
89
90       BLINK_ON_INIT=false
91
92       REBUILD_BLINK_ON_ALL=true
93

LICENSE

95       Copyright (c) 2009-2017 Intel Corporation.
96
97       This program is distributed under the terms of the GNU General Public
98       License as published by the Free Software Foundation. See the built-in
99       help for details on the License and the lack of warranty.
100

SEE ALSO

102       ledmon(8), ledctl(8)
103

AUTHOR

105       This manual page was written by Michal Zylowski
106       <michal.zylowski@intel.com>. It may be used by others.
107
108
109
110LEDMON.CONF Version 0.95         January 2021                   ledmon.conf(5)
Impressum