Required improvements in check_disk

Mithun Gaikwad <[email protected]>
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <CAO3ginxbFTJSPAwXpSBCwbbuoi7PzM2v6TSSHa3DKp9efr9YVA@mail.gmail.com>
Hi Team,

Is it possible to have check the disk is Read-Only or Red-Write.

In below case, I cannot monitor the disk is in writable mode or not with
check_disk and I want to single check for all this errors.

*e.g. :*

[root@localhost libexec]# ./check_disk -w 20% -c 5% -p /svn

DISK OK - free space: /svn 95166 MB (99% inode=99%);|
/svn=506MB;80634;95753;0;100793

[root@localhost libexec]# touch /svn/testfile

touch: cannot touch `/svn/testfile': Read-only file system

[root@localhost libexec]# mount |grep /svn

/dev/mapper/VolGroup01-svn on /svn type ext3 (rw)



So, error can be - CRITICAL:Disk /svn is mounted but unable to write on the
disk.


Thanks,

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.