-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
We have a couple of new servers where only perccli2 is working, the output is slightly different, so we're getting this error:
Can't use an undefined value as an ARRAY reference at /usr/lib/nagios/plugins/check_lsi_raid line 409.
https://github.com/thomas-krenn/check_lsi_raid/blob/master/check_lsi_raid#L409
This is the particular line that it doesn't like anymore:
0/1 RAID1 Optl RW NR,WB NR,WB 3.492 TiB
And full output:
CLI Version = 008.0004.0000.0022 Apr 28, 2023
Operating system = Linux5.15.0-72-lowlatency
Controller = 0
Status = Success
Description = None
Virtual Drives :
==============
------------------------------------------------------------------
DG/VD TYPE State Access CurrentCache DefaultCache Size Name
------------------------------------------------------------------
0/1 RAID1 Optl RW NR,WB NR,WB 3.492 TiB
------------------------------------------------------------------
Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|Dgrd=Degraded
Optl=Optimal|RO=Read Only|RW=Read Write|CurrentCache-Curent Cache Status
R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack|
AWB=Always WriteBack|WT=WriteThrough|Access-Access Policy
Metadata
Metadata
Assignees
Labels
No labels