Unable to detect your Icinga 2 Core version

Hi All,

I am getting below error while deploying changes using Icinga-Director. It was working perfectly previously

Unable to detect your Icinga 2 Core version (DeployFormsBug7530.php:70)

Icinga and Icinga-Director daemon health showing proper in Icingaweb.

Could you please help me to fix this issue.

Regards,

Could you please tell us the versions of:

  • Icinga Core
  • Icinga Web
  • Icinga Director

you are using?

Please find the requested versions details :

Icinga Core : r2.10.2-1
Icinga Web : 2.6.2
Icinga Director : 1.7.1

Hi All,

There was typo mistake in /etc/hosts file and due to this icinga-director failed to connect Icinga2-core.

Issue resolved by correcting /etc/hosts entry.

Sorry for the silly mistake and question.

Regards,
AviKarry

issue can be also in API user, try selecting a different one in the Director

how do you do that please for the steps

I had the same issue recently but my solution was different. I’m running Icingaweb2 on top of an nginx webserver. The cause of the error was in my upstream-php configuration that required a change due to the debian-buster update I did beforehand:

upstream icingaweb2 {
        #server unix:/var/run/php/php7.0-fpm.sock;
        server unix:/var/run/php/php7.3-fpm.sock;
}

After a brief restart of my webserver the error was gone immediatley. Due to my php.ini configuration my situation was that a cli deployment via icingacli director config deploy was working fine, but icingaweb2-deployments failed. I guess I have to dive a little deeper into my php.ini file because php-cli’s configuration is more robust than php itself cause apparently cli took use of the right socket automatically.