[nagios-plugins] Change default host names for some tests

Git Repository git at nagios-plugins.org
Sun Sep 29 00:40:08 CEST 2013


 Module: nagios-plugins
 Branch: master
 Commit: aac0980edba65766fa0dbcccec5ffd74326a0030
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Sun Sep 29 00:14:17 2013 +0200

Change default host names for some tests

Testing "nagiosplugins.org" will currently not work.

---

 plugins/t/check_dig.t  |    8 ++++----
 plugins/t/check_http.t |    2 +-
 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/';
 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(





More information about the Commits mailing list