Posts by Batman

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

    Hosts.conf lives in satellite.


    Master Zones.Conf


    object Endpoint NodeName {

    }


    object Zone ZoneName {

    endpoints = [ NodeName ]

    }


    object Endpoint "windows1"{

    host = "XX.XX.XX.XX"

    }


    object Zone "windows1" {

    endpoints = [ "windows1" ]

    parent = "icingamaster"

    }


    object Endpoint "windowstest"{

    host = "XX.XX.XX.XX"

    }


    object Zone "windowstest" {

    endpoints = [ "windowstest" ]

    parent = "icingamaster"










    Satellite Zones.Conf


    object Endpoint "Icingamaster" {

    host = "xx.xx.xx.xx"

    port = "5665"

    }


    object Zone "master" {

    endpoints = [ "Icingamaster" ]

    }


    object Zone "global-templates" {

    global = true

    }


    object Zone "director-global" {

    global = true

    }


    object Endpoint NodeName {

    }


    object Zone ZoneName {

    endpoints = [ NodeName ]

    parent = "master"

    }



    object Endpoint "Client" {

    host = "xx.xx.xx.xx"

    port = "5665"

    }


    object Zone "Client" {

    endpoints = [ "Client" ]

    }






    Client Zones.Conf


    object Endpoint "Satellite" {

    host = "xx.xx.xx.xx"

    port = "5665"

    }


    object Zone "master" {

    endpoints = [ "Satellite" ]

    }


    object Zone "global-templates" {

    global = true

    }


    object Zone "director-global" {

    global = true

    }


    object Endpoint NodeName {

    }


    object Zone ZoneName {

    endpoints = [ NodeName ]

    parent = "master"

    }



    I don't see satellite details in master zones.conf, i think i need to reconfigure that. Is that the problem?

    sru : Yes apologize for the confusion, i meant the client had two parents one was the satellite and another one was master.


    Now i have made the changes and made only satellite has the parent for my client, and added a new check in satellite which will be checked on client but the check is not visible in gui.


    Here is the host.conf, service.conf, commands.conf from my satellite.



    hosts.conf:



    object Host "Client" {

    import "generic-host"


    display_name = "Client"

    address = "xx.xx.xx.xx"

    }


    services.conf



    apply Service "Tomcat" {

    import "generic-service"


    check_command = "tomcat"

    assign where match("xx.xx.xx.xx", host.address)


    }


    commands.conf



    object CheckCommand "tomcat" {

    command = [PluginDir + "/check_tcp"]

    arguments = {

    "-u" = "$user$"

    "-H" = "$hostaddress$"

    }

    }


    Is there any other param that i need to change?



    Thanks,

    Karthick

    Hi sru :


    Here is what i tried.


    Have setup a satellite for which parent will be the icinga master server and client with two Masters which is (Master, Satellite), i could see the checks from master being executed to client but cannot see checks from satellite being executed on client.

    In satellite i have added client as host and created a service check, but it is not visible in gui.

    Is this approach correct?


    Any insight will be highly appreciated.






    Thanks,

    Karthick N

    Hi sru :


    Will it be possible for me to store configs at satellite 1 and execute checks at client 1?


    Say like service to be checked in client 1 will be stored in satellite1, like service.conf, commands.conf and it will not be stored in master. But master will just display results executed by satellite 1?



    Thanks,

    Karthick N

    Hi Kevin.Honka ,


    First of all, would like to appreciate the time you are spending to solve our problems. You guys are doing great job.


    Now coming to the issue.


    I agree that its a complex situation and not recommended. But the requirement is critical because server resources are managed by totally different owner and service resources are monitored by different owner.


    Whereas server owners manage a list of 1000+ servers and application owners need to manage services on only 100+ application resources in few of the servers.


    The bottleneck here is, when there is a change in application check, application owner need to restart icinga2 master that controls 1000+ server.


    And as you know a small error in config will fail to restart Icinga master which will affect whole 1000+ servers on which application owners doesn't have any control.


    Let us know if there is any possibility to do this.


    Or can we have a satellite through which we can do the configuration? And run it independently without affecting the master?

    Hi Team,


    We have a new requirement, any insight on this will be more helpful.


    2 Master servers running independently. Where master 1 will have custom service checks and master 2 will have only generic checks.

    say like master 1 will monitor apache results on clients and master 2 will monitor cpu utilization results on the same clients.

    The idea is generic utilization like cpu is managed by different team and custom utilization is managed by different team. So both will have independent masters calling the same client.


    Is this possible? Or any other similar solutions will do as well.



    Thanks,

    Karthick

    Hi Team,


    Looking for some insight on reports. In need of a response time dashboard for the notifications created by Icinga, is there a way to do this? Something like i should be able to pull out the notification alert history with acknowledgement time.



    Thanks,

    Bat.