Add all hosts var for the plugin "list" whitelist

This commit is contained in:
Jeremy Gardais 2018-06-22 15:26:36 +02:00
parent 9bde39da78
commit 2564ddb065
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
4 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@
* Add possibility to install `apt` plugin dependencies. * Add possibility to install `apt` plugin dependencies.
* Ensure to apply the config only if wanted. * Ensure to apply the config only if wanted.
* Some yamllint fix. * Some yamllint fix.
* Add a all hosts variable for the plugin "list" whitelist.
## v1.1 ## v1.1

View File

@ -40,6 +40,7 @@ Manage Xymon (client) installation and configuration.
* **xymon_plug_libs_path**: Configuration file for the `libs` plugin [default: `/etc/xymon/clientlaunch.d/libs.cfg`]. * **xymon_plug_libs_path**: Configuration file for the `libs` plugin [default: `/etc/xymon/clientlaunch.d/libs.cfg`].
* **xymon_plug_libs_tpl**: Template used to generate the previous config file [default: `etc/xymon/clientlaunch.d/libs.cfg.j2`]. * **xymon_plug_libs_tpl**: Template used to generate the previous config file [default: `etc/xymon/clientlaunch.d/libs.cfg.j2`].
* **xymon_plug_libs_default_whitelist**: Default whitelist of processes that should not be monitored with `libs` plugin. * **xymon_plug_libs_default_whitelist**: Default whitelist of processes that should not be monitored with `libs` plugin.
* **xymon_plug_libs_whitelist**: All hosts whitelist of processes that should not be monitored with `libs` plugin.
* **xymon_plug_libs_group_whitelist**: Group whitelist of processes that should not be monitored with `libs` plugin. * **xymon_plug_libs_group_whitelist**: Group whitelist of processes that should not be monitored with `libs` plugin.
* **xymon_plug_libs_host_whitelist**: Host whitelist of processes that should not be monitored with `libs` plugin. * **xymon_plug_libs_host_whitelist**: Host whitelist of processes that should not be monitored with `libs` plugin.

View File

@ -76,6 +76,7 @@ xymon_plug_libs_default_whitelist:
- '.*' - '.*'
/sbin/multipathd: /sbin/multipathd:
- '.*' - '.*'
xymon_plug_libs_whitelist: {}
xymon_plug_libs_group_whitelist: {} xymon_plug_libs_group_whitelist: {}
xymon_plug_libs_host_whitelist: {} xymon_plug_libs_host_whitelist: {}

View File

@ -1,5 +1,6 @@
# {{ ansible_managed }} # {{ ansible_managed }}
{% set inputmerged = xymon_plug_libs_default_whitelist.copy() %} {% set inputmerged = xymon_plug_libs_default_whitelist.copy() %}
{% set _ = inputmerged.update(xymon_plug_libs_whitelist) %}
{% set _ = inputmerged.update(xymon_plug_libs_group_whitelist) %} {% set _ = inputmerged.update(xymon_plug_libs_group_whitelist) %}
{% set _ = inputmerged.update(xymon_plug_libs_host_whitelist) %} {% set _ = inputmerged.update(xymon_plug_libs_host_whitelist) %}
--- ---