diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 00:14:17 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 00:14:17 +0200 |
commit | aac0980edba65766fa0dbcccec5ffd74326a0030 (patch) | |
tree | f4065467a4621cab14461219559a34aa4c3c4c7a | |
parent | 4ad0f80ec3a136d1c45ee7a9957a8acdef6d4afc (diff) | |
download | monitoring-plugins-aac0980edba65766fa0dbcccec5ffd74326a0030.tar.gz |
Change default host names for some tests
Testing "nagiosplugins.org" will currently not work.
-rw-r--r-- | plugins/t/check_dig.t | 8 | ||||
-rw-r--r-- | 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 d447f084..3ed6cc8e 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 f77387de..29086737 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( |