[From nobody Wed Nov  4 15:55:06 2026
Received: (at submit) by bugs.debian.org; 2 May 2008 12:47:04 +0000
X-Spam-Checker-Version: SpamAssassin 3.1.4-bugs.debian.org_2005_01_02 
 (2006-07-26) on rietz.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-9.9 required=4.0 tests=BAYES_00, FOURLA, HAS_PACKAGE 
 autolearn=no version=3.1.4-bugs.debian.org_2005_01_02
Return-path: &lt;Stephane.Chazelas@emerson.com&gt;
Received: from exprod7og109.obsmtp.com ([64.18.2.171])
 by rietz.debian.org with esmtp (Exim 4.63)
 (envelope-from &lt;Stephane.Chazelas@emerson.com&gt;) id 1JrufI-0000SD-Lk
 for submit@bugs.debian.org; Fri, 02 May 2008 12:47:04 +0000
Received: from source ([67.96.16.11]) (using TLSv1) by
 exprod7ob109.postini.com ([64.18.6.12]) with SMTP; 
 Fri, 02 May 2008 05:47:03 PDT
Received: from ETSMSG-CINAV06.etsmsg.org ([65.90.82.49]) by
 naout-cinexs01.nasmtpout.emrsn.com with Microsoft SMTPSVC(6.0.3790.3959); 
 Fri, 2 May 2008 08:48:23 -0400
Received: from ETSMSG-CINEXS01.etsmsg.org ([65.90.82.49]) by
 ETSMSG-CINAV06.etsmsg.org with InterScan Message Security Suite;
 Fri, 02 May 2008 08:47:03 -0400
Received: from etsmsg-cinexs04.etsmsg.org ([65.90.82.28]) by
 ETSMSG-CINEXS01.etsmsg.org with Microsoft SMTPSVC(6.0.3790.3959); 
 Fri, 2 May 2008 08:47:02 -0400
Received: from ant.artesyncp.com ([65.90.82.49]) by etsmsg-cinexs04.etsmsg.org
 with Microsoft SMTPSVC(6.0.3790.3959); 
 Fri, 2 May 2008 08:47:02 -0400
Received: from stephane by ant.artesyncp.com with local (Exim 4.69)
 (envelope-from &lt;stephane@artesyncp.com&gt;)
 id 1JrufF-0008N2-S5; Fri, 02 May 2008 13:47:01 +0100
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Stephane Chazelas &lt;stephane@artesyncp.com&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: nagios-plugins: check_disk wrongly treats devices as being NFS shares
Message-ID: &lt;20080502124701.29645.62238.reportbug@ant.artesyncp.com&gt;
X-Mailer: reportbug 3.39-0.1
Date: Fri, 02 May 2008 13:47:01 +0100
X-OriginalArrivalTime: 02 May 2008 12:47:02.0656 (UTC)
 FILETIME=[9E804000:01C8AC52]
Delivered-To: submit@bugs.debian.org

Package: nagios-plugins
Version: 1.4.11-2
Severity: normal


Hiya,

check_disk -l or -L

is meant to check only the local file systems, so it excludes
the NFS mounted ones.

But to do so, it checks whether the &quot;mount device&quot; contains a
&quot;:&quot; instead of checking the filesystem type.

For instance, that means that it won't check filesystems on
local devices that have &quot;:&quot; in their path. Example:
/dev/mapper/vol-snaphost-2008-04-30-08:00:00

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24.2
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios-plugins depends on:
ii  nagios-plugins-basic          1.4.11-2   Plugins for the nagios network mon
ii  nagios-plugins-standard       1.4.11-2   Plugins for the nagios network mon

nagios-plugins recommends no packages.

-- no debconf information


]