Host stuck in Pending state

Cloned active and working configured host.
The new one is stuck in Pending state.

When I press Inspect I get this:

First parameter must either be an object or the name of an existing class (IcingaObjectInspection.php:60)

#0 [internal function]: Icinga\Application\ApplicationBootstrap->Icinga\Application{closure}(2, ‘First parameter…’, ‘/usr/share/icin…’, 60, Array) #1 /usr/share/icingaweb2/modules/director/library/Director/Web/Widget/IcingaObjectInspection.php(60): property_exists(NULL, ‘command’) #2 /usr/share/icingaweb2/modules/director/library/Director/Web/Widget/IcingaObjectInspection.php(45): Icinga\Module\Director\Web\Widget\IcingaObjectInspection->renderLastCheckResult(NULL) #3 /usr/share/icingaweb2/modules/director/library/vendor/ipl/Html/HtmlDocument.php(232): Icinga\Module\Director\Web\Widget\IcingaObjectInspection->assemble() #4 /usr/share/icingaweb2/modules/director/library/vendor/ipl/Html/BaseHtmlElement.php(194): dipl\Html\HtmlDocument->ensureAssembled() #5 /usr/share/icingaweb2/modules/director/library/vendor/ipl/Html/HtmlDocument.php(193): dipl\Html\BaseHtmlElement->renderUnwrapped() #6 /usr/share/icingaweb2/modules/director/library/vendor/ipl/Html/HtmlDocument.php(250): dipl\Html\HtmlDocument->render() #7 /usr/share/icingaweb2/modules/director/library/vendor/ipl/Html/BaseHtmlElement.php(175): dipl\Html\HtmlDocument->renderUnwrapped() #8 /usr/share/icingaweb2/modules/director/library/vendor/ipl/Html/BaseHtmlElement.php(198): dipl\Html\BaseHtmlElement->renderContent() #9 /usr/share/icingaweb2/modules/director/library/vendor/ipl/Html/HtmlDocument.php(193): dipl\Html\BaseHtmlElement->renderUnwrapped() #10 /usr/share/icingaweb2/modules/director/library/vendor/ipl/Html/HtmlDocument.php(262): dipl\Html\HtmlDocument->render() #11 /usr/share/icingaweb2/modules/director/library/vendor/ipl/Zf1/SimpleViewRenderer.php(47): dipl\Html\HtmlDocument->__toString() #12 /usr/share/icingaweb2/modules/director/library/vendor/ipl/Zf1/SimpleViewRenderer.php(66): dipl\Zf1\SimpleViewRenderer->render() #13 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action/HelperBroker.php(272): dipl\Zf1\SimpleViewRenderer->postDispatch() #14 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(518): Zend_Controller_Action_HelperBroker->notifyPostDispatch() #15 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch(‘objectAction’) #16 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) #17 /usr/share/php/Icinga/Application/Web.php(300): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) #18 /usr/share/php/Icinga/Application/webrouter.php(104): Icinga\Application\Web->dispatch() #19 /usr/share/icingaweb2/public/index.php(4): require_once(’/usr/share/php/…’) #20 {main}

Hello Tal

Can you share the configuration of the host , you can find it in the Director -> Activity

Is it possible that one of the vars you defined has changed from string to array or vice versa ?

The host is a cloned object (which the original works!)… so besides different name and IP… it’s the same

Hi,

please provide the used versions of the Icinga environment (details in the FAQ). Director, Icinga 2, Icinga Web 2 and dependent modules (IPL, etc.) as well as the used PHP version.

Cheers,
Michael

Installed Packages
Name : icinga2
Arch : x86_64
Version : 2.10.2
Release : 1.el6.icinga
Size : 56 k
Repo : installed
From repo : icinga-stable-release
Summary : Network monitoring application
URL :
License : GPLv2+
Description : Meta package for Icinga 2 Core, DB IDO and Web.

Available Packages
Name : icinga2
Arch : i686
Version : 2.10.4
Release : 1.el6.icinga
Size : 29 k
Repo : icinga-stable-release
Summary : Network monitoring application
URL :
License : GPLv2+
Description : Meta package for Icinga 2 Core, DB IDO and Web.

Name : icinga2
Arch : x86_64
Version : 2.10.5
Release : 1.el6.icinga
Size : 29 k
Repo : icinga-stable-release
Summary : Network monitoring application
URL :
License : GPLv2+
Description : Meta package for Icinga 2 Core, DB IDO and Web.

Installed Packages
Name : icingaweb2
Arch : noarch
Version : 2.6.2
Release : 1.el7.icinga
Size : 6.9 M
Repo : installed
From repo : icinga-stable-release
Summary : Icinga Web 2
URL :
License : GPLv2+ and MIT and BSD
Description : Icinga Web 2

Available Packages
Name : icingaweb2
Arch : noarch
Version : 2.6.3
Release : 1.el7.icinga
Size : 2.3 M
Repo : icinga-stable-release/7
Summary : Icinga Web 2
URL :
License : GPLv2+ and MIT and BSD
Description : Icinga Web 2

Available Packages
Name : php
Arch : x86_64
Version : 5.4.16
Release : 46.el7
Size : 1.4 M
Repo : base/7/x86_64
Summary : PHP scripting language for creating dynamic web sites
URL :
License : PHP and Zend and BSD
Description : PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated web pages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: The php package contains the module (often referred to as mod_php)
: which adds support for the PHP language to Apache HTTP Server.