summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-28 22:14:17 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-28 22:14:17 (GMT)
commitaac0980edba65766fa0dbcccec5ffd74326a0030 (patch)
treef4065467a4621cab14461219559a34aa4c3c4c7a /plugins
parent4ad0f80ec3a136d1c45ee7a9957a8acdef6d4afc (diff)
downloadmonitoring-plugins-aac0980edba65766fa0dbcccec5ffd74326a0030.tar.gz
Change default host names for some tests
Testing "nagiosplugins.org" will currently not work.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/t/check_dig.t8
-rw-r--r--plugins/t/check_http.t2
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/t/check_dig.t b/plugins/t/check_dig.t
index d447f08..3ed6cc8 100644
--- a/plugins/t/check_dig.t
+++ b/plugins/t/check_dig.t
@@ -22,25 +22,25 @@ my $successOutput = '/DNS OK - [\.0-9]+ seconds? response time/';
22my $hostname_valid = getTestParameter( 22my $hostname_valid = getTestParameter(
23 "NP_HOSTNAME_VALID", 23 "NP_HOSTNAME_VALID",
24 "A valid (known to DNS) hostname", 24 "A valid (known to DNS) hostname",
25 "nagiosplugins.org" 25 "orwell.monitoring-plugins.org"
26 ); 26 );
27 27
28my $hostname_valid_ip = getTestParameter( 28my $hostname_valid_ip = getTestParameter(
29 "NP_HOSTNAME_VALID_IP", 29 "NP_HOSTNAME_VALID_IP",
30 "The IP address of the valid hostname $hostname_valid", 30 "The IP address of the valid hostname $hostname_valid",
31 "67.207.143.200", 31 "130.133.8.40",
32 ); 32 );
33 33
34my $hostname_valid_reverse = getTestParameter( 34my $hostname_valid_reverse = getTestParameter(
35 "NP_HOSTNAME_VALID_REVERSE", 35 "NP_HOSTNAME_VALID_REVERSE",
36 "The hostname of $hostname_valid_ip", 36 "The hostname of $hostname_valid_ip",
37 "nagiosplugins.org.", 37 "orwell.monitoring-plugins.org.",
38 ); 38 );
39 39
40my $hostname_invalid = getTestParameter( 40my $hostname_invalid = getTestParameter(
41 "NP_HOSTNAME_INVALID", 41 "NP_HOSTNAME_INVALID",
42 "An invalid (not known to DNS) hostname", 42 "An invalid (not known to DNS) hostname",
43 "nosuchhost.altinity.com", 43 "nosuchhost.monitoring-plugins.org",
44 ); 44 );
45 45
46my $dns_server = getTestParameter( 46my $dns_server = getTestParameter(
diff --git a/plugins/t/check_http.t b/plugins/t/check_http.t
index f77387d..2908673 100644
--- a/plugins/t/check_http.t
+++ b/plugins/t/check_http.t
@@ -32,7 +32,7 @@ my $internet_access = getTestParameter( "NP_INTERNET_ACCESS",
32 32
33my $host_tcp_http2 = getTestParameter( "NP_HOST_TCP_HTTP2", 33my $host_tcp_http2 = getTestParameter( "NP_HOST_TCP_HTTP2",
34 "A host providing an index page containing the string 'nagios'", 34 "A host providing an index page containing the string 'nagios'",
35 "nagiosplugins.org" ); 35 "nagios.org" );
36 36
37 37
38$res = NPTest->testCmd( 38$res = NPTest->testCmd(