check_disk output

Daniel Bareiro daniel-listas at gmx.net
Tue Sep 17 00:02:40 CEST 2013


Hi all!

I am observing the following output on one of my virtual machines:

atlantis:~# /usr/local/nagios/libexec/check_disk -w 20% -c 10% -p / -p /drbd/
DISK OK - free space: / 796 MB (23% inode=69%); /drbd 9094 MB (94% inode=96%);| /=2575MB;2840;3195;0;3551 /drbd=482MB;8071;9080;0;10089


This is the configuration that I have in /usr/local/nagios/etc/nrpe.cfg:

command[check_disk]=/usr/local/nagios/libexec/check_disk -w 15% -c 10% -p / - /drbd


According to the output of the plugin, there is a 23% free, but still
it is returning a WARNING state, which would not be consistent.

This is the output of df, which is also 23% free for /:

atlantis:~# df -h
S.ficheros                                             Tamaño Usados  Disp Uso% Montado en
rootfs                                                   3,5G   2,6G  797M  77% /
udev                                                      10M      0   10M   0% /dev
tmpfs                                                     50M   240K   50M   1% /run
/dev/disk/by-uuid/cbe1a04f-fd01-4ea9-aeb0-3844ad04ccc3   3,5G   2,6G  797M  77% /
tmpfs                                                    5,0M   4,0K  5,0M   1% /run/lock
tmpfs                                                    197M   197M  4,0K 100% /run/shm
/dev/drbd0                                               9,9G   483M  8,9G   6% /drbd


Inconsistency may have to do with the existence of symbolic links to
directories in /drbd?


Thanks in advance for your reply.



Regards,
Daniel
-- 
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Squeeze - Linux user #188.598
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130916/d055eeec/attachment.sig>
-------------- next part --------------
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list