From: Tollef Fog Heen Date: Fri, 10 Feb 2012 20:36:37 +0000 (+0100) Subject: Make the unowned files check skip /proc X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=bebe0ea0397defe05fb58fac830fda868ee11d5e;p=mirror%2Fdsa-nagios.git Make the unowned files check skip /proc --- diff --git a/dsa-nagios-checks/debian/changelog b/dsa-nagios-checks/debian/changelog index ac49963..a0b2a95 100644 --- a/dsa-nagios-checks/debian/changelog +++ b/dsa-nagios-checks/debian/changelog @@ -9,6 +9,9 @@ dsa-nagios-checks (9X) Xnstable; urgency=low * dsa-check-statusfile: change shebang from ruby to python and fix syntax errors. + [ Tollef Fog Heen ] + * Make the unowned files check skip /proc. + -- Peter Palfrader Wed, 08 Feb 2012 15:36:05 +0100 dsa-nagios-checks (90) unstable; urgency=low diff --git a/dsa-nagios-checks/sbin/dsa-update-unowned-file-status b/dsa-nagios-checks/sbin/dsa-update-unowned-file-status index 746d3b2..9220888 100755 --- a/dsa-nagios-checks/sbin/dsa-update-unowned-file-status +++ b/dsa-nagios-checks/sbin/dsa-update-unowned-file-status @@ -17,4 +17,4 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA -find / -nouser > /var/cache/dsa/nagios/nouser +find / -path /proc -prune -o -nouser > /var/cache/dsa/nagios/nouser