2017-08-11 13:58:39 +02:00
|
|
|
---
|
2018-06-22 15:24:32 +02:00
|
|
|
# .. vim: foldmarker=[[[,]]]:foldmethod=marker
|
2017-08-11 13:58:39 +02:00
|
|
|
|
2018-06-22 15:24:32 +02:00
|
|
|
# ipr.ansible.xymon default variables [[[
|
|
|
|
# =======================================
|
|
|
|
|
|
|
|
# Packages and installation [[[
|
|
|
|
# -----------------------------
|
|
|
|
|
|
|
|
# .. envvar:: xymon_cli_manage [[[
|
|
|
|
#
|
|
|
|
# If this role should manage the installation of Xymon client
|
2017-08-11 13:58:39 +02:00
|
|
|
xymon_cli_manage: true
|
2018-06-22 15:24:32 +02:00
|
|
|
# ]]]
|
|
|
|
# .. envvar:: xymon_cli_pkg_state [[[
|
|
|
|
#
|
|
|
|
# What is the desired state which this role's packages should be?
|
|
|
|
# Possible options:
|
|
|
|
#
|
2018-07-25 15:12:50 +02:00
|
|
|
# ``present``
|
2018-06-22 15:24:32 +02:00
|
|
|
# Default. Ensure the packages are installed.
|
|
|
|
#
|
|
|
|
# ``absent``
|
|
|
|
# Ensure to remove the packages.
|
|
|
|
#
|
2018-07-25 15:12:50 +02:00
|
|
|
xymon_cli_pkg_state: 'present'
|
2018-06-22 15:24:32 +02:00
|
|
|
# ]]]
|
|
|
|
# ]]]
|
|
|
|
# Server configuration and service [[[
|
|
|
|
# ------------------------------------
|
2017-08-11 14:14:51 +02:00
|
|
|
|
2017-08-11 14:33:31 +02:00
|
|
|
## conf
|
|
|
|
xymon_cli_default_conf_path: '/etc/default/xymon-client'
|
|
|
|
xymon_cli_default_conf_tpl: 'etc/default/xymon-client.j2'
|
2017-08-11 14:40:04 +02:00
|
|
|
xymon_cli_hostname: "{{ ansible_fqdn }}"
|
2017-09-04 16:15:42 +02:00
|
|
|
xymon_user_groups: 'xymon'
|
2017-08-11 14:33:31 +02:00
|
|
|
|
2017-08-11 14:14:51 +02:00
|
|
|
## service
|
|
|
|
xymon_cli_service_manage: true
|
|
|
|
xymon_cli_service_name: 'xymon-client'
|
|
|
|
xymon_cli_service_enabled: true
|
2017-08-11 14:48:46 +02:00
|
|
|
|
|
|
|
# server
|
|
|
|
xymon_srv_list: "monitoring.{{ ansible_domain }}"
|
2018-06-22 15:24:32 +02:00
|
|
|
# ]]]
|
|
|
|
# Plugins management [[[
|
|
|
|
# ----------------------
|
2017-09-04 17:24:40 +02:00
|
|
|
|
|
|
|
xymon_plug_manage: true
|
2018-02-08 17:28:49 +01:00
|
|
|
|
2018-06-22 15:24:32 +02:00
|
|
|
## Plugin apt [[[
|
|
|
|
xymon_plug_apt_state: true
|
|
|
|
xymon_plug_apt_package: ['dctrl-tools']
|
2018-03-02 15:15:11 +01:00
|
|
|
xymon_plug_apt_path: '/etc/xymon/clientlaunch.d/apt.cfg'
|
|
|
|
xymon_plug_apt_tpl: 'etc/xymon/clientlaunch.d/apt.cfg.j2'
|
2018-09-12 10:25:31 +02:00
|
|
|
xymon_plug_apt_default_whitelist: []
|
|
|
|
xymon_plug_apt_whitelist: []
|
|
|
|
xymon_plug_apt_group_whitelist: []
|
|
|
|
xymon_plug_apt_host_whitelist: []
|
|
|
|
xymon_plug_apt_combined_whitelist: '{{ xymon_plug_apt_default_whitelist
|
|
|
|
+ xymon_plug_apt_whitelist
|
|
|
|
+ xymon_plug_apt_group_whitelist
|
|
|
|
+ xymon_plug_apt_host_whitelist }}'
|
|
|
|
|
2018-06-22 15:24:32 +02:00
|
|
|
## ]]]
|
|
|
|
## Plugin mq [[[
|
2017-09-04 17:31:51 +02:00
|
|
|
xymon_plug_mq_state: true
|
2018-06-22 15:24:32 +02:00
|
|
|
xymon_plug_mq_package: ['libtimedate-perl']
|
2017-09-04 17:24:40 +02:00
|
|
|
xymon_plug_mq_path: '/etc/xymon/clientlaunch.d/mq.cfg'
|
|
|
|
xymon_plug_mq_tpl: 'etc/xymon/clientlaunch.d/mq.cfg.j2'
|
2018-06-22 15:24:32 +02:00
|
|
|
## ]]]
|
2018-07-13 12:45:20 +02:00
|
|
|
## Plugin ipmi [[[
|
|
|
|
xymon_cli__plug_ipmi_state: false
|
|
|
|
xymon_cli__plug_ipmi_package: ['ipmitool']
|
|
|
|
xymon_cli__plug_ipmi_path: '/etc/xymon/clientlaunch.d/ipmi.cfg'
|
|
|
|
xymon_cli__plug_ipmi_tpl: 'etc/xymon/clientlaunch.d/ipmi.cfg.j2'
|
|
|
|
## ]]]
|
2018-06-22 15:24:32 +02:00
|
|
|
## Plugin libs [[[
|
2017-09-04 17:42:53 +02:00
|
|
|
xymon_plug_libs_state: true
|
2018-06-22 15:24:32 +02:00
|
|
|
xymon_plug_libs_package: ['binutils', 'lsof', 'libyaml-tiny-perl', 'libsort-naturally-perl']
|
2017-09-04 17:42:53 +02:00
|
|
|
xymon_plug_libs_path: '/etc/xymon/clientlaunch.d/libs.cfg'
|
|
|
|
xymon_plug_libs_tpl: 'etc/xymon/clientlaunch.d/libs.cfg.j2'
|
2018-02-08 17:28:49 +01:00
|
|
|
|
|
|
|
xymon_plug_libs_default_whitelist:
|
|
|
|
/lib/systemd/systemd:
|
|
|
|
- '.*'
|
|
|
|
/usr/lib/x86_64-linux-gnu/sssd/sssd_be:
|
|
|
|
- '.*'
|
|
|
|
/usr/sbin/sssd:
|
|
|
|
- '.*'
|
|
|
|
/sbin/multipathd:
|
|
|
|
- '.*'
|
2018-06-22 15:26:36 +02:00
|
|
|
xymon_plug_libs_whitelist: {}
|
2018-02-08 17:28:49 +01:00
|
|
|
xymon_plug_libs_group_whitelist: {}
|
|
|
|
xymon_plug_libs_host_whitelist: {}
|
|
|
|
|
2018-06-22 16:04:32 +02:00
|
|
|
# ]]]
|
|
|
|
## Plugin zfs [[[
|
|
|
|
xymon_cli__plug_zfs_state: false
|
|
|
|
xymon_cli__plug_zfs_script_path: '/usr/lib/xymon/client/ext/zfs'
|
|
|
|
xymon_cli__plug_zfs_script_tpl: 'usr/lib/xymon/client/ext/zfs.j2'
|
|
|
|
xymon_cli__plug_zfs_path: '/etc/xymon/clientlaunch.d/zfs.cfg'
|
|
|
|
xymon_cli__plug_zfs_tpl: 'etc/xymon/clientlaunch.d/zfs.cfg.j2'
|
|
|
|
|
2018-06-22 15:24:32 +02:00
|
|
|
# ]]]
|
|
|
|
|
|
|
|
# ]]]
|
|
|
|
# ]]]
|