epytir Trainee

  • Member since Oct 7th 2014
  • Last Activity:
Posts
49
Likes Received
3
Points
308
Profile Hits
545
  • epytir

    Replied to the thread How to create Host Groups?.
    Post
    The easiest way is the following
    object HostGroup "DCs" {

    display_name = "My DCs"
    assign where host.name in ["DC1", "DC2", "DHCP1"]
    }
    object HostGroup "Mail" {
    display_name = "My Mail"
    assign where host.name in ["Mail1", "Mail2"]
    }
    there are better ways…
  • epytir

    Replied to the thread How to create Host Groups?.
    Post
    Hello,

    you can create configs like all other config files.
    The config for hostgroups is (for example):
    object HostGroup "Hostgroupname" {
    display_name = "13) Display"
    assign where match("*TEST", host.name)
    }
    For all Hosts with *Test on the end of the…
  • epytir

    Post
    ok the workaround to solve this is to execute :
    update icinga_timeperiods set config_hash=-1;
    on the database.
    Then after the next relaod icinga inserts the correct konfig.

    dnsmichi helped me with this bug report :
  • epytir

    Post
    I opened an issue on Github with some more informations
    https://github.com/Icinga/icinga2/issues/5618