mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
Rename check_temp to check_lmsensors
This commit is contained in:
parent
d658d231a2
commit
1c3c01f17b
@ -2601,18 +2601,18 @@ openmanage_timeout | **Optional.** Plugin timeout in seconds [default=30]
|
|||||||
openmanage_vdisk_critical | **Optional.** Make any alerts on virtual disks critical
|
openmanage_vdisk_critical | **Optional.** Make any alerts on virtual disks critical
|
||||||
openmanage_warning | **Optional.** Custom temperature warning limits
|
openmanage_warning | **Optional.** Custom temperature warning limits
|
||||||
|
|
||||||
#### temp <a id="plugin-contrib-command-temp"></a>
|
#### lmsensors <a id="plugin-contrib-command-lmsensors"></a>
|
||||||
|
|
||||||
The [check_temp](https://github.com/jackbenny/check_temp) plugin,
|
The [check_lmsensors](https://github.com/jackbenny/check_temp) plugin,
|
||||||
uses the `lm-sensors` binary to monitor temperature sensors.
|
uses the `lm-sensors` binary to monitor temperature sensors.
|
||||||
|
|
||||||
Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
|
Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
|
||||||
|
|
||||||
Name | Description
|
Name | Description
|
||||||
------------------------|----------------------------------------------------------------------------------
|
------------------------|----------------------------------------------------------------------------------
|
||||||
temp_warning | **Required.** Exit with WARNING status if above INTEGER degrees
|
lmsensors_warning | **Required.** Exit with WARNING status if above INTEGER degrees
|
||||||
temp_critical | **Required.** Exit with CRITICAL status if above INTEGER degrees
|
lmsensors_critical | **Required.** Exit with CRITICAL status if above INTEGER degrees
|
||||||
temp_sensor | **Optional.** Set what to monitor, for example CPU or MB (or M/B). Check sensors for the correct word. Default is CPU.
|
lmsensors_sensor | **Optional.** Set what to monitor, for example CPU or MB (or M/B). Check sensors for the correct word. Default is CPU.
|
||||||
|
|
||||||
#### hddtemp <a id="plugin-contrib-command-hddtemp"></a>
|
#### hddtemp <a id="plugin-contrib-command-hddtemp"></a>
|
||||||
|
|
||||||
|
@ -205,29 +205,29 @@ object CheckCommand "openmanage" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
object CheckCommand "temp" {
|
object CheckCommand "lmsensors" {
|
||||||
command = [ PluginDir + "/check_temp" ]
|
command = [ PluginDir + "/check_lmsensors" ]
|
||||||
|
|
||||||
arguments = {
|
arguments = {
|
||||||
"-w" = {
|
"-w" = {
|
||||||
value = "$temp_warning$"
|
value = "$lmsensors_warning$"
|
||||||
description = "Exit with WARNING status if above INTEGER degrees"
|
description = "Exit with WARNING status if above INTEGER degrees"
|
||||||
required = true
|
required = true
|
||||||
}
|
}
|
||||||
"-c" = {
|
"-c" = {
|
||||||
value = "$temp_critical$"
|
value = "$lmsensors_critical$"
|
||||||
description = "Exit with CRITICAL status if above INTEGER degrees"
|
description = "Exit with CRITICAL status if above INTEGER degrees"
|
||||||
required = true
|
required = true
|
||||||
}
|
}
|
||||||
"--sensor" = {
|
"--sensor" = {
|
||||||
value = "$temp_sensor$"
|
value = "$lmsensors_sensor$"
|
||||||
description = "Set what to monitor, for example CPU or MB (or M/B). Check sensors for the correct word. Default is CPU."
|
description = "Set what to monitor, for example CPU or MB (or M/B). Check sensors for the correct word. Default is CPU."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vars.temp_warning = "75"
|
vars.lmsensors_warning = "75"
|
||||||
vars.temp_critical = "80"
|
vars.lmsensors_critical = "80"
|
||||||
vars.temp_sensor = "Core"
|
vars.lmsensors_sensor = "Core"
|
||||||
}
|
}
|
||||||
|
|
||||||
object CheckCommand "hddtemp" {
|
object CheckCommand "hddtemp" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user