Setting the LSI RAID Monitoring Plugin on a 2012 Windows Server

From Thomas-Krenn-Wiki
Jump to: navigation, search

This article illustrates how an LSI Raid Controller on Windows in monitored with Icinga/Nagios LSI RAID Monitoring Plugin check_lsi_raid. The Windows version used in the following example is a 64bit 2012 Windows Server, but the instructions can be applied analogously to other versions of Windows.

Required Software

The following software components are required on the Windows system:

Installation Instructions

NRPE Configuration

After completing the installation steps described above, add the following lines to the file C:\Program Files\NSClient++\nsclient.ini:

; Section for NRPE (NRPEServer.dll) (check_nrpe) protocol options.
[/settings/NRPE/server]

; COMMAND ARGUMENT PROCESSING - This option determines whether or not we will allow clients to specify arguments to the commands that are executed.
allow arguments = true

; Section for external scripts configuration options (CheckExternalScripts).
[/settings/external scripts]

; COMMAND ARGUMENT PROCESSING - This option determines whether or not we will allow clients to specify arguments to the commands that are executed.
allow arguments = true

[/settings/external scripts/scripts]
check_lsi_raid=C:\\strawberry\\perl\\bin\\perl.exe C:\\LSI\\check_lsi_raid -C 0 -p C:\\LSI\\StorCLI64.exe

The path from "/settings/external scripts/scripts" are similar to the paths where check_lsi_raid and StorCLI64.exe are located.

Test using Icinga Server

The plugin check_nrpe accesses Windows Server check_lsi_raid using NRPE:

:~# /usr/lib/nagios/plugins/check_nrpe -H 10.1.102.183 -c check_lsi_raid
OK (CTR, LD, PD, CV)|CV_Temperature=27;70;85 ROC_Temperature=62;80;90

Author: Thomas Niedermeier

Related articles

Install storcli under Ubuntu
1U Intel Single-CPU RI1102H Server with TKmon
Using Call-Home-Service with Icinga or Nagios