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
<https://mailtrack.io/trace/link/894f36bf2870411b65885be120c970a780ec77b1?url=https%3A%2F%2Fmmonit.com%2Fmonit%2Fdocumentation%2Fmonit.html%23Process&userId=977006&signature=943504e7a0339701>
says
that his is correct, but the service gives:
* Starting daemon monitor monit
/etc/monit/monitrc:100: syntax error 'total cpu'
Roland
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general