Skip to content

Commit c1034a8

Browse files
author
Michael Friedrich
committed
plugin command dns: small naming fixes
refs #6487
1 parent a4a015c commit c1034a8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/6-configuring-icinga-2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2077,7 +2077,7 @@ snmp_address | **Optional.** The host's address. Defaults to "$address$".
20772077
snmp_oid | **Optional.** The SNMP OID. Defaults to "1.3.6.1.2.1.1.3.0".
20782078
snmp_community | **Optional.** The SNMP community. Defaults to "public".
20792079

2080-
#### <a id="plugin-check-command-dhcp"></a> dhcp
2080+
#### <a id="plugin-check-command-dns"></a> dns
20812081

20822082
Check command object for the `check_dns` plugin.
20832083

@@ -2088,9 +2088,9 @@ Name | Description
20882088
dns_lookup | **Optional.** The hostname or IP to query the dns for. Defaults to $host_name$.
20892089
dns_server | **Optional.** The DNS server to query. Defaults to the server configured in the OS.
20902090
dns_expected_answer | **Optional.** The answer to look for. A hostname must end with a dot.
2091-
dns_authorative | **Optional.** Expect the server to send an authorative answer.
2091+
dns_authoritative | **Optional.** Expect the server to send an authoritative answer.
20922092

2093-
#### <a id="plugin-check-command-dns"></a> dns
2093+
#### <a id="plugin-check-command-dhcp"></a> dhcp
20942094

20952095
Check command object for the `check_dhcp` plugin.
20962096

itl/command-plugins.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ object CheckCommand "dns" {
433433
"-s" = "$dns_server$",
434434
"-a" = "$dns_expected_answer$",
435435
"-A" = {
436-
set_if = "$dns_authorative$"
436+
set_if = "$dns_authoritative$"
437437
}
438438
}
439439

0 commit comments

Comments
 (0)