Hi,
I am trying to add new dashboard on icingaweb2, it is throwing below
exception..
Though I am able to add Dashlet.
*Could not persist dashboardPlease copy the following dashboard snippet to
/etc/icingaweb2/dashboards/admin/dashboard.ini;. Make sure that the
webserver can write to this file.Fatal error: Method
Icinga\Application\Config::__toString() must not throw an exception in
zend.view:///usr/share/icingaweb2/application/views/scripts/dashboard/error.phtml
on line 9*
Where "*/etc/icingaweb2/dashboards/admin/dashboard.ini" *contains the data
of Dashlet which I have disabled recently.
Also please find the content of error.phtml file
*<div class="content"> <h1><?= $this->translate('Could not persist
dashboard'); ?></h1> <p> <?= $this->translate('Please copy the
following dashboard snippet to '); ?> <strong><?=
$this->config->getConfigFile(); ?>;</strong>. <br> <?=
$this->translate('Make sure that the webserver can write to this file.');
?> </p> <pre><?= $this->config; ?></pre> <hr> <h2><?=
$this->translate('Error details'); ?></h2> <p><?=
$this->error->getMessage(); ?></p></div>*
Regards,
Tejas
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users