check_disk output
Daniel Bareiro <[email protected]> Mon, 16 Sep 2013 19:02:40 -0300
| Newsgroups | gmane.network.nagios.user |
|---|---|
| Message-ID | <[email protected]> |
--===============2948492402575348907== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i7F3eY7HS/tUJxUd" Content-Disposition: inline --i7F3eY7HS/tUJxUd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 /drb= d/ DISK OK - free space: / 796 MB (23% inode=3D69%); /drbd 9094 MB (94% inode= =3D96%);| /=3D2575MB;2840;3195;0;3551 /drbd=3D482MB;8071;9080;0;10089 This is the configuration that I have in /usr/local/nagios/etc/nrpe.cfg: command[check_disk]=3D/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=F1o Usados Dis= p 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 --=20 Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 --i7F3eY7HS/tUJxUd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAlI3gAAACgkQZpa/GxTmHTc2CgCdF6m1/EKPxk11cKk+6eomMDns Ih8AoJcM8IkgmGJWCizf0P7foep1iPC+ =jAPf -----END PGP SIGNATURE----- --i7F3eY7HS/tUJxUd-- --===============2948492402575348907== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ 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 --===============2948492402575348907== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nagios-users mailing list [email protected] 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 --===============2948492402575348907==--