[Pkg-nagios-devel] Bug#665345: path in check_email_delivery
Tom Jampen
tom at cryptography.ch
Fri Mar 23 10:16:50 UTC 2012
Package: nagios-plugins-contrib
Severity: normal
Tags: patch
I think the attached patch resolves this bug.
Regards,
Tom
-------------- next part --------------
Author: Tom Jampen <tom at cryptography.ch>
Description:
Patches check_email_delivery and check_email_delivery_epn to use debian
specific paths.
diff -Naurp a/check_email_delivery/src/check_email_delivery b/check_email_delivery/src/check_email_delivery
--- a/check_email_delivery/src/check_email_delivery 2012-03-23 10:52:40.149807290 +0100
+++ b/check_email_delivery/src/check_email_delivery 2012-03-23 10:53:23.509932557 +0100
@@ -61,7 +61,7 @@ my $default_warn = 15;
my $default_wait = 5;
my $default_timeout = 60;
my $time_hires = "";
-my $libexec = "/usr/local/nagios/libexec";
+my $libexec = "/usr/lib/nagios/plugins";
my $ok;
$ok = Getopt::Long::GetOptions(
"V|version"=>\$show_version,
diff -Naurp a/check_email_delivery/src/check_email_delivery_epn b/check_email_delivery/src/check_email_delivery_epn
--- a/check_email_delivery/src/check_email_delivery_epn 2012-03-23 10:52:40.149807290 +0100
+++ b/check_email_delivery/src/check_email_delivery_epn 2012-03-23 10:53:42.325986779 +0100
@@ -61,7 +61,7 @@ my $default_warn = 15;
my $default_wait = 5;
my $default_timeout = 60;
my $time_hires = "";
-my $libexec = "/usr/local/nagios/libexec";
+my $libexec = "/usr/lib/nagios/plugins";
my $ok;
$ok = Getopt::Long::GetOptions(
"V|version"=>\$show_version,
More information about the Pkg-nagios-devel
mailing list