Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of uninitialized value $lineVals[1] #10

Open
CamZie opened this issue Apr 28, 2023 · 2 comments
Open

Use of uninitialized value $lineVals[1] #10

CamZie opened this issue Apr 28, 2023 · 2 comments

Comments

@CamZie
Copy link

CamZie commented Apr 28, 2023

Hello,

Thank you very much for creating this check.

Upon installing and configuring it as described in the documentation, we are receiving the following error on line 422:

./check_adaptec_raid

Use of uninitialized value $lineVals[1] in substitution (s///) at ./check_adaptec_raid line 422.
OK (CTR, LD, PD, ZMM)|CTR_Temperature=45;80;90

Does anyone know a way to fix it? Thanks in advance.

@gschoenberger
Copy link
Member

Can you post the verbose output from the plugin with "-vvv"?

@CamZie
Copy link
Author

CamZie commented Apr 28, 2023

Can you post the verbose output from the plugin with "-vvv"?

Use of uninitialized value $lineVals[1] in substitution (s///) at ./check_adaptec_raid line 422.
Use of uninitialized value $controllerToCheck{"Boot Flash"} in concatenation (.) or string at ./check_adaptec_raid line 796.
Use of uninitialized value $controllerToCheck{"BIOS"} in concatenation (.) or string at ./check_adaptec_raid line 797.
Use of uninitialized value in concatenation (.) or string at ./check_adaptec_raid line 813.
OK (CTR, LD, PD, ZMM)|CTR_Temperature=45;80;90
Used arcconf commands:
- /usr/bin/sudo /usr/local/bin/arcconf GETCONFIG 1 AD
- /usr/bin/sudo /usr/local/bin/arcconf GETCONFIG 1 AD
- /usr/bin/sudo /usr/local/bin/arcconf GETCONFIG 1 LD
- /usr/bin/sudo /usr/local/bin/arcconf GETCONFIG 1 PD
CTR information:
   - 9350-8i 2GB Flash:
        - Serial No=***REMOVED***
        - Driver=Linux 2.1.12-055
        - Boot Flash=
        - BIOS Version=
        - FW Version=5.33
        - Temperature=45 C/ 113 F (Normal)
        - Defunct drives=0
        - LD devices/Failed/Degraded=1/0/0
LD information:
PD information:
   - pd0:
        - 56 Day Warning Present=False
        - Aborted Commands=0
        - Array=0
        - Bad Target Errors=0
        - Block Size=512 Bytes
        - Boot Type=None
        - Current Temperature=26 deg C
        - Drive Configuration Type=Data
        - Drive Exposed to OS=False
        - Drive Part Number=SSS7A43197
        - Drive SKU Number=02JG532
        - Drive Unique ID=***REMOVED***
        - Drive has stale RIS data=False
        - Ecc Recovered Read Errors=0
        - Estimated Life Remaining=Not Applicable
        - Failed Read Recovers=0
        - Failed Write Recovers=0
        - Firmware=MP33
        - Format Errors=0
        - Hard Read Errors=0
        - Hard Write Errors=0
        - Hardware Errors=0
        - Hot Plug Count=0
        - Last Failure Reason=No Failure
        - Maximum Link Rate=6 Gbps
        - Maximum Temperature=33 deg C
        - Media Failures=0
        - Model=MTFDDAK480TDS-1AW1ZA
        - NCQ status=Enabled
        - NCQ supported=Supported
        - Negotiated Logical Link Rate=6 Gbps
        - Negotiated Physical Link Rate=6 Gbps
        - Not Ready Errors=0
        - Other Time Out Errors=0
        - PHY Count=1
        - Physical Block Size=4K Bytes
        - Predictive Failures=0
        - Reported Channel,Device(T:L)=0,0(0:0)
        - Reported Location=Direct Attached, Slot 0(Connector 0:CN0)
        - Reserved Size=32768 KB
        - Retry Recovered Read Errors=0
        - Retry Recovered Write Errors=0
        - S.M.A.R.T.=No
        - S.M.A.R.T. warnings=0
        - SSD=Yes
        - SSD Smart Trip Wearout=False
        - Sanitize Erase Support=True
        - Sanitize Lock Anti-Freeze Support=True
        - Sanitize Lock Freeze Support=True
        - Sanitize Lock Setting=None
        - Scsi Bus Faults=0
        - Sectors Reads=2149275
        - Sectors Written=14642436
        - Serial number=***REMOVED***
        - Service Hours=31
        - State=Online
        - Threshold Temperature=70 deg C
        - Total Size=457862 MB
        - Transfer Speed=SATA 6.0 Gb/s
        - Unused Size=0 MB
        - Usage Remaining=100 percent
        - Used Size=457830 MB
        - Vendor=ATA
        - World-wide name=***REMOVED***
        - Write Cache=Disabled (write-through)
        - pd=pd0
   - pd1:
        - 56 Day Warning Present=False
        - Aborted Commands=0
        - Array=0
        - Bad Target Errors=0
        - Block Size=512 Bytes
        - Boot Type=None
        - Channel #2=
        - Current Temperature=27 deg C
        - Drive Configuration Type=Data
        - Drive Exposed to OS=False
        - Drive Part Number=SSS7A43197
        - Drive SKU Number=02JG532
        - Drive Unique ID=***REMOVED***
        - Drive has stale RIS data=False
        - Ecc Recovered Read Errors=0
        - Estimated Life Remaining=Not Applicable
        - Failed Read Recovers=0
        - Failed Write Recovers=0
        - Firmware=MP33
        - Format Errors=0
        - Hard Read Errors=0
        - Hard Write Errors=0
        - Hardware Errors=0
        - Hot Plug Count=0
        - Last Failure Reason=No Failure
        - Maximum Link Rate=6 Gbps
        - Maximum Temperature=30 deg C
        - Media Failures=0
        - Model=MTFDDAK480TDS-1AW1ZA
        - NCQ status=Enabled
        - NCQ supported=Supported
        - Negotiated Logical Link Rate=6 Gbps
        - Negotiated Physical Link Rate=6 Gbps
        - Not Ready Errors=0
        - Other Time Out Errors=0
        - PHY Count=1
        - Physical Block Size=4K Bytes
        - Predictive Failures=0
        - Reported Channel,Device(T:L)=0,1(1:0)
        - Reported Location=Direct Attached, Slot 1(Connector 0:CN0)
        - Reserved Size=32768 KB
        - Retry Recovered Read Errors=0
        - Retry Recovered Write Errors=0
        - S.M.A.R.T.=No
        - S.M.A.R.T. warnings=0
        - SSD=Yes
        - SSD Smart Trip Wearout=False
        - Sanitize Erase Support=True
        - Sanitize Lock Anti-Freeze Support=True
        - Sanitize Lock Freeze Support=True
        - Sanitize Lock Setting=None
        - Scsi Bus Faults=0
        - Sectors Reads=2146849
        - Sectors Written=14642820
        - Serial number=***REMOVED***
        - Service Hours=31
        - State=Online
        - Threshold Temperature=70 deg C
        - Total Size=457862 MB
        - Transfer Speed=SATA 6.0 Gb/s
        - Unused Size=0 MB
        - Usage Remaining=100 percent
        - Used Size=457830 MB
        - Vendor=ATA
        - World-wide name=***REMOVED***
        - Write Cache=Disabled (write-through)
        - pd=pd1
ZMM information:
        - ZMM_Status=OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants