Konfiguracja pluginu do monitoringu macierzy RAID LSI w Windows Server 2012

Z Thomas-Krenn-Wiki
Przejdź do nawigacji Przejdź do wyszukiwania

Artykuł ten opisuje monitoring kontrolera RAID LSI w systemie Windows za pośrednictwem pluginu Icinga/Nagios do monitoringu macierzy RAID LSI i check_lsi_raid. W następującym artykule wykorzystana została wersja systemu Windows Server 2012 64bit, jednakże instrukcja może zostać zastosowana analogicznie w innych wersjach systemu Windows.

Wymagane oprogramowanie

Następujące komponenty programowe są wymagane w systemie Windows:

Kroki instalacji

Konfiguracja NRPE

Po powyżej opisanych krokach instalacji należy w pliku C:\Program Files\NSClient++\nsclient.ini dodać następujące wiersze:

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

; COMMAND ARGUMENT PROCESSING - This option determines whether or not the we will allow clients to specify arguments to 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 the we will allow clients to specify arguments to 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

/settings/external scripts/scripts i ścieżki do check_lsi_raid i StorCLI64.exe.

Testy z serwera Icinga

Plugin check_nrpe wykonuje na serwerze Windows check_lsi_raid poprzez NRPE:

:~# /usr/lib/nagios/plugins/check_nrpe -H 10.1.102.183 -c check_lsi_raid
LSIRAID OK (Ctrl #0)

Autor: Thomas Niedermeier

Powiązane artykuły

Aktualizacja firmware'u kontrolera LSI z programu MegaRAID Storage Manager
Generowanie logów Avago za pośrednictwem skryptu LSIget w VMware ESXi
LSI MegaRAID FastPath