Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Can't add a grafana graph to the dashboard. #309

Closed
duckq opened this issue Mar 17, 2023 · 1 comment
Closed

Can't add a grafana graph to the dashboard. #309

duckq opened this issue Mar 17, 2023 · 1 comment
Assignees
Labels

Comments

@duckq
Copy link

duckq commented Mar 17, 2023

Hello.
I have the problem with adding graph to the dashboard as described below (Current Behavior).

Current Behavior

Can't add a grafana graph to the dashboard. The operation fails with an error:

Required parameter 'host' missing
#0 /usr/share/icingaweb2/modules/grafana/application/controllers/IcingadbdashboardController.php(37): Icinga\Web\UrlParams->getRequired()
#1 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507): Icinga\Module\Grafana\Controllers\IcingadbdashboardController->indexAction()
#2 /usr/share/icingaweb2/library/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch()
#3 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch()
#4 /usr/share/icingaweb2/library/Icinga/Application/Web.php(290): Zend_Controller_Front->dispatch()
#5 /usr/share/icingaweb2/library/Icinga/Application/webrouter.php(105): Icinga\Application\Web->dispatch()
#6 /usr/share/icingaweb2/public/index.php(4): require_once(String)
#7 {main}

Expected Behavior

image

Possible Solution

I achieved the expected behavior by manually modifying the url as below.
image

Steps to Reproduce (for bugs)

1.Choose the timeframe for the graph (e.g. 8 hours).
image
2.Add graph to the dashboard.
image
image
3. Error: "Required parameter 'host' missing"
image

My Environment

image

@Mikesch-mp Mikesch-mp self-assigned this Mar 17, 2023
@Mikesch-mp Mikesch-mp added the bug label Mar 17, 2023
@Mikesch-mp
Copy link
Owner

Hosts are working , services are broken. will fix it with next release. Thanks for reporting

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants