Allow to set Xymon servers list for `xymon-client` config.
This commit is contained in:
parent
1f1b8377c9
commit
f6a61e107b
|
@ -6,3 +6,4 @@
|
|||
* Manage `xymon-client` default configuration file.
|
||||
* Manage `xymon-client` service.
|
||||
* Add possibility to set the value of CLIENTHOSTNAME `xymon-client` value.
|
||||
* Allow to set Xymon servers list for `xymon-client` config.
|
||||
|
|
|
@ -23,6 +23,7 @@ Manage Xymon (client) installation and configuration.
|
|||
* **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_enabled** : Set `xymon-client` service available at startup [default : `true`].
|
||||
* **xymon_srv_list** : The list of Xymon servers (you must give an hostname, IP,… reachable from any clients) [defaults : `monitoring.{{ ansible_domain }}`].
|
||||
|
||||
### OS Specific Variables
|
||||
|
||||
|
|
|
@ -15,3 +15,6 @@ xymon_cli_hostname: "{{ ansible_fqdn }}"
|
|||
xymon_cli_service_manage: true
|
||||
xymon_cli_service_name: 'xymon-client'
|
||||
xymon_cli_service_enabled: true
|
||||
|
||||
# server
|
||||
xymon_srv_list: "monitoring.{{ ansible_domain }}"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
# or (multiple servers)
|
||||
# XYMONSERVERS="10.0.0.1 192.168.1.1"
|
||||
|
||||
XYMONSERVERS="127.0.0.1"
|
||||
XYMONSERVERS="{{ xymon_srv_list }}"
|
||||
|
||||
# The defaults usually suffice for the rest of this file,
|
||||
# but you can tweak the hostname that the client reports
|
||||
|
|
Loading…
Reference in New Issue