monit-general
[Top][All Lists]
Advanced

[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 secure.xxx.com
    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 https://mmonit.com/monit/documentation/monit.html#Process says that his is correct, but the service gives:

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

Roland

reply via email to

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