All checks are PENDING, except for own server

Hi,

I have a Icinga2 v.2.11 director 1.7.2 running in an older ubuntu 16.04 server.
Accidentally I removed all python system folders, so I cannot update and do anything to it.

So I raised icinga2 v.2.13 director 1.10.1 in an Ubuntu 20.04 server.
Almost all settings for this server are made by scratch, except for director database. So I did a director migration no make director database works in this new framework.

Now this new server is working, except all director hosts are not being monitored (the status is pending). At other hand, the server is being suitably monitored. Look at this image:


I did Kickstart wizard, so it created a new Endpoint with same data from other:

The first was created by Kickstart, the second is created according to zones.conf file. The first I can delete, the second no.

If I transferred hosts to srvicinga-mt, I face this error:
critical/config: Error: Validation failed for object 'SrvESXi02-sno' of type 'Host'; Attribute 'command_endpoint': Command endpoint must be in zone 'master' or in a direct child zone thereof.

So I stuck in these two settings. How can I solve this?

Give as much information as you can, e.g.

  • Version used: r2.13.5-1
  • Operating System and version: Ubuntu 20.04.5 LTS
  • Enabled features (icinga2 feature list): api checker ido-mysql mainlog notification
  • Icinga Web 2 version and modules (System - About)
director 1.10.1
incubator 0.18.0
monitoring 2.11.1
  • Config validation (icinga2 daemon -C)
[2022-09-29 17:36:23 +0000] information/cli: Icinga application loader (version: r2.13.5-1)
[2022-09-29 17:36:23 +0000] information/cli: Loading configuration file(s).
[2022-09-29 17:36:23 +0000] information/ConfigItem: Committing config item(s).
[2022-09-29 17:36:23 +0000] information/ApiListener: My API identity: srvicinga-mt
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 1 IcingaApplication.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 15 HostGroups.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 199 Hosts.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 1 FileLogger.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 1 Downtime.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 1 IdoMysqlConnection.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 13 Notifications.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 1 CheckerComponent.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 6 Zones.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 4 Endpoints.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 3 ApiUsers.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 1 ApiListener.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 1 NotificationComponent.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 257 CheckCommands.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 1 UserGroup.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 4 ServiceGroups.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 3 TimePeriods.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 2 Users.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 1 ScheduledDowntime.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 319 Services.
[2022-09-29 17:36:24 +0000] information/ConfigItem: Instantiated 2 NotificationCommands.
[2022-09-29 17:36:25 +0000] information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars'
[2022-09-29 17:36:25 +0000] information/cli: Finished validating the configuration file(s).

Hi! Wow, 20 days no reply nor help. Is it still this way? If so, shall we have a go at it? You will have to do quite a lot of digging, as we go along…

Did you copy CA from the old system? Does the new system have exact the same hostname?