Konfiguracja pluginu Adaptec RAID Monitoring w Windows Server 2012

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

Artykuł ten opisuje monitoring kontrolera RAID firmy Adaptec w systemie Windows za pośrednictwem Icinga/Nagios i pluginu Adaptec RAID Monitoring check_adaptec_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_adaptec_raid=C:\\strawberry\\perl\\bin\\perl.exe C:\\Programme\\Adaptec\\check_adaptec_raid -C 1 -p C:\\Programme\\Adaptec\\arcconf.exe

Testy z serwera Icinga

Plugin check_nrpe wykonuje na serwerze Windows check_adaptec_raid poprzez NRPE:

:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.1.102.142 -c check_adaptec_raid
AACRAID CRITICAL (Ctrl #1): [Ctrl. temp. critical, Log. device failed/degraded, Log. device critical, 1 log. device(s) failed]

Autor: Georg Schönberger

Powiązane artykuły

Definicja hosta w Nagios 3
Korzystanie z pluginów do monitoringu w check mk
Wizualizacja OPNsense z frontend-em Grafana