Commit Graph

185 Commits

Author SHA1 Message Date
Georg Schönberger
db1093cd22 Fix wrong regex check for ':' instead of '=' in getControllerInfo 2021-04-12 12:55:38 +02:00
Georg Schönberger
32075f62ef Fix storcli parsing issues for controller information 2021-03-22 06:53:38 +01:00
Georg Schönberger
98712faba8 Merge pull request #30 from rudybroersma/master
Update check_lsi_raid
2021-03-09 19:33:02 +01:00
Rudy Broersma
23c13dd21a Update check_lsi_raid
Corrected displayUsage. Some of the parameters had incorrect explanations.
2021-03-09 14:07:36 +01:00
Georg Schönberger
2f28ea4969 Merge pull request #27 from keith4/master
Update storcli command syntax to work with new(er) storcli versions
2020-08-26 10:51:23 +02:00
Keith4
706182e11c removing commented-out code 2019-05-03 11:27:17 -04:00
Keith4
e4a816610d updated storcli command to work with new version, per https://github.com/thomas-krenn/check_lsi_raid/issues/24 2019-03-05 15:52:28 -05:00
g.schoenberger
b7a74710f2 Add options Mcw|mem-correctable-warn and Mcc|mem-correctable-critical 2019-02-08 08:22:42 +01:00
g.schoenberger
049508504b Update to 2018 in README 2018-05-18 09:10:48 +02:00
g.schoenberger
536600f9d6 Update latest plugin version with github URL 2018-05-18 08:38:44 +02:00
g.schoenberger
ba779a3bab Check if 'ROC temperature' key exists before printing it in verbose output 2018-05-18 08:25:51 +02:00
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