[Top][All Lists]

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

"total cpu" gives syntax error

From: Roland Giesler
Subject: "total cpu" gives syntax error
Date: Wed, 17 Jul 2019 17:20:49 +0200

I can't figure out why this line gives an error.

check system
    if total cpu > 95% for 10 cycles then alert

Neither the above, nor the one below works.

 if cpu > 95% for 10 cycles then alert

Running version:
# monit -V
This is Monit version 5.26.0
Built with ssl, with ipv6, with compression, with pam and with large files
Copyright (C) 2001-2019 Tildeslash Ltd. All Rights Reserved.

The documentation at says that his is correct, but the service gives:

 * Starting daemon monitor monit
/etc/monit/monitrc:100: syntax error 'total cpu'


reply via email to

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