Does anyone here have a configuration example for Openlitespeed to use in the Linux monitoring app Monit?
I will answer my own question for others.
check process OpenLitespeed with pidfile /tmp/lshttpd/lshttpd.pid
start program = "/usr/local/lsws/bin/lswsctrl start"
stop program = "/usr/local/lsws/bin/lswsctrl stop"
if cpu usage > 25% for 5 cycles then alert
if failed host MyDomainName.com port 80 protocol http then alert
I will answer my own question for others.
check process OpenLitespeed with pidfile /tmp/lshttpd/lshttpd.pid
start program = "/usr/local/lsws/bin/lswsctrl start"
stop program = "/usr/local/lsws/bin/lswsctrl stop"
if cpu usage > 25% for 5 cycles then alert
if failed host MyDomainName.com port 80 protocol http then alert
Last edited: