[icinga-checkins] icinga.org: icinga2/next: plugin command dns: small naming fixes

git at icinga.org git at icinga.org
Mon Jun 16 08:57:50 CEST 2014


Module: icinga2
Branch: next
Commit: c1034a8e7f48e89c2d96018426b0f99e24b92ead
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=c1034a8e7f48e89c2d96018426b0f99e24b92ead

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Mon Jun 16 08:47:54 2014 +0200

plugin command dns: small naming fixes

refs #6487

---

 doc/6-configuring-icinga-2.md |    6 +++---
 itl/command-plugins.conf      |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/6-configuring-icinga-2.md b/doc/6-configuring-icinga-2.md
index 6e62142..732b2fe 100644
--- a/doc/6-configuring-icinga-2.md
+++ b/doc/6-configuring-icinga-2.md
@@ -2077,7 +2077,7 @@ snmp_address    | **Optional.** The host's address. Defaults to "$address$".
 snmp_oid        | **Optional.** The SNMP OID. Defaults to "1.3.6.1.2.1.1.3.0".
 snmp_community  | **Optional.** The SNMP community. Defaults to "public".
 
-#### <a id="plugin-check-command-dhcp"></a> dhcp
+#### <a id="plugin-check-command-dns"></a> dns
 
 Check command object for the `check_dns` plugin.
 
@@ -2088,9 +2088,9 @@ Name                 | Description
 dns_lookup           | **Optional.** The hostname or IP to query the dns for. Defaults to $host_name$.
 dns_server           | **Optional.** The DNS server to query. Defaults to the server configured in the OS.
 dns_expected_answer  | **Optional.** The answer to look for. A hostname must end with a dot.
-dns_authorative      | **Optional.** Expect the server to send an authorative answer.
+dns_authoritative    | **Optional.** Expect the server to send an authoritative answer.
 
-#### <a id="plugin-check-command-dns"></a> dns
+#### <a id="plugin-check-command-dhcp"></a> dhcp
 
 Check command object for the `check_dhcp` plugin.
 
diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf
index a0ef1db..b9b7af9 100644
--- a/itl/command-plugins.conf
+++ b/itl/command-plugins.conf
@@ -433,7 +433,7 @@ object CheckCommand "dns" {
 		"-s" = "$dns_server$",
 		"-a" = "$dns_expected_answer$",
 		"-A" = {
-			set_if = "$dns_authorative$"
+			set_if = "$dns_authoritative$"
 		}
 	}
 



More information about the icinga-checkins mailing list