summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnagios-check-libs1
1 files changed, 1 insertions, 0 deletions
diff --git a/nagios-check-libs b/nagios-check-libs
index 3bfd837..1ad3458 100755
--- a/nagios-check-libs
+++ b/nagios-check-libs
@@ -116,6 +116,7 @@ for my $line (@lsof) {
next if $path =~ m#^/proc/#;
next if $path =~ m#^/var/tmp/#;
next if $path =~ m#^/SYS#;
+ next if $path =~ m#^/dev/zero#;
next if ($INVSERVER && ($process eq 'init') && ($pid == 1) && ($user eq 'root'));
#$processes{$user}->{$process} = [] unless defined $processes{$user}->{$process};
$processes{$user}->{$process}->{$pid} = 1;