Open mohierf opened 6 years ago
The recommended configuration way:
As an example, a alignak.d/extra-conf.ini:
[DEFAULT]
; Override the default value
alignak_launched=1
statsd_host = 192.168.43.193
statsd_port = 2004
statsd_prefix = alignak-test
graphite_enabled = 1
[alignak-configuration]
retain_state_information=true
retention_update_interval=5
cfg=alignak.cfg
[daemon.broker-master]
; Change the default daemon port
port=17772
When Alignak application is updated, the default shipped configuration files (/usr/local/share/alignak) are replaced with the new ones.
For the admin specific configuration, it is recommended to add some ini files in the alignak.d sub-directory because these files will not be replaced...
Despite, it is very often needed to update the default daemons.ini file that is shipped with Alignak ... and this file will be replaced!
Perharps, it may be good to not deliver this file but a daemons.ini.sample file that may be copied and then updated by the administrator... to be discussed
Note that Alignak should start without this file with its default configuration. To be tested and confirmed.