Setting the LSI RAID Monitoring Plugin on a 2012 Windows Server

From Thomas-Krenn-Wiki
Jump to navigation Jump to search
Please note that this article / this category refers either on older software / hardware components or is no longer maintained for other reasons.
This page is no longer updated and is purely for reference purposes still here in the archive available.

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.

Important hint

The monitoring software TKmon is no longer being developed further and the Thomas-Krenn call-home service has also now been switched off.

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
Foto Thomas Niedermeier.jpg

Author: Thomas Niedermeier

Thomas Niedermeier working in the product management team at Thomas-Krenn, completed his bachelor's degree in business informatics at the Deggendorf University of Applied Sciences. Since 2013 Thomas is employed at Thomas-Krenn and takes care of OPNsense firewalls, the Thomas-Krenn-Wiki and firmware security updates.


Related articles

CacheVault Flash Cache
Firmware Update (MegaRAID Controller) via MegaRAID Storage Manager
SSDs RAIDs with MegaRAID controllers