Freeware and Plugins

Freewaregruppe Monitoring/Nagios-Plugins

check_intelraid

Windows-Plugin: checks states of Intel Raid Controllers

Description

check_intelraid is a Windows plugin for Nagios which checks the status of Intel Raid controllers.
The plugin determines the status of Raids, RAID-Controllers and of individual discs (S.M.A.R.T), while all stripe types are supported.

Requirements

The Intel Raid configuration tool is installed (raidcfg32.exe).

Documentation

Usually you open the script with the path to CLI:

C:> check_intelraid.exe path=<path_to_intel_cli>

For debugging purposes, it may also be called with a more detailed output option (this mode is not suitable for continuous operation, but for testing purposes only).
Afterwards it will output the detailed status of the individual components:

C:> check_intelraid.exe path=“C:\Program Files\Intel\RaidCfg“ debug

For information on the plugin and its usage you can call it with the help command:

C:> check_intelraid.exe help

check_intelraid - Revision: 1.0.1
Copyright (C) 2010 LuftEngineering GmbH
Report Bugs to:info@luft-it.de

check_intelraid plugin for Nagios. Monitors integrity of a Intel RAID System with raidcfg32.exe

Usage:
     path     - Full path to raidcfg32.exe (required)
     args     - Arguments for raidcfg32.exe (default = '-i')
     timeout  - Seconds before the plugin times out (default = 15)
     version  - Plugin version
     help     - Show this text
     debug    - Print details. NOT for use with nagios

Installation

Preferably the plugin is copied into the script directory where you will store your checks under Windows

When using NSClient ++ an entry in NSC.INI similar to this is generated and pointed to exe:

...
[/modules]
NRPEServer=enabled
CheckExternalScripts=enabled

[/settings/NRPE/server] 
allow arguments=true  
 
[/settings/external scripts/scripts] 
check_intelraid=scripts\check_intelraid.exe path=“c:\program files\Intel\RaidCfg“ 
...

Examples

Check Intel-Controller with 2 discs in Raid-1 composite, if everything is all right:

C:> check_intelraid.exe path=“C:\Program Files\Intel\RaidCfg“

RAID OK: Volume: Disk_Vol1 [RAID 1] – Normal
Disk: Hitachi HDS72404DA - Disk: OK; Hitachi HDS72404DA – Disk: OK  

Intel controller with 2 discs in Raid – 1 composite, one disc is plugged in, but dead

C:> check_intelraid.exe path=“C:\Program Files\Intel\RaidCfg“

RAID WARNING: Volume: Disk_Vol1 [RAID 1] – Degraded
Disk: Disk0 - Disk: OK; Disk1 – BusID: 1 – Model: Hitachi HDS72404DA – SNR: HDR35549987AD – Status: DISK_POWERED_OFF  

Check Intel-Controller with 3 discs in Raid-5 composite, one broken disc (Status went to Critical) was changed, the subsequent rebuild unsuccessful:

C:> check_intelraid.exe path=“C:\Program Files\Intel\RaidCfg“

RAID WARNING: Volume: Disk_Vol1 [RAID 1] – Degraded
Disk: Disk0 - Disk: OK; Disk1 – BusID: 1 – Model: Hitachi HDS72404DA – SNR: HDR35549987AD – Status: DISK_POWERED_OFF  

Changelog

2015-09-07
1.1 – Support for Passthru devices

2010-07-07
1.0 – First public version

Copyright

Check_intelraid is licensed under the GNU General Public License.

Author

Joachim Luft will answer your questions to this plugin and is happy about your donation.

Freeware name

check_intelraid

  • System: Nagios Plugins und Addons
  • Date: 09.July 2015
  • Author: Joachim Luft
  • Version: 1.1

Category: Monitoring/Nagios-Plugins

Tags: Windows-Plugin

Download