1ledmon(8) Intel(R) Enclosure LED Monitor Service ledmon(8)
2
3
4
6 ledmon - Intel(R) LED monitor service for storage enclosures.
7
9 ledmon [OPTIONS]
10
12 The ledmon application is a daemon process used to monitor a state of
13 software RAID devices (md only) or a state of block devices. The state
14 is visualizing on LEDs associated to each slot in an enclosure or a
15 drive bay. There are two types of system: 2-LEDs system (Activity LED,
16 Status LED) and 3-LEDs system (Activity LED, Locate LED, Fail LED).
17 This application has the highest priority when accessing the LEDs.
18
19 The ledmon application uses SGPIO and SES-2 protocol to control LEDs.
20 The program implements IBPI patterns of SFF-8489 specification for
21 SGPIO. Please note some enclosures do not stick close to SFF-8489
22 specification. It might happen that enclosure processor will accept
23 IBPI pattern but it will blink LEDs not according to SFF-8489
24 specification or it has limited number of patterns supported.
25
26 LED management (AHCI) and SAF-TE protocols are not supported.
27
28 There's no method provided to specify which RAID volume should be
29 monitored and which not. The ledmon application monitors all RAID
30 devices and visualizes their state.
31
32 The ledmon application has been verified to work with Intel(R) storage
33 controllers (i.e. Intel(R) AHCI controller and Intel(R) SAS
34 controller). The application might work with storage controllers of
35 other vendors (especially SAS/SCSI controllers). However storage
36 controllers of other vendors have not been tested.
37
38 The ledmon application is part of Intel(R) Enclosure LED Utilities.
39 Only single instance of the application is allowed.
40
42 -c or --config=path
43 Sets a path to local configuration file. If this option is
44 specified the global configuration file and user configuration
45 file has no effect.
46
47 -l or --log=path
48 Sets a path to local log file. If this option is specified the
49 global log file /var/log/ledmon.log is not used.
50
51 -t or --interval=seconds
52 Sets time interval between scans of sysfs. The value is given
53 in seconds. The minimum is 5 seconds the maximum is not
54 specified.
55
56 --quiet or --error or --warning or --info or --debug or --all
57 Verbose level - 'quiet' means no logging at all and 'all' means
58 to log everything. The levels are given in order. If user
59 specifies more then one verbose option the last option comes
60 into effect. The default level is 'warning'. Verbose level also
61 can be set by --log-level=level.
62
63 --foreground
64 Run process foreground instead of a daemon. This option is
65 useful in systemd service file. Another use case of this option
66 is debugging with elevated --log-level=level.
67
68 -h or --help
69 Prints this text out and exits.
70
71 -v or --version
72 Displays version of ledmon and information about the license
73 and exits.
74
76 /var/log/ledmon.log
77 Global log file, used by ledmon application. To force logging
78 to user defined file use -l option switch.
79
80 /etc/ledmon.conf
81 Global configuration file, shared between ledmon and all ledctl
82 application instances. Local configuration file can be used by
83 running ledmon with -c switch.
84
86 Copyright (c) 2009-2017 Intel Corporation.
87
88 This program is distributed under the terms of the GNU General Public
89 License as published by the Free Software Foundation. See the build-in
90 help for details on the License and the lack of warranty.
91
93 The ledmon application does not recognize PFA state (Predicted Failure
94 Analysis), hence the PFA pattern from SFF-8489 specification is not
95 visualized.
96
98 ledctl(8), ledmon.conf(5)
99
101 This manual page was written by Artur Wojcik <artur.wojcik@intel.com>.
102 It may be used by others.
103
104
105
106LEDMON Version 0.92 April 2019 ledmon(8)