summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t')
-rw-r--r--plugins/t/NPTest.cache.travis2
-rw-r--r--plugins/t/check_dns.t6
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/t/NPTest.cache.travis b/plugins/t/NPTest.cache.travis
index 8f72a55..38c0a6b 100644
--- a/plugins/t/NPTest.cache.travis
+++ b/plugins/t/NPTest.cache.travis
@@ -4,7 +4,7 @@
4 'NP_DNS_SERVER' => '8.8.8.8', 4 'NP_DNS_SERVER' => '8.8.8.8',
5 'NP_GOOD_NTP_SERVICE' => '', 5 'NP_GOOD_NTP_SERVICE' => '',
6 'NP_HOSTNAME_INVALID' => 'nosuchhost', 6 'NP_HOSTNAME_INVALID' => 'nosuchhost',
7 'NP_HOSTNAME_VALID' => 'monitoringplugins.org', 7 'NP_HOSTNAME_VALID' => 'monitoring-plugins.org',
8 'NP_HOSTNAME_VALID_IP' => '130.133.8.40', 8 'NP_HOSTNAME_VALID_IP' => '130.133.8.40',
9 'NP_HOSTNAME_VALID_CIDR' => '130.133.8.41/30', 9 'NP_HOSTNAME_VALID_CIDR' => '130.133.8.41/30',
10 'NP_HOSTNAME_INVALID_CIDR' => '130.133.8.39/30', 10 'NP_HOSTNAME_INVALID_CIDR' => '130.133.8.39/30',
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(