Merge pull request #47284 from skjaro/beacon_diskusage_doc_fix

Fix beacon diskusage documentation for the new beahavior mentioned in issue #47267
This commit is contained in:
Nicole Thomas 2018-04-25 09:52:29 -04:00 committed by GitHub
commit 6215a995d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,8 +63,8 @@ def beacon(config):
beacons:
diskusage:
- interval: 120
- 'c:\': 90%
- 'd:\': 50%
- 'c:\\': 90%
- 'd:\\': 50%
Regular expressions can be used as mount points.
@ -73,7 +73,7 @@ def beacon(config):
beacons:
diskusage:
- '^\/(?!home).*$': 90%
- '^[a-zA-Z]:\$': 50%
- '^[a-zA-Z]:\\$': 50%
The first one will match all mounted disks beginning with "/", except /home
The second one will match disks from A:\ to Z:\ on a Windows system