Update 002_notifications.md

This commit is contained in:
Stefan Pejcic 2024-02-05 16:43:29 +01:00 committed by GitHub
parent b985e03b66
commit 8fd3aff463
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,6 +19,45 @@ OpenPanel records the following actions:
- high cpu usage
- high disk usage
Each notification type can be disabled and treshold limits can be set by the Admin user.
<Tabs>
<TabItem value="openadmin-notifications-view" label="With OpenAdmin" default>
To view current notification settings, click on the bell icon in the top menu.
You can view the current settings, and modify them.
</TabItem>
<TabItem value="CLI-notifications-view" label="With OpenCLI">
To view current notification settings run:
```bash
opencli admin notifications get <OPTION>
```
Example:
```bash
# opencli admin notifications get reboot
yes
```
To change the notification settings run:
```bash
opencli admin notifications update <OPTION> <NEW-VALUE>
```
Example:
```bash
opencli admin notifications update load 10
Updated load to 10
```
</TabItem>
</Tabs>
To confirm receipt of a notification, select the checkmark icon located in front of it. Once a notification is confirmed, subsequent notifications of the same type will be logged if the issue persists. For instance, if a service is unavailable, the system will generate an initial notification. However, if you acknowledge the notification and the service remains unrecovered, the next time the check is executed, it will log another notification.
Example notifications: