raid monitor
2019.12.15 15:37
https://dustymabe.com/2012/01/29/monitor-raid-arrays-and-get-e-mail-alerts-using-mdadm/
I decided at this point that I need a better way to be notified when things like this happen. It turns out you can configure mdadm
to monitor the raid arrays and notify you via email when errors occur. To achieve this effect I added the following line to the /etc/mdadm.conf
file:
MAILADDR dustymabe@gmail.com
Now, as long as mdadm
is configured to run and monitor the arrays (on SUSE it is the mdadmd
service), then you will get email alerts when things go wrong.
To verify your emails are working you can use the following command, which will send out a test email:
sudo mdadm --monitor --scan --test -1
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
229 | 2016 ilsvrc | WHRIA | 2019.08.31 | 114 |
228 | 배당세금 | WHRIA | 2015.10.14 | 113 |
227 | sqlite to mysql | WHRIA | 2016.10.18 | 109 |
226 | 인생무상 | WHRIA | 2016.01.18 | 106 |
225 | mcnemar | WHRIA | 2019.11.20 | 105 |
224 | t test | WHRIA | 2019.02.13 | 103 |
223 | 윈도 10 잠금화면 없애기 [1] | WHRIA | 2015.12.25 | 102 |
222 | . | WHRIA | 2016.10.01 | 102 |
221 | open new mate terminal | WHRIA | 2019.08.11 | 102 |
220 | 서버 업그레이드 하다. [1] | WHRIA | 2016.04.29 | 101 |
219 | 가끔은 시간을 돌렸으면... | WHRIA | 2016.06.09 | 101 |
218 | 오랜만에 쓰다. | WHRIA | 2015.06.26 | 100 |
217 | add extra raid disk | WHRIA | 2020.01.05 | 100 |
216 | kfda [5] | WHRIA | 2020.04.29 | 99 |
215 | 중국 스마트 폰 | WHRIA | 2014.09.29 | 98 |