Notifications
Notifications are accesible from the notification icon in upper right corner.
OpenPanel records the following actions:
- server reboot
- service is inactive
- update is available
- admin login from new ip address
- ssh login from new ip address
- high memory usage
- high average load
- high cpu usage
- high disk usage
- high swap usage
- dns changed
Each notification type can be disabled and treshold limits can be set by the Admin user.
- With OpenAdmin
- With OpenCLI
To view current notification settings, click on the bell icon in the top menu. You can view the current settings, and modify them.
To view current notification settings run:
opencli admin notifications get <OPTION>
Example:
# opencli admin notifications get reboot
yes
To change the notification settings run:
opencli admin notifications update <OPTION> <NEW-VALUE>
Example:
opencli admin notifications update load 10
Updated load to 10
Example notifications:
On Server Reboot
If service is inactive:
If CPU usage is over a treshold:
If new version of OpenPanel is available:
If Memory usage is over a treshold:
If system is running out of disk space:
Email alerts
To receive email alerts, simply add your email address to the 'Email for notifications' field or leave it empty to disable email alerts.
If enabled, by default OpenPanel will send email alerts from noreply@openpanel.co
To configure your own SMTP for email delivery, you need to update values:
- mail_server - your domain or ip where email is hosted
- mail_port - outgoing smtp port (default is 465)
- mail_use_tls - default is False
- mail_use_ssl - default is True
- mail_username - email address to use for sending
- mail_password - password for email address
- mail_default_sender - email to display, defauls is same as mail_username
Each value is configured using opencli config update
option. examples:
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 stefan@example.net
opencli config update mail_password strongpass1231
opencli config update mail_default_sender stefan@example.net
Daily Usage Reports
If email alerts are enabled, you will also receive Usage Reports: