From d3db57b869d82196aa1630a2862c78ae3557ca87 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 21 Aug 2008 07:57:45 +0000 Subject: Ignore files in /var/tmp git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@365 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- nagios-check-libs | 1 + 1 file changed, 1 insertion(+) (limited to 'nagios-check-libs') diff --git a/nagios-check-libs b/nagios-check-libs index 860669d..dea848b 100755 --- a/nagios-check-libs +++ b/nagios-check-libs @@ -95,6 +95,7 @@ for my $line (@lsof) { if ($line =~ m/\.dpkg-/ || $line =~ m/path inode=/) { my ($process, $pid, $user, undef, undef, undef, undef, $path, $rest) = split /\s+/, $line; next if $path =~ m#^/proc/#; + next if $path =~ m#^/var/tmp/#; next if ($INVSERVER && ($process eq 'init') && ($pid == 1) && ($user eq 'root')); #$processes{$user}->{$process} = [] unless defined $processes{$user}->{$process}; $processes{$user}->{$process}->{$pid} = 1; -- cgit v1.2.3