Compare commits
2 Commits
06c737d030
...
bb2a3a8bea
Author | SHA1 | Date | |
---|---|---|---|
bb2a3a8bea | |||
36bd1e7485 |
21
check_home_assistant_state.conf
Normal file
21
check_home_assistant_state.conf
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
object CheckCommand "home_assistant" {
|
||||||
|
command = [ PluginContribDir + "/check_home_assistant/check_home_assistant.py" ]
|
||||||
|
arguments = {
|
||||||
|
"--token" = {
|
||||||
|
value = "$home_assistant_token$"
|
||||||
|
description = "API token for Home Assistant"
|
||||||
|
}
|
||||||
|
"--url" = {
|
||||||
|
value = "$home_assistant_url$"
|
||||||
|
description = "URL for Home Assistant"
|
||||||
|
}
|
||||||
|
"--warning" = {
|
||||||
|
value = "$home_assistant_warning$"
|
||||||
|
description = "Return warning if battery percentage is outside RANGE"
|
||||||
|
}
|
||||||
|
"--critical" = {
|
||||||
|
value = "$home_assistant_critical$"
|
||||||
|
description = "Return critical if battery percentage is outside RANGE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user