monit-general
[Top][All Lists]
Advanced

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

Re: Error checking space


From: Noel
Subject: Re: Error checking space
Date: Fri, 05 Oct 2012 13:34:09 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1

The space usage test must be within a "check device" statement.

such as:
check device tmpfs path /dev/mfid0s1e
   if space usage  >  80%  then alert




On 10/5/2012 1:18 PM, Alexandre Carlos Vilarinho de Oliveira wrote:

Hello all,

 

Currently I´m using monit 5.5 to check if the hd space, using the command below:

 

if space usage > 80% then exec "/etc/init.d/scriptlimpeza.sh"

 

After we start monit it shows the following error:

 

proxy:~# /etc/init.d/monit restart

Stopping daemon monitor: monit.

Starting daemon monitor: monit/usr/local/monit-5.5/etc/monitrc:96: Error: syntax error 'space'

failed!

proxy:~#

 

I´ve checked the monit website and the command above is correct, can someone help please.

 

Atenciosamente

 

Alexandre Vilarinho
Gerente de Engenharia de Rede IP/TI
Tel.: (55 11) 3017-4683
Cel.: (55 11) 7757-8388
Fax: (55 11) 3017-4464

address@hidden

www.neovia.com.br
----------------------------
Descrição:
                    http://www.neovia.com.br/assinaturas/assinatura.gif



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


reply via email to

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