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

Update hp_proliant_da_phydrv.py - Added Spare-Code #778

Closed
wants to merge 1 commit into from

Conversation

Patrick-PDV
Copy link
Contributor

Hi,
I've added the code 10 for a hotSpare-Disk with hpe Raid-Controler.
best regards

Hi, 
I've added the code 10 for a hotSpare-Disk with hpe Raid-Controler.
Copy link

github-actions bot commented Dec 18, 2024

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@Patrick-PDV
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA or my organization already has a signed CLA.

@logan-connolly
Copy link
Member

Hi @Patrick-PDV, could you link to a resource that shows that this oid (.1.3.6.1.4.1.232.3.2.5.1.1.6) now supports this status?

After having a look oid-base.com and mibs.observium.org, I couldn't find an entry for status 10.

@Patrick-PDV
Copy link
Contributor Author

Hi @logan-connolly,

it's a little tricky for HPE, as usual. ;) Goto https://support.hpe.com/connect/s/softwaredetails?language=en_US&collectionId=MTX-85e329105f8e48d5&tab=Installation+Instructions for the latest MIB-Version. (2.5.0.0). There's the cpqida.mib inlcuded. There are the infos:

-- MIB Rev of 2.3.0.0 for 3.05 time frame :
-- - Added new enum to cpqDaPhyDrvStatus - Hotspare(10) and Description as well.
[...]
cpqDaPhyDrvStatus OBJECT-TYPE
SYNTAX INTEGER
{
other(1),
ok(2),
failed(3),
predictiveFailure(4),
erasing(5),
eraseDone(6),
eraseQueued(7),
ssdWearOut(8),
notAuthenticated(9),
Hotspare(10)
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Physical Drive Status.

        This shows the status of the physical drive.

        The following values are valid for the physical drive status:


        Other (1)
          Indicates that the instrument agent does not recognize
          the drive.  You may need to upgrade your instrument agent
          and/or driver software.

        Ok (2)
          Indicates the drive is functioning properly.

        Failed (3)
          Indicates that the drive is no longer operating and
          should be replaced.

        Predictive Failure(4)
          Indicates that the drive has a predictive failure error and
          should be replaced.

        Erasing(5)
          Indicates that the drive is being erased.

        Erase Done(6)
          Indicates that the drive has been erased and is now in an
          offline state.

        Erase Queued(7)
          Indicates that an erase operation is currently queued for
          the drive.
          
        SSD Wear Out(8)
          Indicates that a solid state drive is approaching the maximum
          usage limit for writes (wear out) and should be replaced as soon
          as possible.
          
        Not Authenticated(9)
          Indicates the physical drive could not be authenticated as a genuine 
          HP hard drive. The array controller will no longer control the drive 
          LEDs. Please replace the hard drive with a genuine HP hard drive.
		
		Hotspare(10)
		  The drive has been marked to automatically rebuild and replace a failed drive."

@logan-connolly
Copy link
Member

Hi @Patrick-PDV,

Thanks for reporting this issue. This issue has been resolved and will be available in one of the next patch releases.

You can find more details under the following werk: https://checkmk.com/werk/17592

The change can be found in master (09867b1), v2.4 (c1157ee), and v2.3 (03a7226).

Best regards,
Logan

@github-actions github-actions bot locked and limited conversation to collaborators Feb 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants