Add check_smartmon for checking S.M.A.R.T. status. #85
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This naigos check allows to check the S.M.A.R.T. status of disks
attached directly or disks attached to the RAID controllers. The
supported controllers are cciss (hpsa) and megaraid compatible
controllers.
To define which disks are attached to the controller the RAID utility is
required (megacli or hpacucli/hpssacli), in other case any checks won't
be added.
The lib/facter/nagios_smartmon.rb adds the facts which contain hashes
with information about controller and disks. Examples:
Two SATA disks without RAID controller
Single SAS disk attached to the MegaRAID controller (ServeRAID M5110e)
Six SATA disks (two arrays) attached to the MegaRAID controller (ServeRAID M5110e)
Four SAS disks with Smart Array P840
The information from ::nagios_smartmon fact is used for creating the
nagios services and nrpe checks. For doing this Puppet 3.x clients must
to have the following configuration option in puppet.conf:
Set this option before you will use the check_smartmon.
Details: https://docs.puppet.com/puppet/latest/reference/lang_facts_and_builtin_vars.html#handling-boolean-facts-in-older-puppet-versions