[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Monitoring free space on a device
From: |
Bernd Wurst |
Subject: |
Re: Monitoring free space on a device |
Date: |
Tue, 07 Aug 2012 17:38:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
Hi.
Am 07.08.2012 14:45, schrieb Martin Pala:
> Yes, it's possible:
> if space usage > 15 gb then alert
> See the manual for full syntax:
> http://www.mmonit.com/monit/documentation/monit.html#space_testing
This does not work for me.
The output of "df -h":
/dev/mapper/vg0-home 215G 183G 22G 90% /home
Monit says with the line given above:
space usage 47829432 blocks matches resource limit [space usage>6553589
blocks]
I read the documentation but I thought this monitors the space used
("space usage") and not the free space. That also is what the monit
alert message says. I need to configure a fixed amount of free space,
regardless how big the file system is.
(It would be great if one could monitor both: Some spool/temp partition
should propably be alerted when it gets over a fixed amount of used space.)
- Bernd
signature.asc
Description: OpenPGP digital signature