Freeware and Plugins

Freewaregruppe Monitoring/Nagios-Plugins

check_arcconf

Windows-Plugin: checks the status of Adaptec Raid Controllers (can also be used for ICP or PMC Vortex Controller)

Descprition

check_arcconf is a Windows plugin for Nagios which checks the status of Adaptec Raid Controllers (can also be used for ICP or PMC Vortex Controller).
The plugin determines the status of Raidsets, RAID-Controllers and of individual discs (S.M.A.R.T), while all stripe sets are supported.

Requirements

The Adaptec Commandline Tool is installed (arcconf.exe).

Documentation

Usually you run the plugint with the path to CLI: C:> check_arcconf.exe path=<path_to_adaptec_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_arcconf.exe path=“C:\Program Files\Adaptec\maxView Storage Manager“ debug

Path: C:\Program Files\Adaptec\maxView Storage Manager
Args: getconfig 1 al
Timeout: 15

Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller Status                       : Optimal
Channel description                     : SAS/SATA
Controller Model                         : Adaptec 6405E
Controller Serial Number                 : 12345678901
Physical Slot                           : 3
Temperature                            : 60 C/ 140 F (Normal)
Installed memory                         : 128 MB
Copyback                                 : Disabled
Background consistency check             : Disabled
Automatic Failover                       : Enabled
Global task priority                     : High
Performance Mode                         : Default/Dynamic
Stayawake period                         : Disabled
Spinup limit internal drives             : 0
Spinup limit external drives            : 0
Defunct disk drive count                 : 0
Logical devices/Failed/Degraded         : 1/0/0
NCQ status                               : Enabled
Statistics data collection mode         : Enabled
--------------------------------------------------------
Controller Version Information
--------------------------------------------------------
BIOS                                     : 5.2-0 (19109)
Firmware                                 : 5.2-0 (19109)
Driver                                   : 7.1-0 (30034)
Boot Flash                               : 5.2-0 (19109)
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
Logical device name                     : RAID1
RAID level                               : 1
Status of logical device                 : Optimal
Size                                     : 953334 MB
Read-cache setting                       : Enabled
Read-cache status                       : On
Write-cache setting                     : Enabled
Write-cache status                      : On
Partitioned                             : Yes
Protected by Hot-Spare                   : No
Bootable                                 : Yes
Failed stripes                           : No
Power settings                           : Disabled
--------------------------------------------------------
Logical device segment information
--------------------------------------------------------
Segment 0                               : Present Controller:1,Connector:0,Device:0)             ABCABC
Segment 1                               : Present Controller:1,Connector:0,Device:1)             ABCDAB
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
Device #0
Device is a Hard drive
State                             : Online
Supported                         : Yes
Transfer Speed                    : SATA 6.0 Gb/s
Reported Channel,Device(T:L)       : 0,0(0:0)
Reported Location                 : Connector 0, Device 0
Vendor                             :
Model                             : ST1000NM0011
Firmware                           : SN03
Serial number                     : ABCABC
Reserved Size                     : 538264 KB
Used Size                         : 953344 MB
Unused Size                      : 64 KB
Total Size                         : 953869 MB
Write Cache                       : Enabled (write-back)
FRU                               : None
S.M.A.R.T.                         : No
S.M.A.R.T. warnings               : 0
Power State                       : Full rpm
Supported Power States             : Full rpm,Powered off
SSD                               : No
NCQ status                        : Enabled
Device #1
Device is a Hard drive
State                             : Online
Supported                         : Yes
Transfer Speed                     : SATA 6.0 Gb/s
Reported Channel,Device(T:L)       : 0,1(1:0)
Reported Location                 : Connector 0, Device 1
Vendor                             :
Model                             : ST1000NM0011
Firmware                          : SN03
Serial number                     : ABCDAB
Reserved Size                     : 538264 KB
Used Size                         : 953344 MB
Unused Size                       : 64 KB
Total Size                        : 953869 MB
Write Cache                       : Enabled (write-back)
FRU                               : None
S.M.A.R.T.                         : No
S.M.A.R.T. warnings               : 0
Power State                       : Full rpm
Supported Power States             : Full rpm,Powered off
SSD                               : No
NCQ status                         : Enabled
Command completed successfully.
RAID OK: Ctrl: Adaptec 6405E - Slot: 3 (Optimal) - Drive: RAID1 [RAID1] (Optimal) - Disk: Device #0 (Online) - SMART: No - Disk: Device #1 (Online) - SMART: No

