monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does monit check disk usage technically?


From: Martin Pala
Subject: Re: How does monit check disk usage technically?
Date: Fri, 31 Aug 2007 23:25:48 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070802 Iceape/1.1.4 (Debian-1.1.4-1)

Monit uses the system's statfs API.

The filesystem usually have some part reserved for superuser (ca. 5% on other unixes).

What's your supposed disk usage (difference between monit and other tools report?)

Thanks,
Martin


Sergio Trejo wrote:
Hello again,

I just edited a monit configuration file which monitors devices (disc volumes) on my Mac server running Mac OS X 10.4.10. The discs attached are the HFS+ file system types (standard for Apple).

My device entry in the monit configuration file looks like this:

check device SomeDiscName with path /dev/disk1
     if space usage > 90% then alert

What's interesting is that I'm getting alerts for my device checks even though I know for sure (using some of the BSD tools that Apple bundles with Mac OS X) that my disc space is much much less than 90% usage. Monit is sending me alerts in email that look like this:

    SomeDiscName Resource limit matched at Fri, 31 Aug 2007 17:30:35 +0000


And the corresponding log entry looks like this:

    [ Aug 31 17:30:35] error    : 'SomeDiscName' space usage 100.0%
    matches resource limit [space usage>90.0%]


Should I not be using monit for monitoring disc device space use and/or inode use on Mac systems with HFS+ file system types?

Thanks again,

Serg


------------------------------------------------------------------------

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

[Prev in Thread] Current Thread [Next in Thread]