Skip to content

Posisble to add HDD temps ? #1

@morgancoxuk

Description

@morgancoxuk

I have modified (locally) the 3.2 templates to work with Zabbix 3.0.x

One thing that is missing is the HDD temp reading, is there an easy way of adding it ?

i.e if you do

# hpssacli ctrl slot=0 pd all show detail

you see the output on the physical disk temps

i.e

      physicaldrive 1I:1:1
         Port: 1I
         Box: 1
         Bay: 1
         Status: OK
         Drive Type: Data Drive
         Interface Type: SAS
         Size: 4000.7 GB
         Drive exposed to OS: False
         Native Block Size: 512
         Rotational Speed: 7200
         Firmware Revision: HPDA
         Serial Number: S1Z1CKK10000K5512XPH
         Model: HP      MB4000FCWDK
         Current Temperature (C): 37
         Maximum Temperature (C): 47
         PHY Count: 2
         PHY Transfer Rate: 6.0Gbps, Unknown
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
         Sanitize Erase Supported: False

      physicaldrive 1I:1:2
         Port: 1I
         Box: 1
         Bay: 2
         Status: OK
         Drive Type: Data Drive
         Interface Type: SAS
         Size: 4000.7 GB
         Drive exposed to OS: False
         Native Block Size: 512
         Rotational Speed: 7200
         Firmware Revision: HPDA
         Serial Number: S1Z1CQ1D0000K551408W
         Model: HP      MB4000FCWDK
         Current Temperature (C): 37
         Maximum Temperature (C): 45
         PHY Count: 2
         PHY Transfer Rate: 6.0Gbps, Unknown
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
         Sanitize Erase Supported: False

So I could use

# hpssacli ctrl slot=0 pd all show detail |grep -i "current"

But my issue is the discovery part. My perl skills are not great.

Is there a way I can add the feature ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions