Wrong load service

This forum was archived to /woltlab and is now in read-only mode. Please register a new account on our new community platform.

You can create a thread on the new site and link to an archived thread. This archive is available as knowledge base, safe and secured.

More details here.
  • Hi,


    I have a problem with my load service from all my client endpoint.

    the value of the load coming from the master I have the same value on all clients endpoint.


    My config on services.conf in /etc/icinga2/zone.d/master/services.conf


    Code
    1. apply Service "load" {
    2. import "generic-service"
    3. check_command = "load"
    4. /* Used by the ScheduledDowntime apply rule in `downtimes.conf`. */
    5. vars.backup_downtime = "02:00-03:00"
    6. assign where host.vars.client_endpoint
    7. }
  • currently the master does not know that these checks have to be executed on the other servers.


    you need to add the parameter "command_endpoint" to the service


    Example:

    Code
    1. command_endpoint = host.vars.client_endpoint
  • currently the master does not know that these checks have to be executed on the other servers.


    you need to add the parameter "command_endpoint" to the service


    Example:

    Code
    1. command_endpoint = host.vars.client_endpoint

    Thanks you everything seems ok now