temperature

check_temperature

Check temperature sensors.

Implementation

WindowsLinuxFreeBSDMacOSX

Examples

Default Check

check_temperature
OK - Package id 0: 65.0 °C, Core 0: 62.0 °C, Core 1: 61.0 °C, Core 2: 65.0 °C |...

Show all temperature sensors and apply custom thresholds:

check_temperature filter=none warn="temperature > 85" crit="temperature > 90"
OK - Package id 0: 65.0 °C, Core 0: 62.0 °C, Core 1: 61.0 °C, Core 2: 65.0 °C |...

Example using NRPE and Naemon

Naemon Config

define command{
    command_name         check_nrpe
    command_line         $USER1$/check_nrpe -H $HOSTADDRESS$ -n -c $ARG1$ -a $ARG2$
}

define service {
    host_name            testhost
    service_description  check_temperature
    use                  generic-service
    check_command        check_nrpe!check_temperature!
}

Argument Defaults

ArgumentDefault Value
filtertemperature != 0 and temperature != 1
warningtemperature < ${min} || temperature > ${crit}
criticaltemperature < ${min} || temperature > ${crit}
empty-state3 (UNKNOWN)
empty-syntaxcheck_temperature failed to find any sensors.
top-syntax${status} - ${list}
ok-syntax
detail-syntax${sensor}: ${temperature:fmt=%.1f} °C

Check Specific Arguments

ArgumentDescription
sensorShow this sensor only

Attributes

Filter Keywords

these can be used in filters and thresholds (along with the default attributes):

AttributeDescription
sensorfull name of this sensor, ex.: coretemp_core_0
namename of this sensor, ex.: coretemp
labellabel for this sensor, ex.: core 0
valuecurrent temperature
critcritical value supplied from sensor
maxmax value supplied from sensor
minmin value supplied from sensor