forked from stdevel/check_apcaccess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheck_apcaccess-icinga2.conf
51 lines (51 loc) · 1.46 KB
/
check_apcaccess-icinga2.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
object CheckCommand "check_apcaccess" {
import "plugin-check-command"
command = [ PluginDir + "/check_apcaccess" ]
arguments = {
}
"-P" = {
set_if = "$apcaccess_perfdata$"
description = "Enables perfdata (default: no)"
}
"-w" = {
value = "$apcaccess_temp_warn$"
description = "Temperature warning threshold (default: 50)"
}
"-c" = {
value = "$apcaccess_temp_crit$"
description = "Temperature critical threshold (default: 60)"
}
"-l" = {
value = "$apcaccess_load_warn$"
description = "Load warning threshold (default: 50)"
}
"-L" = {
value = "$apcaccess_load_crit$"
description = "Load critical threshold (default: 80)"
}
"-b" = {
value = "$apcaccess_batt_warn$"
description = "Battery load warning threshold (default: 80)"
}
"-B" = {
value = "$apcaccess_batt_crit$"
description = "Battery load critical threshold (default: 50)"
}
"-t" = {
value = "$apcaccess_time_warn$"
description = "Battery time warning threshold (default: empty)"
}
"-T" = {
value = "$apcaccess_time_crit$"
description = "Battery time critical threshold (default: empty)"
}
"-u" = {
value = "$apcaccess_consum_warn$"
description = "Consumption warning threshold (default: empty)"
}
"-U" = {
value = "$apcaccess_consum_crit$"
description = "Consumption critical threshold (default: empty)"
}
}
}