monit-general
[Top][All Lists]
Advanced

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

RES: Error checking space


From: Alexandre Carlos Vilarinho de Oliveira
Subject: RES: Error checking space
Date: Fri, 5 Oct 2012 15:42:59 -0300

Noel,

 

Tks for the explanation.

 

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

 

De: address@hidden [mailto:address@hidden Em nome de Noel
Enviada em: sexta-feira, 5 de outubro de 2012 15:34
Para: address@hidden
Assunto: Re: Error checking space

 

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]