checking filesystem free space

Maurizio Marini <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <CAEEvfULQJtYkYWL17OxYJSO+a9naXt+fThfDmJMULxY8H-dcLg@mail.gmail.com>
Hello
I would check against free space, not against used one.
EG, consider this scenario;
df -h | grep opt
/dev/mapper/centos-opt   313G  290G  7.9G  98% /opt

for this server monit  is reporting 92% used, but I have only 2% free.
I would receive an alarm when free space is under a certain  treshold.
Under 5% it should send alarm., for example.
How can I get it?
Best regards

-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
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.