[Top][All Lists]

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

Re: [monit] technical difference between file and device in check statem

From: Martin Pala
Subject: Re: [monit] technical difference between file and device in check statement
Date: Tue, 30 Sep 2008 18:20:05 +0200

Yes - the "check device" serves for filesystem monitoring (hence it was renamed to "check filesystem" in monit-5.0). The set of available tests is difference (although some are shared as for example uid/gid test in case the device check uses device or mountpoint which allows to check the permissions) ... in case of "check device" you can use for example "if space usage > ... then action" test - this test is not available with "check file".

If you'll use normal file as device/filesystem path, the device/ filesystem check may try to find the filesystem where this file is stored and thus you won't monitor the file itself but the filesystem.

See Monit manual for details:


On Sep 30, 2008, at 6:08 PM, Julian Thomé wrote:


Is there a technical difference between using "check file" and "check device" in the special
case that the path points to a regular file ?

for example something like this (bsp.txt is a regular file) :

check file TEXTFILE with path /home/user/bsp.txt
  start = ...
  stop = ...

check device TEXTFILE with path /home/user/bsp.txt
  start = ...
  stop = ...

Thank you in advance
Julian Thomé

Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:

To unsubscribe:

reply via email to

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