You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
started working on disk size warning on controller level (#2662)
* started working on disk size warning on controller level
- closes#2432
* generate notification if not enough disk space left
* added the actual notification in io-pack + readme
* update import after esm port
* execute df -k on root dir to get correct disk space in all cases for linux and macos
* try to fix redis install macos
Copy file name to clipboardExpand all lines: README.md
+31-3Lines changed: 31 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,30 @@ or
71
71
The main configuration is stored in `iobroker-data/iobroker.json`. Normally, there is no need to edit this file because the ioBroker CLI commands can control most of the settings.
@@ -349,7 +373,7 @@ All of this helps me to provide an error-free smart home system that basically n
349
373
If you want to disable the error reporting, you can do this by setting the state "system.host.NAME.plugins.sentry.enabled" to false. You should see a log message stating that sentry was disabled. After disabling the plugin no crashes from your system are reported and so cannot be fixed without reporting them by yourself manually!
350
374
351
375
### Notification System
352
-
**Feature status:**Technology preview since js-controller 3.2.0
376
+
**Feature status:**Stable since js-controller 5.0.0
353
377
354
378
The notification system in ioBroker allows setting, detecting and storing notifications per Host and allows querying the details.
355
379
@@ -471,6 +495,12 @@ The message needs to take the following parameters in the message object:
471
495
472
496
All three are optional and can be a string or null/undefined if ommited.
473
497
498
+
### Disk space warnings
499
+
**Feature status:** New in 6.0.0
500
+
501
+
The js-controller will generate a notification of in the scope `system` and the category `diskSpaceIssues` on warning level, if your free disk space falls under a specified threshold.
502
+
By default, this threshold is 5 % of disk space. Via the state `system.host.<hostname>.diskWarning` you can override this level to any level between `0` and `100`.
503
+
474
504
### Logging
475
505
#### Log levels
476
506
**Feature status:** stable
@@ -995,8 +1025,6 @@ With such a setup, ioBroker will connect to one of these sentinel processes to g
0 commit comments