200 Commits

Author SHA1 Message Date
94310cb958 Print the command that failed if an error occurs 2014-06-06 13:09:58 +02:00
33e1cea87b Update version string v1.2 2014-03-04 16:19:53 +01:00
3e021cccd2 Update changelog for v1.2 2014-03-04 10:52:41 +01:00
cab028d8b1 Fix physical drive state check 2014-03-03 18:47:58 +01:00
728ddc966e Added new Optimal status for controller 2014-03-03 14:40:41 +01:00
dfd3ee6d69 Check for more storcli paths 2014-03-03 10:59:47 +01:00
4cab6507af Added missing brackets 2014-02-28 16:03:50 +01:00
cd8c5ff173 Replace old status checking lines 2014-02-28 15:58:59 +01:00
4f2fd18944 Fix command status checking 2014-02-28 15:54:48 +01:00
d17253335a Check command status in separate method 2014-02-28 15:45:04 +01:00
01dc7bf3f2 Update changelog and version information v1.1 2013-11-28 10:29:16 +01:00
3edd8d10ce Move state critical for logical volumes
Now it also applies to cachecade volumes.
2013-11-28 10:20:51 +01:00
bc8df13fb8 Fix critical status for non optimal logical volumes
* Minor fix: uninitialized variables for bbu=0
* Typo fix: "other error count" instead of "media error count"
* Output STATUS variable for nagios performance data processing
* Add commandline options to define warning threshold for media errors, other
  errors, predictive fail count and shield count
* Set state to critical for non-optimal virtual/logical disks

Signed-off-by: Georg Schönberger <gschoenberger@thomas-krenn.com>
2013-11-28 10:12:33 +01:00
941826b0c5 Increase ROC temperature thresholds 2013-11-13 13:09:11 +01:00
64587d9ace Refactor code for logical device status 2013-11-05 13:30:23 +01:00
ca67726828 Skip consistency check on cachecade volumes 2013-11-05 11:32:25 +01:00
6f838fe6a6 Fix check of exit status v1.0 2013-10-28 15:23:10 +01:00
776172fbbf Check if Tw is given when using Tc 2013-10-28 14:58:40 +01:00
9574f111c7 Add changelog and update version 2013-10-28 12:48:31 +01:00
68cd98428b Added mailing list to README 2013-10-28 11:09:04 +01:00
cf0246a028 Improve line splitting for CV status
Fix regex for state checking
2013-10-25 16:58:27 +02:00
839ae0db0c Add trim to CV status 2013-10-25 16:31:04 +02:00
9deaf96a23 Fix regex for CV status 2013-10-25 14:43:34 +02:00
5677c4aac5 Optimize CacheVault status checking 2013-10-25 13:05:43 +02:00
37e02960e6 Fix CacheVault status checking 2013-10-25 12:51:54 +02:00
904be88edf Check status of CacheVault 2013-10-25 12:25:33 +02:00
9acb624e51 Add gitignore file for testing files 2013-10-25 12:06:49 +02:00
b746c02777 Update copyright and method description 2013-10-25 12:02:57 +02:00
f765d727ba Fix check for BBU or CachVault.
Either a BBU or a CV must be present. If neither is true raise a critical
error.
2013-10-25 11:56:17 +02:00
ec9df13364 Fix checking of storcli path 2013-10-23 08:53:49 +02:00
c176f70372 Check if given temp is an integer
Some devices return e.g. N/A as a temperature. Then the temperature checks can
be skipped.
2013-10-01 18:35:13 +02:00
21ea3ad18e Mark check_lsi_raid as executable 2013-07-02 16:11:30 +02:00
9948cbcabc Fix status message if virtual device is not optimal and not consistant 2013-07-02 14:52:06 +02:00
03dc26dc45 Fix rebuild progress for physical devices
- Fix regex for floating point number and percentage sign
2013-07-02 10:08:31 +02:00
e045d48d92 Reduce README to 80 characters 2013-06-26 11:40:14 +02:00
289eda5060 Added README file 2013-06-26 11:32:21 +02:00
e3ad220c0a Merge branch 'master' of 217.7.54.188:check_lsi_raid 2013-06-26 11:28:00 +02:00
cd0163fb24 Updated README and POD 2013-06-26 10:45:03 +02:00
35cae04a73 Added newlines to exit unknown error messages 2013-06-26 09:47:30 +02:00
510ecbf84f Rewrite given/when to if/elsif
-Added eclipse project files
-Remove tmp POD files
2013-06-26 09:38:01 +02:00
6e42f1c343 - Updated Perldoc (Plain Old Documentation)
- Added files generated by pod2html: check_lsi_raid.html, pod2htmd.tmp
2013-06-17 19:12:51 +02:00
7d77d1a985 - Version updated to 0.3
- Added default temperature values for controller and physical devices as global variable
- Updated the displayUsage-function: added global variables, fixed typos and missing line break
- Updated the displayHelp-function: fixed missing line break
- Fixed wrong output because of missing whitespaces in getControllerStatus and getBBUStatus
- Added global temperature variables to MAIN-function
2013-06-14 14:59:11 +02:00
03eccc0f49 - Added perldoc (check_lsi_raid.POD)
- Added controller/ROC temperature check (getControllerStatus, not tested yet!)
- Added missing function descriptions (short)
- Removed debug comments and Dumper
- Removed todo (FH copyright)
2013-06-11 14:48:13 +02:00
535361ea4f - added virtual disk initialization status
- added virtual disk check if disk is consistent when state is optimal
 - added overall physical disk state check
 - improved physical disk state parsing
 - fixed output of --version (didn't work)
 - minor bugfixes
2013-06-05 00:13:00 +02:00
2cbbf5c964 - beta version ready for intense testing 2013-05-23 23:36:17 +02:00
e9dcc0a8e0 - removed obsolete hello.c file
- removed $Revision, $Author, $Date keywords
2013-05-02 20:38:21 +02:00
8ccd174847 - added test .c file for testing rcs-keywords 2013-05-02 20:28:34 +02:00
04c0f5bc91 - added rcs-keywords
- added empty check_lsi_raid
2013-05-02 20:26:35 +02:00
164c19ecd6 - removed obsolete test file 2013-05-02 19:50:10 +02:00
a329280418 - check commitment rights 2013-05-02 19:48:44 +02:00