[Nagiosplug-devel] Required improvements in check_disk

Mithun Gaikwad mithun.gaikwad at gmail.com
Tue Apr 17 06:22:01 CEST 2012


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 at 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 at localhost libexec]# touch /svn/testfile

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

[root at 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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20120417/714039c3/attachment.html>


More information about the Devel mailing list