Error Show All

Hallo

I added an host double.

Now, I am not able to show all
I obtain:
#0 /usr/share/icingaweb2/modules/businessprocess/library/Businessprocess/Storage/LegacyConfigParser.php(357): Icinga\Module\Businessprocess\BpNode->addChild(Object(Icinga\Module\Businessprocess\ServiceNode))
#1 /usr/share/icingaweb2/modules/businessprocess/library/Businessprocess/Storage/LegacyConfigParser.php(104): Icinga\Module\Businessprocess\Storage\LegacyConfigParser->parseLine(String)
#2 /usr/share/icingaweb2/modules/businessprocess/library/Businessprocess/Storage/LegacyConfigParser.php(58): Icinga\Module\Businessprocess\Storage\LegacyConfigParser->reallyParseFile(String)
#3 /usr/share/icingaweb2/modules/businessprocess/library/Businessprocess/Storage/LegacyStorage.php(130): Icinga\Module\Businessprocess\Storage\LegacyConfigParser::parseFile(String, String)
#4 /usr/share/icingaweb2/modules/businessprocess/library/Businessprocess/Web/Component/Dashboard.php(93): Icinga\Module\Businessprocess\Storage\LegacyStorage->loadProcess(String)
#5 /usr/share/icingaweb2/modules/businessprocess/library/Businessprocess/Web/Component/Dashboard.php(114): Icinga\Module\Businessprocess\Web\Component\Dashboard->__construct(Object(Icinga\Authentication\Auth), Object(Icinga\Module\Businessprocess\Storage\LegacyStorage))
#6 /usr/share/icingaweb2/modules/businessprocess/application/controllers/IndexController.php(17): Icinga\Module\Businessprocess\Web\Component\Dashboard::create(Object(Icinga\Authentication\Auth), Object(Icinga\Module\Businessprocess\Storage\LegacyStorage))
#7 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507): Icinga\Module\Businessprocess\Controllers\IndexController->indexAction()
#8 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch(String)
#9 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#10 /usr/share/php/Icinga/Application/Web.php(304): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#11 /usr/share/php/Icinga/Application/webrouter.php(107): Icinga\Application\Web->dispatch()
#12 /usr/share/icingaweb2/public/index.php(4): require_once(String)
#13 {main}

This my component info:

icinga2 - The Icinga 2 network monitoring daemon (version: r2.13.1-1)

Icinga Web 2 Version
2.9.3
Git commit
c757a17530c326c7d6daebd6171486cb8167a8a1
PHP Version
7.2.24-0ubuntu0.18.04.8
Git commit date
2021-08-10

Modules:
businessprocess 2.3.1
director master
fileshipper 1.1.0
monitoring 2.9.3

Hello and welcome!

Can you format your post according to these guidelines to maintain readability?

I added an host double.

Now, I am not able to show all

Not sure what this means, or what you’re trying to do.

This looks like an Icingaweb2 error, it would be useful to know which version of Icinga2 and Icingaweb2 you are using, which Icingaweb2 modules are installed (and their versions).

Likely a missing Icingaweb2 module or a version mismatch, but it could be a missing PHP package on your system as well. Which version of PHP are you using?

I updated my first post
Thanks a lot

icinga2 - The Icinga 2 network monitoring daemon (version: r2.13.1-1)

Icinga Web 2 Version
2.9.3
Git commit
c757a17530c326c7d6daebd6171486cb8167a8a1
PHP Version
7.2.24-0ubuntu0.18.04.8
Git commit date
2021-08-10

Modules:
businessprocess 2.3.1
director master
fileshipper 1.1.0
monitoring 2.9.3

1 Like

I’m having the same error, i have addedd a service twice, and i dont know what to do to solve that
Any update ?
Thanks in advance

Hi,
there was a double entry into the businessprocesses file, but I don’t remember the location on file system

Did you solve your issue?
Thanks

Hello ,
I’m sorry for taking long time to respond, i had resolve this by commenting the line in the file where the errors appears, that functions ensure that there is no duplicate hosts or services should be added in the BP, so after that i have deleted the double host that i have added and i removed the comment on the line.
Thank you

1 Like

I have the same error if I try to delete a root Business Process object.

When I delete the object “Stampa”, the Stampa.conf file is deleted, but it seems that the object is not cleared in the database(?)

Indeed, the error indicates that the file Stampa.conf is missing and the “Show all” doesn’t work.

What could I try to solve my issue?
thanks a lot.

Mario

Icinga Web 2 Version
2.9.3
Git commit
c757a17530c326c7d6daebd6171486cb8167a8a1
PHP Version
7.2.24-0ubuntu0.18.04.8
Git commit date
2021-08-10

Modules:
businessprocess 2.3.1
director master
fileshipper 1.1.0
monitoring 2.9.3