Litespeed Plugin
This plugin monitors a LiteSpeed webserver.
Dependencies
This plugin requires the requests
module. To add that module, run the pip3 install requests
command.
Configure the plugin
To enable the plugin, edit the /etc/agent360-custom.ini
file and add the following lines:
[litespeed]
enabled=yes
host=localhost
port=7080
username=admin
password=pass
Replace admin
with your administrator name and pass
with the administrator's password.
It may be necessary to set a status page password according to LiteSpeed documentation for admin
user:
htpasswd /usr/local/lsws/admin/htpasswds/status admin
.
Test the plugin
To test this plugin, run the agent360 test litespeed
command.
Now you can restart the agent with the service agent360 restart
command.
Updated 4 days ago