-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcheck_netio-icinga2.conf
46 lines (46 loc) · 1.04 KB
/
check_netio-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
object CheckCommand "check_netio" {
import "plugin-check-command"
command = [ PluginDir + "/check_netio.py" ]
arguments = {
"-s" = {
required = true
description = "NETIO hostname or address"
value = "$address$"
}
"-u" = {
required = true
description = "Username"
value = "$netio_username$"
}
"-w" = {
required = true
description = "Password"
value = "$netio_password$"
}
"-y" = {
value = "$netio_hash$"
description = "Use hash rather than username/password combination"
}
"-p" = {
value = "$netio_kshell$"
description = "KShell port"
}
"-k" = {
set_if = "$netio_nocgi$"
description = "Use KShell rather than CGI"
}
"-n" = {
set_if = "$netio_ntp$"
description = "Check NTP"
}
"-x" = {
required = true
value = "$netio_ports$"
description = "Check port states"
}
"-P" = {
value = "$netio_perfdata$"
description = "Enables perfdata (default: no)"
}
}
}