Commit Graph

174 Commits

Author SHA1 Message Date
g.schoenberger
ef35fc4a23 Add help message about where the plugin searches for StorCLI 2017-10-19 10:13:17 +02:00
g.schoenberger
8bc89496b3 Check if storcli is executable in /opt/MegaRAID/storcli/ 2017-10-18 11:14:48 +02:00
g.schoenberger
56c5988472 Merge branch 'master' of https://github.com/thomas-krenn/check_lsi_raid 2017-07-19 08:38:22 +02:00
g.schoenberger
4b768805a8 If other error count ignoring is set to -1 via '-Io', other error count is ignored 2017-07-19 08:37:05 +02:00
Georg Schönberger
7030119db5 Merge pull request #9 from roquelobo/master
Per default the controller is told to not write logs, unless nocleanlogs option is used. Per default now '-NoLog' is added to the getControllerInfo method
2017-07-19 08:31:40 +02:00
Georg Schönberger
c4d269b429 Merge pull request #12 from anthonyhaussman/master
Change regex for check_lsi_raid (Failure 46)
2017-07-19 08:23:16 +02:00
Anthony Hausman
901fb8a4b8 Change regex for check_lsi_raid
Change regex on "Failure 46" for check_lsi_raid to work with last storcli client (Ver 1.21.06)
2017-07-18 17:01:39 +02:00
Wolf Hees
568bd20227 added -NoLog option for sub getControllerInfo
running as user nagios even invoked by sudo, check_lsi_raid cannot clean its logs
e.g. MegaSAS.log and CmdTool.log are written to /

only 'storcli adpallinfo' seems to produce logs, so suppress it by providing
-NoLog option unless noCleanlogs is set.
2017-04-21 15:57:01 +02:00
Thomas Niedermeier
a17cf6e84f Moved README to README.md to display markdown formatting on GitHub 2017-01-10 14:00:51 +01:00
Thomas Niedermeier
97dcbd5451 Added markdown formatting to README 2017-01-10 14:00:13 +01:00
Thomas Niedermeier
bbc87c85f5 Updated year's info to 2016 in README and plugin copyright v2.5 2016-11-18 13:25:10 +01:00
Thomas Niedermeier
d4ea1b9c97 Update version and changelog 2016-11-18 11:30:58 +01:00
Thomas Niedermeier
33d439d018 Increased temperature warning and critical thresholds as the chips
SAS2208, SAS3008 and SAS3108 are all specified for use up to 115 degrees
(according to Broadcom/LSI). The former lower values (80 degrees Celsius
for warning) caused warnings for some users, although their servers are
operated at 22 degrees ambient temperature.
2016-11-18 10:57:51 +01:00
Georg Schönberger
4a772b708b Check if GasGaugeStatus equals to N/A string 2016-10-31 13:24:48 +01:00
Georg Schönberger
36c291e6de Check for failure 46, drive not attached 2016-07-18 13:53:56 +02:00
Georg Schönberger
4471a278ac Update version and changelog v2.4 2016-05-19 19:57:49 +02:00
Christoph Mitsach
7cab533cf4 mailman disabled 2016-05-02 14:51:51 +02:00
Georg Schönberger
db980606c0 Fix underscore in "no drive found" 2016-04-12 10:27:05 +02:00
Georg Schönberger
877027a0e1 Exit with warning if no storage is attached to controller 2016-04-12 08:21:51 +02:00
Georg Schönberger
08c962765b Merge pull request #1 from nmd-ddesmet/master
Added JBOD status as valid drive state
2016-01-19 07:36:57 +01:00
nmd-ddesmet
cf86269cd4 Added JBOD status 2016-01-18 16:29:20 +01:00
Christoph Mitasch
39c35788bc moved to github 2015-10-20 15:10:56 +02:00
Georg Schönberger
f87c963710 Update version and changelog v2.3 2015-10-20 08:25:04 +02:00
Georg Schönberger
604f6e5f3c Check if platform equals solaris 2015-08-17 08:17:28 +02:00
Georg Schönberger
9541405885 Add installation hints for CentOS 2015-07-28 13:20:35 +02:00
Oliver Hitz
a2ba79e177 Remove storcli logs per default, but add an option to keep them
Thanks to Oliver Hitz for the hint about auto-created storcli log
files.

Signed-off-by: Georg Schönberger <gschoenberger@thomas-krenn.com>
2015-07-28 11:12:17 +02:00
Georg Schönberger
35bf9929f0 Update version v2.2 2015-06-24 13:55:22 +02:00
Georg Schönberger
8afcee4ba7 Fix status string checking 2015-05-20 15:01:01 +02:00
Georg Schönberger
14912d990a Add nosudo option to help text 2015-05-20 14:45:34 +02:00
Georg Schönberger
2b1d407a16 Exit with UKNOWN if help text appears 2015-05-20 14:44:44 +02:00
Georg Schönberger
ec8e40a0cc Only add sudo if not already root 2015-05-20 14:43:59 +02:00
Georg Schönberger
c00f1e8b3c Only set status to Warning if not alread Critical 2015-05-20 14:43:22 +02:00
Georg Schönberger
89af8e6763 Update copyright year 2015-05-20 14:38:49 +02:00
Georg Schönberger
3b6bb13621 Trim file header to 80 chars 2015-05-20 14:38:12 +02:00
Georg Schönberger
650ce2b54a Fix typo in help text 2015-05-20 14:37:05 +02:00
Georg Schönberger
c88b97dc58 Update README 2015-05-20 14:36:48 +02:00
Georg Schönberger
0f35ae2737 Fix typo in function description 2015-05-12 09:43:50 +02:00
Georg Schönberger
06935007e2 A DHS as a valid state for PDs 2015-01-13 14:36:11 +01:00
Georg Schönberger
487dba40f0 Dereference hash refs for use with keys
Using keys on an unblessed ref will be deprecated in further Perl
versions. Some Perl versions already generate warnings if keys is
used on an unblessed ref.
2014-12-03 07:56:27 +01:00
Jorge Anton
39e518db4d Explicitly import module File::Which
This ensures to get runtime errors if module is not installed

Signed-off-by: Georg Schönberger <gschoenberger@thomas-krenn.com>
2014-12-03 07:28:24 +01:00
Georg Schönberger
d8b3212573 Add GPL as COPYING file 2014-11-27 13:52:15 +01:00
Georg Schönberger
4b48313aef Update version and changelog v2.1 2014-11-20 11:51:07 +01:00
Georg Schönberger
0478f3c1c2 Fix dereferencing of status level 2014-11-20 11:48:30 +01:00
Georg Schönberger
3045544741 Allow GHS as valid state for PD 2014-11-18 07:30:13 +01:00
Georg Schönberger
e400a0366d Skip consistency check on cachecade volumes 2014-10-24 20:05:30 +02:00
Georg Schönberger
533778d08f Updated copyright v2.0 2014-10-20 13:56:18 +02:00
Georg Schönberger
98d6ab921e Delete old POD 2014-10-20 13:48:38 +02:00
Georg Schönberger
d448f69536 Updated README and changelog 2014-10-20 13:46:07 +02:00
Georg Schönberger
dc5369119b Exit if PD command fails 2014-10-20 13:45:51 +02:00
Georg Schönberger
0e4f7654da Remove newline after plugin version 2014-10-20 13:32:40 +02:00