Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In the admin interface of M/Monit under Reports -> Analytics I can chose to show Space %.

  1. How can I make the Monit clients submit this info?
  2. Is there a way to display Disk Space percentage on the Status page besides %Cpu and %Mem?

I have found that I can set alerts if disk space is running out (will do that, but would like to have an overview as well).

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You can see this information on the Reports -> Analytics page.

enter image description here

Your Monit config needs to have disk checks for the filesystems you require:

check device root with path /
    if SPACE usage > 80% then alert

check device var with path /var
    if SPACE usage > 80% then alert

check device usr with path /usr
    if SPACE usage > 80% then alert

check device tmp with path /tmp
    if SPACE usage > 80% then alert

There's no way to add disk space to the overview graph. It wouldn't make sense from a design or UI perspective.

enter image description here

share|improve this answer
    
Thx! Quick answer :-) Got it to work. A bit confusing that I have to set an alert to monitor a specific info. Why doesn't it make sense in the UI? It would fit easily in just another column. –  user1252307 Jan 23 at 3:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.