Add possibility to set the value of CLIENTHOSTNAME `xymon-client` value.
This commit is contained in:
parent
b8799a13e8
commit
ddee21fa78
|
@ -5,3 +5,4 @@
|
||||||
* Install `xymon-client` packages for Debian based distros.
|
* Install `xymon-client` packages for Debian based distros.
|
||||||
* Manage `xymon-client` default configuration file.
|
* Manage `xymon-client` default configuration file.
|
||||||
* Manage `xymon-client` service.
|
* Manage `xymon-client` service.
|
||||||
|
* Add possibility to set the value of CLIENTHOSTNAME `xymon-client` value.
|
||||||
|
|
|
@ -19,6 +19,7 @@ Manage Xymon (client) installation and configuration.
|
||||||
* **xymon_cli_pkg_state** : State of new `xymon-client` package(s) [default : `installed`].
|
* **xymon_cli_pkg_state** : State of new `xymon-client` package(s) [default : `installed`].
|
||||||
* **xymon_cli_default_conf_path** : Configuration file for `xymon-client` [default : `/etc/default/xymon-client`].
|
* **xymon_cli_default_conf_path** : Configuration file for `xymon-client` [default : `/etc/default/xymon-client`].
|
||||||
* **xymon_cli_default_conf_tpl** : Template used to generate the previous config file [default : `etc/default/xymon-client.j2`].
|
* **xymon_cli_default_conf_tpl** : Template used to generate the previous config file [default : `etc/default/xymon-client.j2`].
|
||||||
|
* **xymon_cli_hostname** : Allow to override default value of CLIENTHOSTNAME var [default : `{{ ansible_fqdn }}`].
|
||||||
* **xymon_cli_service_manage** : If `xymon-client` service should be managed with this role [default : `true`].
|
* **xymon_cli_service_manage** : If `xymon-client` service should be managed with this role [default : `true`].
|
||||||
* **xymon_cli_service_name** : `xymon-client` service name [default : `xymon-client`].
|
* **xymon_cli_service_name** : `xymon-client` service name [default : `xymon-client`].
|
||||||
* **xymon_cli_service_enabled** : Set `xymon-client` service available at startup [default : `true`].
|
* **xymon_cli_service_enabled** : Set `xymon-client` service available at startup [default : `true`].
|
||||||
|
|
|
@ -9,6 +9,7 @@ xymon_cli_pkg_state: 'installed'
|
||||||
## conf
|
## conf
|
||||||
xymon_cli_default_conf_path: '/etc/default/xymon-client'
|
xymon_cli_default_conf_path: '/etc/default/xymon-client'
|
||||||
xymon_cli_default_conf_tpl: 'etc/default/xymon-client.j2'
|
xymon_cli_default_conf_tpl: 'etc/default/xymon-client.j2'
|
||||||
|
xymon_cli_hostname: "{{ ansible_fqdn }}"
|
||||||
|
|
||||||
## service
|
## service
|
||||||
xymon_cli_service_manage: true
|
xymon_cli_service_manage: true
|
||||||
|
|
|
@ -20,7 +20,7 @@ XYMONSERVERS="127.0.0.1"
|
||||||
# CLIENTHOSTNAME=""
|
# CLIENTHOSTNAME=""
|
||||||
# CLIENTOS="rhel3"
|
# CLIENTOS="rhel3"
|
||||||
|
|
||||||
CLIENTHOSTNAME="hostname.domain.local"
|
CLIENTHOSTNAME="{{ xymon_cli_hostname }}"
|
||||||
|
|
||||||
# Optionally mount a tmpfs on /var/lib/xymon/tmp. On client systems this has
|
# Optionally mount a tmpfs on /var/lib/xymon/tmp. On client systems this has
|
||||||
# the advantage that client reports will continue to work even if the /var
|
# the advantage that client reports will continue to work even if the /var
|
||||||
|
|
Loading…
Reference in New Issue