Browse Source

Update 002_notifications.md

Stefan Pejcic 1 year ago
parent
commit
8fd3aff463
1 changed files with 39 additions and 0 deletions
  1. 39 0
      documentation/docs/admin/002_notifications.md

+ 39 - 0
documentation/docs/admin/002_notifications.md

@@ -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: