Code

Changed default test values for check_dns (using nagios.com)
authorTon Voon <tonvoon@users.sourceforge.net>
Tue, 8 Jan 2008 16:05:36 +0000 (16:05 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Tue, 8 Jan 2008 16:05:36 +0000 (16:05 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1902 f882894a-f735-0410-b71e-b25c423dba1c

plugins/t/check_dns.t

index 6d81b21ce42a7ce009fb5528f57324fc0b9e3ddd..fc89e6e551dea12aed69a46e998590ec9e07b161 100644 (file)
@@ -18,19 +18,19 @@ my $successOutput = '/DNS OK: [\.0-9]+ seconds? response time/';
 my $hostname_valid = getTestParameter( 
                        "NP_HOSTNAME_VALID",
                        "A valid (known to DNS) hostname",
-                       "apple.com"
+                       "nagios.com"
                        );
 
 my $hostname_valid_ip = getTestParameter(
                        "NP_HOSTNAME_VALID_IP",
                        "The IP address of the valid hostname $hostname_valid",
-                       "17.254.3.183"
+                       "66.118.156.50",
                        );
 
 my $hostname_valid_reverse = getTestParameter(
                        "NP_HOSTNAME_VALID_REVERSE",
                        "The hostname of $hostname_valid_ip",
-                       $hostname_valid."."
+                       "66-118-156-50.static.sagonet.net.",
                        );
 
 my $hostname_invalid = getTestParameter(