Package: nagios-plugins Version: 1.4-2 Severity: normal [EMAIL PROTECTED]: ~ $ /usr/lib/nagios/plugins/check_disk -V check_disk (nagios-plugins 1.4) 1.56 [EMAIL PROTECTED]: ~ $ df Filesystem 1K-blocks Used Available Use% Mounted on [...] /dev/hde6 2883672 1689180 1048008 62% /var [EMAIL PROTECTED]: ~ $ ls -lad /var/log drwxr-xr-x 11 root root 4096 2005-02-21 09:33 /var/log [EMAIL PROTECTED]: ~ $ /usr/lib/nagios/plugins/check_disk -p /var DISK OK - free space: /var 1023 MB (36%);| /var=1793MB;2816;2816;0;2816 [EMAIL PROTECTED]: ~ $ /usr/lib/nagios/plugins/check_disk -p /var/log DISK CRITICAL - free space:| [/var/log not found]
Whereas the check_disk plugin prior to 1.4 returned its values for any directory below /var. (Prior to 1.4, the plugin parsed the output of df. Now it uses its own routines to determine paths.) -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (50, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.4.27-2-686-smp Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages nagios-plugins depends on: ii bind9-host [host] 1:9.2.4-1 Version of 'host' bundled with BIN ii dnsutils 1:9.2.4-1 Clients provided with BIND ii fping 2.4b2-to-ipv6-10 sends ICMP ECHO_REQUEST packets to ii iputils-ping [ping] 3:20020927-2 Tools to test the reachability of ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libldap2 2.1.30-3 OpenLDAP libraries ii libmysqlclient12 4.0.23-7 mysql database client library ii libnet-snmp-perl 5.0.1-1 Script SNMP connections ii libpq3 7.4.7-2 PostgreSQL C client library ii libssl0.9.7 0.9.7e-3 SSL shared libraries ii ntp 1:4.2.0a+stable-2 Network Time Protocol: network uti ii ntp-simple 1:4.2.0a+stable-2 Network Time Protocol: daemon for ii ntpdate 1:4.2.0a+stable-2 The ntpdate client for setting sys ii procps 1:3.2.5-1 /proc file system utilities ii qstat 2.7-1 Command-line tool for querying qua ii radiusclient1 0.3.2-8 /bin/login replacement which uses ii smbclient 3.0.10-1 a LanManager-like simple client fo ii snmp 5.1.2-6 NET SNMP (Simple Network Managemen -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]