Ad Widget

Collapse

Check SSD health and free space Template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ZabbixForum123
    Junior Member
    • Nov 2024
    • 1

    #1

    Check SSD health and free space Template

    Hi. I'm new with Zabbix.
    I'm trying to use it for the first time. I played around manually, and it's working, but using a template is the way to go, especially if there’s something already made.
    I’d like to check SSD health and free space, but I got lost looking for a template that could do that or be part of an existing one.
    I know a PowerShell command that checks health that give you at least an (OK, Warning, Unhealthy, etc), since there isn’t any other command-line, no-GUI software that can check SMART info and provide lifespan estimation).
    This way, I can anticipate SSD issues (replacement if it’s damaged or cleanup if it’s full).

    Thanks so much in advance for any help!

    For whoever is interested: Powershell command line: Get-PhysicalDisk | Select-Object DeviceId, MediaType, OperationalStatus, HealthStatus
    (Get-PhysicalDisk is designed for physical disks managed by Windows, especially those directly connected to the system, like SATA, NVMe, or SAS drives)

    "The OperationalStatus property from Get-PhysicalDisk can provide various statuses for each disk. Here are some typical values you might encounter:
    1. OK - The disk is functioning normally.
    2. Warning - There may be a potential issue with the disk, which could require attention soon.
    3. Unhealthy - The disk has a known issue and may need replacement or repair.
    4. Unknown - The status of the disk is not known.
    5. Non-Operational - The disk is not operational and cannot be used.
    6. Pred Fail - The disk is predicted to fail based on SMART data.
    7. Starting - The disk is in the process of starting up.
    8. Stopping - The disk is in the process of stopping.
    9. Lost Communication - The system has lost communication with the disk.
    10. Failed - The disk has failed and is unusable.
Working...