From aac0980edba65766fa0dbcccec5ffd74326a0030 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 29 Sep 2013 00:14:17 +0200 Subject: Change default host names for some tests Testing "nagiosplugins.org" will currently not work. 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/'; my $hostname_valid = getTestParameter( "NP_HOSTNAME_VALID", "A valid (known to DNS) hostname", - "nagiosplugins.org" + "orwell.monitoring-plugins.org" ); my $hostname_valid_ip = getTestParameter( "NP_HOSTNAME_VALID_IP", "The IP address of the valid hostname $hostname_valid", - "67.207.143.200", + "130.133.8.40", ); my $hostname_valid_reverse = getTestParameter( "NP_HOSTNAME_VALID_REVERSE", "The hostname of $hostname_valid_ip", - "nagiosplugins.org.", + "orwell.monitoring-plugins.org.", ); my $hostname_invalid = getTestParameter( "NP_HOSTNAME_INVALID", "An invalid (not known to DNS) hostname", - "nosuchhost.altinity.com", + "nosuchhost.monitoring-plugins.org", ); my $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", my $host_tcp_http2 = getTestParameter( "NP_HOST_TCP_HTTP2", "A host providing an index page containing the string 'nagios'", - "nagiosplugins.org" ); + "nagios.org" ); $res = NPTest->testCmd( -- cgit v0.10-9-g596f