summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_dns.t
diff options
context:
space:
mode:
authorNicolai <NicolaiSoeborg@users.noreply.github.com>2016-12-23 21:59:42 (GMT)
committerNicolai <NicolaiSoeborg@users.noreply.github.com>2016-12-23 21:59:42 (GMT)
commit6a0f4fe275bdf1c90de3d1b611293cf57cc3887b (patch)
tree31a2708d65e6b03301f35a3ec5df3abe6d8b93a7 /plugins/t/check_dns.t
parentb9f00386a17290d7c6d900bcb4c25a13e8d1b368 (diff)
downloadmonitoring-plugins-6a0f4fe275bdf1c90de3d1b611293cf57cc3887b.tar.gz
check_dns: Small test cleanuprefs/pull/1456/head
Diffstat (limited to 'plugins/t/check_dns.t')
-rw-r--r--plugins/t/check_dns.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/t/check_dns.t b/plugins/t/check_dns.t
index 3dbb718..cdfbe60 100644
--- a/plugins/t/check_dns.t
+++ b/plugins/t/check_dns.t
@@ -17,7 +17,7 @@ my $successOutput = '/DNS OK: [\.0-9]+ seconds? response time/';
17my $hostname_valid = getTestParameter( 17my $hostname_valid = getTestParameter(
18 "NP_HOSTNAME_VALID", 18 "NP_HOSTNAME_VALID",
19 "A valid (known to DNS) hostname", 19 "A valid (known to DNS) hostname",
20 "monitoring-plugins.org" 20 "monitoring-plugins.org",
21 ); 21 );
22 22
23my $hostname_valid_ip = getTestParameter( 23my $hostname_valid_ip = getTestParameter(
@@ -34,14 +34,14 @@ my $hostname_valid_cidr = getTestParameter(
34 34
35my $hostname_invalid_cidr = getTestParameter( 35my $hostname_invalid_cidr = getTestParameter(
36 "NP_HOSTNAME_INVALID_CIDR", 36 "NP_HOSTNAME_INVALID_CIDR",
37 "An valid CIDR range not containing $hostname_valid_ip", 37 "An (valid) CIDR range NOT containing $hostname_valid_ip",
38 "130.133.8.39/30", 38 "130.133.8.39/30",
39 ); 39 );
40 40
41my $hostname_valid_reverse = getTestParameter( 41my $hostname_valid_reverse = getTestParameter(
42 "NP_HOSTNAME_VALID_REVERSE", 42 "NP_HOSTNAME_VALID_REVERSE",
43 "The hostname of $hostname_valid_ip", 43 "The hostname of $hostname_valid_ip",
44 "66-118-156-50.static.sagonet.net.", 44 "orwell.monitoring-plugins.org.",
45 ); 45 );
46 46
47my $hostname_invalid = getTestParameter( 47my $hostname_invalid = getTestParameter(