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

incorrect drive bay number reported on failed physical drives on a DL380 G7 server #2

Open
ashrafhasson opened this issue Mar 8, 2013 · 0 comments

Comments

@ashrafhasson
Copy link

A ProLiant DL380 G7 with 2 failing SAS HDDs in bay 4 and 5 show like this in check_hpasm:

CRITICAL - physical drive 0:3 is failed, physical drive 0:4 is failed, da controller 0 in slot 0 needs attention, logical drive 0:1 is recovering, System: 'proliant dl380 g7', S/N: ..., ROM: 'P67 05/05/2011'

It seems that the drive index is shifted by 1?

$ /usr/lib/nagios/plugins/check_hpasm -V
check_hpasm 4.6.3.1 [http://labs.consol.de/nagios/check_hpasm]

$ hpacucli controller check:
=> controller all show

  Smart Array P212 in Slot 2                (sn: <ABC>)
  Smart Array P410i in Slot 0 (Embedded)    (sn: <EFG>)

=> controller sn= show

  Smart Array P410i in Slot 0 (Embedded)

    Bus Interface: PCI
    Slot: 0
    Serial Number: <EFG>
    Cache Serial Number: ...
    RAID 6 (ADG) Status: Disabled
    Controller Status: OK
    Hardware Revision: C
    Firmware Version: 3.66
    Rebuild Priority: Medium
    Expand Priority: Medium
    Surface Scan Delay: 3 secs
    Surface Scan Mode: Idle
    Queue Depth: Automatic
    Monitor and Performance Delay: 60  min
    Elevator Sort: Enabled
    Degraded Performance Optimization: Disabled
    Inconsistency Repair Policy: Disabled
    Wait for Cache Room: Disabled
    Surface Analysis Inconsistency Notification: Disabled                                                                                                                                              
    Post Prompt Timeout: 15 secs                                                                                                                                                                       
    Cache Board Present: True                                                                                                                                                                          
    Cache Status: OK                                                                                                                                                                                   
    Cache Ratio: 25% Read / 75% Write                                                                                                                                                                  
    Drive Write Cache: Disabled                                                                                                                                                                        
    Total Cache Size: 1024 MB                                                                                                                                                                          
    Total Cache Memory Available: 912 MB                                                                                                                                                               
    No-Battery Write Cache: Disabled                                                                                                                                                                   
    Cache Backup Power Source: Capacitors                                                                                                                                                              
    Battery/Capacitor Count: 1                                                                                                                                                                         
    Battery/Capacitor Status: OK                                                                                                                                                                       
    SATA NCQ Supported: True                                                                                                                                                                           

=> controller sn= physicaldrive all show

  Smart Array P410i in Slot 0 (Embedded)                                                                                                                                                               

     array A

        physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK)
        physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK)
        physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, OK)
        physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, Failed)
        physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 300 GB, Failed)
        physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 300 GB, OK)
        physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)
        physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SAS, 300 GB, OK, active spare)
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

1 participant