[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 01/01: check-libs: Use lsof -nP

Bernd Zeimetz bernd at bzed.de
Tue Aug 5 11:06:17 UTC 2014


This is an automated email from the git hooks/post-receive script.

bzed pushed a commit to branch master
in repository pkg-nagios-plugins-contrib.

commit a17936371c563a53ba1305aad8f5c58e5d571361
Author: Bernd Zeimetz <bernd at bzed.de>
Date:   Tue Aug 5 13:06:03 2014 +0200

    check-libs: Use lsof -nP
---
 debian/patches/check_libs/lsof-nP | 11 +++++++++++
 debian/patches/series             |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/check_libs/lsof-nP b/debian/patches/check_libs/lsof-nP
new file mode 100644
index 0000000..189ffdf
--- /dev/null
+++ b/debian/patches/check_libs/lsof-nP
@@ -0,0 +1,11 @@
+--- a/check_libs/nagios-check-libs
++++ b/check_libs/nagios-check-libs
+@@ -29,7 +29,7 @@ use Getopt::Long;
+ $ENV{'PATH'} = '/bin:/sbin:/usr/bin:/usr/sbin';
+ delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
+ 
+-my $LSOF = '/usr/bin/lsof -F0';
++my $LSOF = '/usr/bin/lsof -nPF0';
+ my $VERSION = '0.2012042101';
+ 
+ # nagios exit codes
diff --git a/debian/patches/series b/debian/patches/series
index b6a8e63..d12da34 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+check_libs/lsof-nP
 check_ajp/return_critical_on_failed_connection
 check_backuppc/use_nagios_plugins
 check_clamav/clamav_locations

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins-contrib



More information about the Pkg-nagios-changes mailing list