1ledmon.conf(5) Intel(R) Enclosure LED Utilities Config ledmon.conf(5)
2
3
4
6 ledmon.conf - Configuration file for Intel(R) Enclosure LED Utilities.
7
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 EXCLUDELIST - Ledmon will exclude scanning controllers listed on
30 excludelist. When allowlist is also set in config file, the
31 excludelist will be ignored. The controllers should be separated by
32 comma (,) character. The XBD Extended Regular Expressions are
33 supported. The deprecated name of BLACKLIST is supported for backwards
34 compatibility. It will be removed in a future release.
35
36 BLINK_ON_INIT - Related with RAID Initialization (resync), Verify
37 (check) and Verify and Fix (repair) processes. If value is set to true
38 - status LEDs of all member drives will blink with proper pattern if
39 RAID volume is under sync process. If value is set to false, processes
40 like init or verifications will not be reported by LEDs. The default
41 value is true.
42
43 BLINK_ON_MIGR - RAID can be migrated between some levels or strip sizes
44 and the flag is related with this processes. Also RAID Grow operation
45 will be reported along with this flag. If value is set to true - status
46 LEDs of all member drives will blink with proper pattern if RAID volume
47 is under reshape. If value is set to false, listed actions will not be
48 reported by LEDs. The default value is true.
49
50 INTERVAL - The value is given in seconds. Defines time interval between
51 ledmon sysfs scan. The minimum is 5 seconds the maximum is not
52 specified. The default value is 10 seconds.
53
54 LOG_LEVEL - Corresponds with --log-level flag from ledmon. Log level
55 QUIET means no logging at all and ALL means to log everything. The
56 default log level is WARNING. Acceptable values are: quiet, error,
57 warning, info, debug, all. Value also can be set by integer number - 0
58 means 'quiet' and 5 means 'all'.
59
60 LOG_PATH - Sets a path to local log file. If this option is specified
61 the global log file /var/log/ledmon.log is not used.
62
63 RAID_MEMBERS_ONLY - If flag is set to true ledmon will limit monitoring
64 only to drives that are RAID members. The default value is false.
65
66 REBUILD_BLINK_ON_ALL - Flag is related with RAID rebuild process. When
67 value is set to false - only the drive that the RAID is rebuilding to
68 will be marked with appropriate LED pattern. If value is set to true
69 all drives from RAID that is during rebuild will blink during this
70 operation.
71
72 ALLOWLIST - Ledmon will limit changing LED state to controllers listed
73 on allowlist. If any allowlist is set, only devices from list will be
74 scanned by ledmon. The controllers should be separated by comma (,)
75 character. The XBD Extended Regular Expressions are supported. The
76 deprecated name of WHITELIST is supported for backwards compatibility.
77 It will be removed in a future release.
78
80 Excluding one controller from ledmon scans, changing log level and scans
81 interval:
82 LOG_LEVEL=all
83
84 INTERVAL=5
85
86 #Exclude disks from SATA controller
87
88 EXCLUDELIST=/sys/devices/pci0000:00/0000:00:17.0
89
90 Blink only on RAID members, blink on all disks during rebuild and ignore
91 init phase:
92 RAID_MEMBERS_ONLY=true
93
94 BLINK_ON_INIT=false
95
96 REBUILD_BLINK_ON_ALL=true
97
99 Copyright (c) 2009-2017 Intel Corporation.
100
101 This program is distributed under the terms of the GNU General Public
102 License as published by the Free Software Foundation. See the built-in
103 help for details on the License and the lack of warranty.
104
106 ledmon(8), ledctl(8)
107
109 This manual page was written by Michal Zylowski
110 <michal.zylowski@intel.com>. It may be used by others.
111
112
113
114LEDMON.CONF Version 0.97 May 2023 ledmon.conf(5)