diff options
| author | HBadertscher <h_badertscher@bluewin.ch> | 2017-11-01 11:21:01 +0100 |
|---|---|---|
| committer | HBadertscher <h_badertscher@bluewin.ch> | 2017-11-01 11:23:21 +0100 |
| commit | 80b48185d36ec6f2f360ea35fd2592aec464084f (patch) | |
| tree | 3d622ce73e2f60b9c0324222fa31f7324dbdde92 /conf | |
| parent | 4142d5f19904c5f00bb11a9ba8746068a9169b4f (diff) | |
Adds option to ignore mounts via config file
This allows you to configure eZ Server Monitor to ignore certain disks
via the "ignore_mounts" option in the configuration file. You can either
create no "ignore_mounts" option at all, or set it to [] if you want to
show all mounts. To ignore certain mounts, add the exact mount path to
the array, e.g. ["/mnt/disk1"] or ["/mnt/disk1", "/mnt/disk2"].
This is done with *exact* string matching, so make sure the entries are
correct. This makes it possible to ignore "/" and still show other
paths.
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/esm.config.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/esm.config.json b/conf/esm.config.json index bf65386..e40b3ea 100644 --- a/conf/esm.config.json +++ b/conf/esm.config.json @@ -12,7 +12,8 @@ }, "disk": { "show_tmpfs": false, - "show_filesystem": true + "show_filesystem": true, + "ignore_mounts": [] }, "ping": { "hosts": [ |
