In short
Run the commands as root on the server.
Commands
| Command | Description |
|---|---|
clisec-agent | Shows the protection status. |
clisec-agent --status | Shows the status in JSON. |
clisec-agent --check-license | Verifies the license. |
clisec-agent --disable | Suspends protection. |
clisec-agent --enable | Resumes protection. |
clisec-agent --self-update | Updates Clisec. It also updates itself. |
clisec-agent --uninstall | Uninstalls Clisec. |
clisec-agent --help | Shows the help. |
Add --lang=es to any command to see the messages in Spanish.
JSON status
To show the status in a panel or a monitoring tool.
$ clisec-agent --status
{
"schema": 1,
"protection": "active",
"filtering_enabled": true,
"platform": "cpanel",
"agent_version": "2.6.1",
"hostname": "mail.example.com",
"license": "valid",
"dashboard_url": "https://app.clisec.cl",
"checked_at": "2026-10-28T15:00:00Z"
}| Field | Values |
|---|---|
protection | active, inactive, license_invalid, not_installed or unsupported. |
license | valid, slots_full, invalid, missing or unknown. |
platform | cpanel or adminbolt. |
The command exits with code 0 when protection is active and 1 otherwise.