---
name: "ocf_pacemaker_HealthSMART"
section: "7"
platform: "linux"
package: "pacemaker-resource-agents"
version: "3.0.0-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ocf_pacemaker_HealthSMART"
---

# ocf\_pacemaker\_HealthSMART(7)

SMART health status

## NAME

ocf\_pacemaker\_HealthSMART - SMART health status

## SYNOPSIS

\[**OCF\_RESKEY\_state**=string\] \[**OCF\_RESKEY\_drives**=string\] \[**OCF\_RESKEY\_devices**=string\] \[**OCF\_RESKEY\_temp\_lower\_limit**=string\] \[**OCF\_RESKEY\_temp\_upper\_limit**=string\] \[**OCF\_RESKEY\_temp\_warning**=string\] \[**OCF\_RESKEY\_smartctl**=string\] \[**OCF\_RESKEY\_dampen**=string\]

**HealthSMART** \[start \| stop \| monitor \| meta-data \| validate-all \| reload-agent\]

## DESCRIPTION

System health agent that checks the S.M.A.R.T. status of the given drives and updates the #health-smart attribute.

## SUPPORTED PARAMETERS

**OCF\_RESKEY\_state** = string \[/HealthSMART-.state\]

State file

Location to store the resource state in.

**OCF\_RESKEY\_drives** = string \[/dev/sda\]

Drives to check

The drive(s) to check as a SPACE separated list. Enter the full path to the device, e.g. "/dev/sda".

**OCF\_RESKEY\_devices** = string

Device types

The device type(s) to assume for the drive(s) being tested as a SPACE separated list.

**OCF\_RESKEY\_temp\_lower\_limit** = string \[0\]

Lower limit for the red smart attribute

Lower limit of the temperature in deg C of the drive(s). Below this limit the status of #health-smart will be red.

**OCF\_RESKEY\_temp\_upper\_limit** = string \[60\]

Upper limit for red smart attribute

Upper limit of the temperature if deg C of the drives(s). If the drive reports a temperature higher than this value the status of #health-smart will be red.

**OCF\_RESKEY\_temp\_warning** = string \[5\]

Deg C below/above the upper limits for yellow smart attribute

Number of deg C below/above the upper/lower temp limits at which point the status of #health-smart will change to yellow.

**OCF\_RESKEY\_smartctl** = string \[/usr/sbin/smartctl\]

The path to the smartctl program

The path to the smartctl program, used for querying device health.

**OCF\_RESKEY\_dampen** = string \[5s\]

Dampening interval

The time to wait (dampening) for further changes to occur

## AUTHOR

**Andrew Beekhof** \<andrew@beekhof.net\>

Author.
