Always restart Icinga2 if configuration change happens?

This forum was archived to /woltlab and is now in read-only mode.
  • Hi!


    I have a very short question and i couldn't find the answer in the documentation:


    Is it mandatory to always restart the whole icinga2 service, after i changed the configuration or is there a way to just "reload" all the configuration-files?


    BR,
    Flo

  • yes, exactly that: service icinga2 reload reloads the config files.
    If you make changes like icinga2 feature enable debuglog, the program tells you that you should restart the daemon.
    So, read these messages carefully.


    http://docs.icinga.org/icinga2…search=reload#init-script


    However, that also restarts the icinga2 daemon:


    Code
    1. [root@master ~]# pidof icinga2
    2. 25722
    3. [root@master ~]# service icinga2 reload
    4. Validating config files: Done
    5. Reloading Icinga 2: Done
    6. [root@master ~]# pidof icinga2
    7. 6911

    The post was edited 1 time, last by sru ().