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 /plugins/t/check_dig.t | |
parent | 4ad0f80ec3a136d1c45ee7a9957a8acdef6d4afc (diff) | |
download | monitoring-plugins-aac0980edba65766fa0dbcccec5ffd74326a0030.tar.gz |
Change default host names for some tests
Testing "nagiosplugins.org" will currently not work.
Diffstat (limited to 'plugins/t/check_dig.t')
-rw-r--r-- | plugins/t/check_dig.t | 8 |
1 files changed, 4 insertions, 4 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/'; | |||
22 | my $hostname_valid = getTestParameter( | 22 | my $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 | ||
28 | my $hostname_valid_ip = getTestParameter( | 28 | my $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 | ||
34 | my $hostname_valid_reverse = getTestParameter( | 34 | my $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 | ||
40 | my $hostname_invalid = getTestParameter( | 40 | my $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 | ||
46 | my $dns_server = getTestParameter( | 46 | my $dns_server = getTestParameter( |