forked from jhoblitt/puppet-smartd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename README -> README.md, tweak README, mv all API docs to smartd.pp
- Loading branch information
Joshua Hoblitt
committed
May 15, 2013
1 parent
096eb58
commit 9982990
Showing
3 changed files
with
59 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Puppet smartd Module | ||
==================== | ||
|
||
Description | ||
----------- | ||
|
||
This is the `smartd` module and class. It configures the `smartd` daemon, | ||
which comes with smartmontools, and works on FreeBSD and Debian-ish Linux | ||
systems. If your hardware supports it, smartd can automatically probe for the | ||
drives, but if they are hidden behind a RAID controller, it will need | ||
additional help. The module includes a facter plugin to identify drives hiding | ||
behind an LSI MegaRAID/Dell PERC controller on Linux systems if you have the | ||
LSI proprietary `MegaCli` tool installed; we don't have any FreeBSD machines | ||
with this controller so haven't written the necessary code to use FreeBSD's | ||
standard mfiutil(8) utility instead. The `shell_config` module is required to | ||
edit a Debian-specific configuration file; other OS families do not require it. | ||
|
||
The module automatically configures a virtual `monit::monitor` resource (tag => | ||
default) to keep track of `smartd`. Note that `smartd` can take a very long | ||
time to (re)start, so if you have a large number of disk devices (e.g., 200 on | ||
a big ZFS file server) you will need to adjust `monit`'s startup delay. | ||
|
||
Currently, drives behind an LSI MegaRAID controller will be automatically | ||
probed and added to the `smartd` configuration file, if the `MegaCli` utility | ||
is installed. There is no way to turn this behavior off. This is arguably a | ||
bug. | ||
|
||
Examples | ||
-------- | ||
|
||
### Basic Usage | ||
|
||
class{ 'smartd': } | ||
|
||
|
||
Support | ||
------- | ||
|
||
Please log tickets and issues at [github](https://github.com/jhoblitt/puppet-smartd/issues) | ||
|
||
License | ||
------- | ||
See the file LICENSE. | ||
|
||
Contact | ||
------- | ||
Joshua Hoblitt <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters