-
Notifications
You must be signed in to change notification settings - Fork 9
/
dhcpdoctor.conf
37 lines (36 loc) · 1.32 KB
/
dhcpdoctor.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
# Icinga2 CheckCommand definition for dhcpdoctor
object CheckCommand "dhcpdoctor" {
import "plugin-check-command"
command = ["/usr/bin/dhcpdoctor"]
arguments = {
"-4" = {
set_if = "$dhcpdoctor_ipv4$",
description = "IPv4 mode"
}
"-6" = {
set_if = "$dhcpdoctor_ipv6$",
description = "IPv6 mode"
}
"-i" = {
value = "$dhcpdoctor_interface$",
description = "interface to send requests via"
}
"-c" = {
value = "$dhcpdoctor_client_id$",
description = "MAC address or DUID of client to send in request. Defaults to MAC address of interface requests are sent from."
}
"-r" = {
value = "$dhcpdoctor_server_address$",
description = "send requests to specified server instead of broadcasting them on the local network"
}
"-f" = {
value = "$dhcpdoctor_relay_address$",
description = "send relayed requests from specified address. Defaults to address of the interface requests are sent from."
}
"--timeout" = {
value = "$dhcpdoctor_timeout$",
description = "Time to wait for response from server before giving up."
}
}
vars.dhcpdoctor_server_address = "$address$"
}