Re: [Nagios-users] question about check_disk

2012-01-20 Thread Jeffrey Watts
You have it backwards. 'df' says 24% used, not remaining. 'check_disk' shows how much is remaining (76% and 99% in this case). I've never liked how check_disk displays its results by default, most Unix tools show as a primary metric how much of a resource is used and not how much is remaining.

[Nagios-users] question about check_disk

2012-01-20 Thread Ensing, Harm
Hi, Please help See this output: $ df -h /S00022_BACKUP Filesystem size used avail capacity Mounted on S00022_BACKUP 2.6T94G 307G24%/S00022_BACKUP $ plugins/check_disk -E -w 20% -c 10% -W 10% -K 8% -u MB -p /S00022_BACKUP DISK OK - free space: /S00022_BACKU

Re: [Nagios-users] Question about check_disk "-L" option

2011-05-10 Thread Yueh-Hung Liu
i think check_disk, if has "-L", will expect that at least one local disk is available with any remote one. On Tue, May 10, 2011 at 9:53 PM, Dave Wallis wrote: > Yueh-Hung Liu wrote: >> it's not an error, you specify to check /usr/local only and it's a >> remote fs, so no local fs will be checke

Re: [Nagios-users] Question about check_disk "-L" option

2011-05-10 Thread Dave Wallis
Yueh-Hung Liu wrote: > it's not an error, you specify to check /usr/local only and it's a > remote fs, so no local fs will be checked and the "-L" option just > test the access to nfs. > I should have included that the check_disk plugin using the "-L" option returns the value 3, which indicate

Re: [Nagios-users] Question about check_disk "-L" option

2011-05-09 Thread Yueh-Hung Liu
it's not an error, you specify to check /usr/local only and it's a remote fs, so no local fs will be checked and the "-L" option just test the access to nfs. On Tue, May 10, 2011 at 1:08 AM, Dave Wallis wrote: > On Red Hat 6 clients, I need to monitor some NFS mount points for conditions > like

[Nagios-users] Question about check_disk "-L" option

2011-05-09 Thread Dave Wallis
On Red Hat 6 clients, I need to monitor some NFS mount points for conditions like stale NFS file handles. The "check_disk" plugin describes the "-L" (--stat-remote-fs) option as providing this functionality. However, either I'm not understanding how the option works, or it's not working properl