5.02021-11-21T21:46:57ZAdaptec RAIDAdaptec PSAdaptec PS## Overview
Description
-----------
This template is for discovering and monitoring adaptec storage controllers by using outputs of arcconf cli tool. Useful only if you have one adaptec adapter in server (i don't have servers with more fore testing). Now it works only with zabbix 4.2
Main features
-------------
* Discovery of controllers, logical discs, physical discs, batteries
* Monitoring controllers, logical, physical discs, batteries
* Comfortable changing of time intervals by macroses.
Adaptec RAIDAdadptec controllerAdaptec Internal itemsAdaptec logical disksAdaptec physical disks- Controller modelDEPENDENTadaptec.ctl.model0{$ADAP_HISTORY_PERIOD}0TEXTAdadptec controllerJSONPATH$['adapter1']['Model']DISCARD_UNCHANGED_HEARTBEAT{$ADAP_THROTTLING_HB_PERIOD}adaptec.raid[info,ad]
- Controller serial numberDEPENDENTadaptec.ctl.sn0{$ADAP_HISTORY_PERIOD}0TEXTAdadptec controllerJSONPATH$['adapter1']['SN']DISCARD_UNCHANGED_HEARTBEAT{$ADAP_THROTTLING_HB_PERIOD}adaptec.raid[info,ad]{diff()}=1 and {strlen()}>0NONEAdaptec controller was replaced by sn: {ITEM.LASTVALUE}INFOYES
- Controller stateDEPENDENTadaptec.ctl.state0{$ADAP_HISTORY_PERIOD}0TEXTAdadptec controllerJSONPATH$['adapter1']['State']DISCARD_UNCHANGED_HEARTBEAT{$ADAP_THROTTLING_HB_PERIOD}adaptec.raid[info,ad]{str(Optimal)}=0RECOVERY_EXPRESSION{str(Optimal)}=1Adaptec controller state is "{ITEM.LASTVALUE}"AVERAGEYES
- All Ctls infoadaptec.raid[info,ad]{$ADAP_REQUEST_PERIOD}{$INTERNAL_ITEMS_HISTORY_PEIOD}0TEXTAdaptec Internal items
- All Lds infoadaptec.raid[info,ld]{$LD_REQUEST_PERIOD}{$INTERNAL_ITEMS_HISTORY_PEIOD}0TEXTAdaptec Internal items
- All Pds infoadaptec.raid[info,pd]{$PD_REQUEST_PERIOD}{$INTERNAL_ITEMS_HISTORY_PEIOD}0TEXTAdaptec Internal items
- Controller battery stateDEPENDENTadaptec.zmm.state0{$ADAP_HISTORY_PERIOD}0TEXTAdadptec controllerJSONPATH$['adapter1']['Battery state']DISCARD_UNCHANGED_HEARTBEAT{$ADAP_THROTTLING_HB_PERIOD}adaptec.raid[info,ad]{regexp("(.*Optimal.*)")}=0 and {regexp(.*no.*installed.*)}=0Adaptec controller battery state is "{ITEM.LASTVALUE}"AVERAGEYES
Logical disks discoveryadaptec.raid[lld,ld]{$LD_DISCOVERY_PERIOD}Logical disk "{#LDNAME}" levelDEPENDENTadaptec.raid.level.[{#LDNAME}]0{$LD_HISTORY_PERIOD}{$LD_TRENDS_PERIOD}Adaptec logical disksJSONPATH$['{#LDNAME}']['Raid Level']DISCARD_UNCHANGED_HEARTBEAT{$LD_THROTTLING_HB_PERIOD}adaptec.raid[info,ld]Logical disk "{#LDNAME}" stateDEPENDENTadaptec.raid.state.[{#LDNAME}]0{$LD_HISTORY_PERIOD}0TEXTAdaptec logical disksJSONPATH$['{#LDNAME}']['State']DISCARD_UNCHANGED_HEARTBEAT{$LD_THROTTLING_HB_PERIOD}adaptec.raid[info,ld]{str(Optimal)}=0RECOVERY_EXPRESSION{str(Optimal)}=1Adaptec logical disk "{#LDNAME}" is {ITEM.LASTVALUE}HIGHPhysical disks discoveryadaptec.raid[lld,pd]{$PD_DISCOVERY_PERIOD}Physical disk "{#SLOT}" modelDEPENDENTadaptec.pd.model.["{#SLOT}"]0{$PD_HISTORY_PERIOD}0TEXTAdaptec physical disksJSONPATH$['{#SLOT}']['Model']DISCARD_UNCHANGED_HEARTBEAT{$PD_THROTTLING_HB_PERIOD}adaptec.raid[info,pd]Physical disk "{#SLOT}" SMART warningsDEPENDENTadaptec.pd.smartwarn.["{#SLOT}"]0{$PD_HISTORY_PERIOD}0TEXTAdaptec physical disksJSONPATH$['{#SLOT}']['SMART warnings']DISCARD_UNCHANGED_HEARTBEAT{$PD_THROTTLING_HB_PERIOD}adaptec.raid[info,pd]{last()}>0RECOVERY_EXPRESSION{last()}=0Adaptec physical disk "{#SLOT}" has {ITEM.LASTVALUE} smart warningsAVERAGEYESPhysical disk "{#SLOT}" serial numberDEPENDENTadaptec.pd.sn.["{#SLOT}"]0{$PD_HISTORY_PERIOD}0TEXTAdaptec physical disksJSONPATH$['{#SLOT}']['Serial number']DISCARD_UNCHANGED_HEARTBEAT{$PD_THROTTLING_HB_PERIOD}adaptec.raid[info,pd]{diff()}=1 and {strlen()}>0NONEAdaptec physical disk "{#SLOT}" was replaced by: {ITEM.LASTVALUE}INFOPhysical disk "{#SLOT}" stateDEPENDENTadaptec.pd.state.["{#SLOT}"]0{$PD_HISTORY_PERIOD}0TEXTAdaptec physical disksJSONPATH$['{#SLOT}']['State']DISCARD_UNCHANGED_HEARTBEAT{$PD_THROTTLING_HB_PERIOD}adaptec.raid[info,pd]{str(Online)}=0 and {str(Global Hot-Spare)}=0RECOVERY_EXPRESSION{str(Online)}=1 or {str(Global Hot-Spare)}=1Adaptec physical disk "{#SLOT}" state is {ITEM.LASTVALUE}AVERAGEYES