-
Notifications
You must be signed in to change notification settings - Fork 0
/
check_poe_consumption_snmp.conf
32 lines (29 loc) · 1.1 KB
/
check_poe_consumption_snmp.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
object CheckCommand "check_poe_consumption_snmp" {
import "ipv4-or-ipv6"
command = [ PluginDir + "/contrib/check_poe_consumption_snmp.sh" ]
arguments = {
"-H" = {
value = "$check_poe_consumption_snmp_hostname$"
description = "FQDN or IP-Address for SNMP Query"
required = true
}
"-C" = {
value = "$check_poe_consumption_snmp_community$"
description = "SNMP Community string (OPTIONAL, default: public)"
}
"-v" = {
value = "$check_poe_consumption_snmp_version$"
description = "SNMP-Version (OPTIONAL, default: 2c, also currently only 2c is supported)"
}
"-c" = {
value = "$check_poe_consumption_snmp_critical$"
description = "Critical threshold (in %) for watt consumption (OPTIONAL, default: threshold found in SNMP, 80% if no threshold is found)"
}
"-w" = {
value = "$check_poe_consumption_snmp_warning$"
description = "Warning threshold (in %) for watt consumption (OPTIONAL, default: threshold found in SNMP, 50% if no threshold is found)"
}
}
vars.check_poe_consumption_snmp_hostname = "$check_address$"
vars.check_poe_consumption_snmp_community = "public"
}