For information on the plugin and its usage you can call it with the help command: C:> check_arcconf.exe help

check_arcconf - Revision: 2.0
Copyright (C) 2011 LuftEngineering GmbH
Report Bugs to:info@luft-it.de

check_arcconf plugin for Nagios. Monitors integrity of a RAID System with arcconf

Usage:
    path - Full path to arcconf.exe (required)
    args - Arguments for arcconf.exe (default = 'getconfig 1 al')
    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 Adaptec Commandline Tool:

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

[/settings/NRPE/server] 
allow arguments=true  

[/settings/external scripts/scripts] 
check_arcconf=scripts\check_arcconf.exe path=“c:\program files\adaptec storage manager“
...

Examples

Check ICP-Controller, if everything is all right: C:> check_arcconf path=“C:\Programme\ICP Storage Manager“

RAID OK: Ctrl: ICP 5405 - Slot: 4 (Optimal) - Drive: RAID10 [RAID10] (Optimal) - Disk: Device #0 (Online) - SMART: No - Disk: Device #1 (Online) - SMART: No - Disk: Device #2 (Online) - SMART: No - Disk: Device #3 (Online) - SMART: No

Broken Disc was changed: C:> check_arcconf path=“C:\Programme\Adaptec Storage Manager“

RAID WARNING: Ctrl: Adaptec 6405 - Slot: 4 (Warning) - Drive: RAID10 [RAID10] (Warning) - Disk: Device #0 (Rebuilding 65%) - SMART: No - Disk: Device #1 (Online) - SMART: No - Disk: Device #2 (Online) - SMART: No - Disk: Device #3 (Online) - SMART: No

Error in Raidset after failed hard disc 1, disc went offline afterwards: C:> check_arcconf path=“C:\Program Files\Adaptec\maxView Storage Manager“

RAID CRITICAL: Ctrl: Adaptec 6445 - Slot: 6 (Optimal) - Drive: RAID-1 [RAID1] (Optimal) - Drive: RAID-0 [RAIDSimple_volume] (Optimal) - Drive: RAID-5 [RAID5] (Failed) - Disk: Device #0 (Online) - SMART: No - Disk: Device #1 (Offline) - SMART: Yes - Disk: Device #2 (Online) - SMART: No - Disk: Device #3 (Online) - SMART: No - Disk: Device #4 (Online) - SMART: No - Disk: Device #5 (Online) - SMART: No

Changelog

2022-22-01
2.35 – Several fixes for new MSM versions and raw discs

2017-20-03
2.30 – Compatibility to Microsemi Adaptec® ARCCONF CommandLine Interface Utility Version 2.03.00 (B22476)

2017-16-03
2.23 – Handling for devices in mode Raw (Pass Through)

2016-09-11
2.22 – Bugfix: Stack empty Error-Handler

2016-07-07
2.21 – Add ignore case to some Regex

2015-09-11
2.1 – Handling for JBOD’s

2014-15-07
2.0 – Handling for global Hot-Spares

2014-06-07
1.9 – Support for .Net 3.5
– fixed problem with BBU output

2013-08-07
1.8 – new flags and features for several new Controllers

2012-02-02
1.7 – support for 64 bit OS

2011-15-11
1.6 – Better BBU handling

2010-07-07
1.5 – new flags and features for several new Controllers

2010-05-06
1.4 – New error handlers
Added check for arcconf output is complete

2010-08-05
1.3 – New „Battery“features (ZQ-Controller)

2010-23-04
1.2 – New „Power state“features

2010-02-02
1.1 – Minor changes to run with .Net 2.0

2010-23-01
1.0 – First public version

Copyright

Check_arcconf 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_arcconf

  • System: Nagios Plugins und Addons
  • Date: 22.January 2022
  • Author: Joachim Luft
  • Version: 2.35

Category: Monitoring/Nagios-Plugins

Tags: Windows-Plugin

Download