Notifications
Configure OpenAdmin notifications and Email alerts settings.
- With OpenAdmin
- With OpenCLI
To view or edit current notification settings, go to OpenAdmin > Settings > Notifications or click the 'Edit Settings' button on the Notification page.
To view notification settings, run:
opencli admin notifications get <OPTION>
Example:
# opencli admin notifications get reboot
yes
To update notification settings, run:
opencli admin notifications update <OPTION> <NEW-VALUE>
Example:
opencli admin notifications update load 10
Updated load to 10
Email​
To receive email alerts, enter your email address in the Email for notifications field. Leave it empty to disable email alerts.
Providing an email will also enable daily Usage Reports:
Services​
Receive notifications when services are down or unresponsive. Services are checked every 5 minutes.
- OpenPanel: Notification if OpenPanel UI fails.
- OpenAdmin: Notification if OpenAdmin UI fails.
- Caddy: Notification if webserver is not responding.
- MySQL: Notification if database is unreachable.
- Docker: Notification if Docker service is down.
- BIND9: Notification if DNS service is down or unresponsive.
- ConfigServer Firewall: Notification if CSF is disabled.
Resource Usage​
Get alerts when resource usage exceeds thresholds (checked every 5 minutes):
- Load Average
- CPU %
- RAM %
- Disk Usage %
- SWAP %
Actions​
Receive notifications when specific actions occur:
- Server rebooted
- Website under attack
- User reaches plan limit
- OpenAdmin accessed from a new IP address
- New OpenPanel update available
SMTP Settings​
By default, email alerts are sent from noreply@openpanel.com
.
To use your own SMTP server for email delivery, configure the following:
- With OpenAdmin
- With OpenCLI
Configure each value via opencli config update
commands, for example:
opencli config update mail_server example.net
opencli config update mail_port 465
opencli config update mail_use_tls False
opencli config update mail_use_ssl True
opencli config update mail_username user@example.net
opencli config update mail_password strongpassword123
opencli config update mail_default_sender user@example.net