Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hunleyd/mdadm_notify
Bash script used by mdadm on Linux to send notification of RAID events to the sys admin
https://github.com/hunleyd/mdadm_notify
Last synced: 9 days ago
JSON representation
Bash script used by mdadm on Linux to send notification of RAID events to the sys admin
- Host: GitHub
- URL: https://github.com/hunleyd/mdadm_notify
- Owner: hunleyd
- License: apache-2.0
- Created: 2012-11-09T18:46:36.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-07-07T13:13:53.000Z (over 11 years ago)
- Last Synced: 2023-04-01T14:41:29.096Z (over 1 year ago)
- Language: Shell
- Size: 104 KB
- Stars: 12
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
mdadm_notify
========Bash script used by mdadm on Linux to send notifications of RAID events to the sys admin
Usage
-----
Simply edit your mdadm.conf to reference this script for the PROGRAM parameter:
# mdadm configuration file
#
# mdadm will function properly without the use of a configuration file,
# but this file is useful for keeping track of arrays and member disks.
# In general, a mdadm.conf file is created, and updated, after arrays
# are created. This is the opposite behavior of /etc/raidtab which is
# created prior to array construction.
#
# When used in --follow (aka --monitor) mode, mdadm needs a
# mail address and/or a program. This can be given with "mailaddr"
# and "program" lines to that monitoring can be started using
# mdadm --follow --scan & echo $! > /var/run/mdadm
# If the lines are not found, mdadm will exit quietly
#
PROGRAM /root/bin/mdadm_notify
#
ARRAY /dev/md0 level=raid5 metadata=1.2 num-devices=3 UUID=70a588b7:5f7ad965:cd7d2a21:12db71edRequirements
------------
GNU BashExample Output
--------------
/dev/md0 has DISAPPEAREDBugs
----
Find a bug? Please create an issue here on GitHub at:
https://github.com/hunleyd/mdadm_notify/issues
-------
Keep up to date on announcements and more by following Doug on Twitter, @hunleydAuthors
-------
**Douglas J Hunley**
+ G+: http://goo.gl/sajR3
+ Twitter: http://twitter.com/hunleyd
+ GitHub: http://github.com/hunleydCopyright and license
---------------------
Copyright 2013 Douglas J Hunley.Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work
except in compliance with the License. You may obtain a copy of the License in the
LICENSE file, or at:http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing
permissions and limitations under the License.