2

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).

kev
  • 261
  • 1
  • 5
  • 13

1 Answers1

4

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

ewwhite
  • 194,921
  • 91
  • 434
  • 799
  • 3
    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. – kev Jan 23 '14 at 03:19