[nagios-plugins] Change default host names for some tests
Git Repository <[email protected]> Sun, 29 Sep 2013 00:40:08 +0200 (CEST)
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module: nagios-plugins Branch: master Commit: aac0980edba65766fa0dbcccec5ffd74326a0030 Author: Holger Weiss <[email protected]> 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( ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk