Status check stuck on pending when monitoring agent

Hello Dear,

I would kindly ask for your support regarding the pending state i have when trying to monitor disk of my agent.
I tried to setup an environment composed of a Master, Satellite and an Agent.
I have Icinga director installed on the master. From where i have setup:

  • a single service Template and i add it to the serviceSet (service template has the disk check)

  • Then i created a host template to which i added the serviceSet

  • Then i created a host with the host template to check the disk status on the host
    Screen Shot 2021-06-02 at 21.41.57

  • Find the result in the attached image

  • Here is the config of the Master Zone /etc/icinga2/zones.conf

object Endpoint “master.domain.dc” {
}

object Zone “master” {
endpoints = [ “master.domain.dc” ]
}

object Zone “global-templates” {
global = true
}

object Zone “director-global” {
global = true
}

object Endpoint “satellite.domain.dc” {
host = “x.x.x.3”
}

object Zone “satellite” {
endpoints = [ “satellite.domain.dc” ]
parent = “master”
}

  • Here is the config of the Satellite Zone /etc/icinga2/zones.conf

object Endpoint “master.domain.dc” {
}

object Zone “master” {
endpoints = [ “master.domain.dc” ]
}

object Endpoint “satellite.domain.dc” {
}

object Zone “satellite” {
endpoints = [ “satellite.domain.dc” ]
parent = “master”
}

object Endpoint “agent.domain.dc” {
host = “x.x.x.4”
}

object Zone “agent.domain.dc” {
endpoints = [ “agent.domain.dc” ]
parent = “satellite”
}

object Zone “global-templates” {
global = true
}

object Zone “director-global” {
global = true
}

  • Here is the config of the Agent Zone /etc/icinga2/zones.conf

object Endpoint “satellite.domain.dc” {
}

object Zone “satellite” {
endpoints = [ “satellite.domain.dc” ]
}

object Endpoint “agent.domain.dc” {
}

object Zone “agent.domain.dc” {
endpoints = [ “agent.domain.dc” ]
parent = “satellite”
}

object Zone “global-templates” {
global = true
}

object Zone “director-global” {
global = true
}

Note that there is no problem regarding the certificate signing

I am willing to share more info regarding the setup if you need it.

Best Regards,
Cherif

The director is handling zone and endpoint objects for agents. Hence, you don’t need to define them manually in satellite’s zones.conf.

1 Like

you are right, thank you very much