SOURCES: nagios-plugins-path.patch (NEW) - change path for config ...

wolvverine wolvverine at pld-linux.org
Thu Mar 15 13:04:44 CET 2007


Author: wolvverine                   Date: Thu Mar 15 12:04:44 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- change path for config file and check_dns

---- Files affected:
SOURCES:
   nagios-plugins-path.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/nagios-plugins-path.patch
diff -u /dev/null SOURCES/nagios-plugins-path.patch:1.1
--- /dev/null	Thu Mar 15 13:04:44 2007
+++ SOURCES/nagios-plugins-path.patch	Thu Mar 15 13:04:38 2007
@@ -0,0 +1,15 @@
+diff -uNr nagios-plugins-1.4.6.orig/contrib/check_dns_random.pl nagios-plugins-1.4.6/contrib/check_dns_random.pl
+--- nagios-plugins-1.4.6.orig/contrib/check_dns_random.pl	2003-01-29 05:27:20.000000000 +0000
++++ nagios-plugins-1.4.6/contrib/check_dns_random.pl	2007-03-15 11:58:46.000000000 +0000
+@@ -33,9 +33,9 @@
+ 
+ my $host = shift || &usage;
+ 
+-my $domainfile = "/usr/local/nagios/etc/domains.list";
++my $domainfile = "/etc/nagios/domains.list";
+ my $wc = `/usr/bin/wc -l $domainfile`;
+-my $check = "/usr/local/nagios/libexec/check_dns";
++my $check = "/usr/lib/nagios/plugins/check_dns";
+ my $x = 0;
+ my $srv_file = "";
+ my $z = "";
================================================================


More information about the pld-cvs-commit mailing list