[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 04/05: check_libs: Updateing to 0.2015012901

Jan Wagner waja at moszumanska.debian.org
Sat Apr 16 15:34:57 UTC 2016


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

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

commit cd5eacf4faa9f81ec82d57befd44bf6d623c7e26
Author: Jan Wagner <waja at cyconet.org>
Date:   Sat Apr 16 16:30:19 2016 +0200

    check_libs: Updateing to 0.2015012901
---
 check_libs/control                             | 6 +++---
 check_libs/nagios-check-libs                   | 6 +++---
 debian/patches/check_libs/lsof-speedup         | 2 +-
 debian/patches/check_libs/space_before_deleted | 2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/check_libs/control b/check_libs/control
index f9c1f70..96b590e 100644
--- a/check_libs/control
+++ b/check_libs/control
@@ -1,7 +1,7 @@
-Homepage: https://www.palfrader.org/gitweb/?p=tools/monitoring.git
-Watch: https://www.palfrader.org/gitweb/?p=tools/monitoring.git;a=blob_plain;f=nagios-checks/nagios-check-libs;hb=HEAD SHA1:50c0d3f090de591f33ab5b3834d54483f1694c70
+Homepage: https://gitweb.noreply.org/tools/monitoring.git/
+Watch: https://gitweb.noreply.org/tools/monitoring.git/plain/nagios-checks/nagios-check-libs VERSION = '([0-9.]+)';
 Uploaders: Bernd Zeimetz <bzed at debian.org>
 Description: plugin to report the usage of no longer existing
  libraries by running processes
 Recommends: lsof, libyaml-syck-perl
-Version: 520
+Version: 0.2015012901 
diff --git a/check_libs/nagios-check-libs b/check_libs/nagios-check-libs
index 4406413..89d7f3a 100644
--- a/check_libs/nagios-check-libs
+++ b/check_libs/nagios-check-libs
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 
-# Copyright (C) 2005, 2006, 2007, 2008, 2012 Peter Palfrader <peter at palfrader.org>
+# Copyright (C) 2005, 2006, 2007, 2008, 2012, 2015 Peter Palfrader <peter at palfrader.org>
 #               2012 Uli Martens <uli at youam.net>
 #
 # Permission is hereby granted, free of charge, to any person obtaining
@@ -30,7 +30,7 @@ $ENV{'PATH'} = '/bin:/sbin:/usr/bin:/usr/sbin';
 delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
 
 my $LSOF = '/usr/bin/lsof -F0';
-my $VERSION = '0.2012042101';
+my $VERSION = '0.2015012901';
 
 # nagios exit codes
 my $OK = 0;
@@ -169,7 +169,7 @@ LINE: for my $line (@lsof)  {
 	my $fd    = $fields{f};
 	my $inode = $fields{i};
 	my $path  = $fields{n};
-	if ($path =~ m/\.dpkg-/ || $path =~ m/\(deleted\)/ || $path =~ /path inode=/ || $fd eq 'DEL') {
+	if ($path =~ m/\.dpkg-/ || $path =~ m/\(deleted\)/ || $path =~ /path inode=/ || $path =~ m#/\.nfs# || $fd eq 'DEL') {
 		$path =~ s/^\(deleted\)//; # in some cases "(deleted)" is at the beginning of the string
 		for my $i (@{$config->{'ignorelist'}}) {
 			my $ignore = eval($i);
diff --git a/debian/patches/check_libs/lsof-speedup b/debian/patches/check_libs/lsof-speedup
index 5315e6b..925aed4 100644
--- a/debian/patches/check_libs/lsof-speedup
+++ b/debian/patches/check_libs/lsof-speedup
@@ -6,7 +6,7 @@
  
 -my $LSOF = '/usr/bin/lsof -F0';
 +my $LSOF = '/usr/bin/lsof -nPF0 -a +L1';
- my $VERSION = '0.2012042101';
+ my $VERSION = '0.2015012901';
  
  # nagios exit codes
 @@ -141,12 +141,12 @@ sub inVserver() {
diff --git a/debian/patches/check_libs/space_before_deleted b/debian/patches/check_libs/space_before_deleted
index da935e8..0840d48 100644
--- a/debian/patches/check_libs/space_before_deleted
+++ b/debian/patches/check_libs/space_before_deleted
@@ -4,7 +4,7 @@ diff -Nur a/check_libs/nagios-check-libs b/check_libs/nagios-check-libs
 @@ -170,7 +170,7 @@
  	my $inode = $fields{i};
  	my $path  = $fields{n};
- 	if ($path =~ m/\.dpkg-/ || $path =~ m/\(deleted\)/ || $path =~ /path inode=/ || $fd eq 'DEL') {
+ 	if ($path =~ m/\.dpkg-/ || $path =~ m/\(deleted\)/ || $path =~ /path inode=/ || $path =~ m#/\.nfs# || $fd eq 'DEL') {
 -		$path =~ s/^\(deleted\)//; # in some cases "(deleted)" is at the beginning of the string
 +		$path =~ s/^ ?\(deleted\)//; # in some cases "(deleted)" is at the beginning of the string
  		for my $i (@{$config->{'ignorelist'}}) {

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



More information about the Pkg-nagios-changes mailing list