Hi. I'm added some code for monitor my Adaptec 2405 RAID Controller. First, you need to install Storage Manager software, download it here. Default install path is /usr/StorMan, set permission 755 for /usr/StorMan/arcconf , and add to /usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php this code: Code: /* ADAPTEC 2405 */ if(file_exists('/usr/StorMan/arcconf')) { $data['output'] = shell_exec('/usr/StorMan/arcconf GETCONFIG 1'); $state = 'ok'; } else { $state = 'critical'; $data['output']= ''; } /* ADAPTEC 2405 */ after: Code: /* we don't know the state. so we set the state to critical, that the * admin is warned, that something is wrong */ $this->_setState($state, 'critical'); } } } } This simple code allows you to see the full state controller, without a strong code changes. Maybe someone wants to modify the code for a correct display of the status of hard drives or controller. for me enough this.
Thanks for the code. I've added it as feature request in the bugtracker: http://bugtracker.ispconfig.org/index.php?do=details&task_id=1390
Thanks, Till. If interested, I added the full information output from the controller. Unfortunately, I can't test poweroff of harddrive, failure or rebuilding the array. Code: root@terekhov:/usr/StorMan# ./arcconf GETCONFIG 1 Controllers found: 1 ---------------------------------------------------------------------- Controller information ---------------------------------------------------------------------- Controller Status : Optimal Channel description : SAS/SATA Controller Model : Adaptec 2405 Controller Serial Number : 9D371133DD4 Physical Slot : 6 Temperature : 51 C/ 123 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 : 2/0/0 SSDs assigned to MaxIQ Cache pool : 0 Maximum SSDs allowed in MaxIQ Cache pool : 8 NCQ status : Enabled Statistics data collection mode : Enabled -------------------------------------------------------- Controller Version Information -------------------------------------------------------- BIOS : 5.2-0 (17517) Firmware : 5.2-0 (17517) Driver : 1.1-5 (2461) Boot Flash : 5.2-0 (17517) ---------------------------------------------------------------------- Logical device information ---------------------------------------------------------------------- Logical device number 0 Logical device name : main RAID level : 1 Status of logical device : Optimal Size : 476150 MB Read-cache mode : Enabled MaxIQ preferred cache setting : Enabled MaxIQ cache setting : Disabled Write-cache mode : Disabled (write-through) Write-cache setting : Disabled (write-through) Partitioned : Yes Protected by Hot-Spare : No Bootable : Yes Failed stripes : No Power settings : Disabled -------------------------------------------------------- Logical device segment information -------------------------------------------------------- Segment 0 : Present (0,0) JPB530HN26MU7B Segment 1 : Present (0,1) JPB530HN27878B Logical device number 1 Logical device name : backup RAID level : 1 Status of logical device : Optimal Size : 238290 MB Read-cache mode : Enabled MaxIQ preferred cache setting : Enabled MaxIQ cache setting : Disabled Write-cache mode : Disabled (write-through) Write-cache setting : Disabled (write-through) Partitioned : Yes Protected by Hot-Spare : No Bootable : No Failed stripes : No Power settings : Disabled -------------------------------------------------------- Logical device segment information -------------------------------------------------------- Segment 0 : Present (0,2) 9SF1ATJ5 Segment 1 : Present (0,3) 9SF1AK3G ---------------------------------------------------------------------- Physical Device information ---------------------------------------------------------------------- Device #0 Device is a Hard drive State : Online Supported : Yes Transfer Speed : SATA 3.0 Gb/s Reported Channel,Device(T:L) : 0,0(0:0) Reported Location : Connector 0, Device 0 Vendor : Hitachi Model : HDS721050CLA362 Firmware : JP2OA39C Serial number : JPB530HN26MU7B Size : 476940 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,Reduced rpm SSD : No MaxIQ Cache Capable : No MaxIQ Cache Assigned : No NCQ status : Enabled Device #1 Device is a Hard drive State : Online Supported : Yes Transfer Speed : SATA 3.0 Gb/s Reported Channel,Device(T:L) : 0,1(1:0) Reported Location : Connector 0, Device 1 Vendor : Hitachi Model : HDS721050CLA362 Firmware : JP2OA39C Serial number : JPB530HN27878B Size : 476940 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,Reduced rpm SSD : No MaxIQ Cache Capable : No MaxIQ Cache Assigned : No NCQ status : Enabled Device #2 Device is a Hard drive State : Online Supported : Yes Transfer Speed : SATA 1.5 Gb/s Reported Channel,Device(T:L) : 0,2(2:0) Reported Location : Connector 0, Device 2 Vendor : Model : ST3250310NS Firmware : SN06 Serial number : 9SF1ATJ5 Size : 238475 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 MaxIQ Cache Capable : No MaxIQ Cache Assigned : No NCQ status : Enabled Device #3 Device is a Hard drive State : Online Supported : Yes Transfer Speed : SATA 1.5 Gb/s Reported Channel,Device(T:L) : 0,3(3:0) Reported Location : Connector 0, Device 3 Vendor : Model : ST3250310NS Firmware : SN06 Serial number : 9SF1AK3G Size : 238475 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 MaxIQ Cache Capable : No MaxIQ Cache Assigned : No NCQ status : Enabled Command completed successfully.
Adaptec 2405 + Hitachi HDS721050CLA362 There is a known fault with the firmware in this Hitachi 500Gb which means the array will not build beyond the 137Gb point. Until Hitachi release a firmware upgrade this drive will not work with the Adaptec 1210, 2405 or 2410. Regards, TH.