Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timerange menu - Service not found #24

Closed
Aleksey-Maksimov opened this issue Apr 20, 2017 · 7 comments
Closed

Timerange menu - Service not found #24

Aleksey-Maksimov opened this issue Apr 20, 2017 · 7 comments
Labels

Comments

@Aleksey-Maksimov
Copy link

Hi

I just upgraded to version 1.0.9 and tried to use links in timerange menu.
The use of any links causing the error

Service not found

#0 /usr/share/php/Icinga/Exception/IcingaException.php(41): ReflectionClass->newInstanceArgs(Array)
#1 /usr/share/php/Icinga/Web/Controller.php(78): Icinga\Exception\IcingaException::create(Array)
#2 /usr/share/icingaweb2/modules/monitoring/application/controllers/ServiceController.php(36): Icinga\Web\Controller->httpNotFound('Service not fou...')
#3 /usr/share/php/Icinga/Web/Controller/ActionController.php(139): Icinga\Module\Monitoring\Controllers\ServiceController->init()
#4 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(59): Icinga\Web\Controller\ActionController->__construct(Object(Icinga\Web\Request), Object(Icinga\Web\Response), Array)
#5 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#6 /usr/share/php/Icinga/Application/Web.php(389): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#7 /usr/share/php/Icinga/Application/webrouter.php(109): Icinga\Application\Web->dispatch()
#8 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/php/...')
#9 {main}

I suspect that this is due to the fact that in my case the hostname in Icinga in the form of FQDN.

When I choose a period, then in the browser address bar the end of the url changes from this
/show?host=KOM-AD01-APP30.holding.com&service=SSH
to this
/show?host=KOM-AD01-APP30_holding_com&service=SSH&timerange=5m

@Mikesch-mp
Copy link
Owner

Hi, i guess you use graphite backend?

@Aleksey-Maksimov
Copy link
Author

Yes

@Mikesch-mp
Copy link
Owner

Please download v1.0.10, it will fix your problem :)

@Aleksey-Maksimov
Copy link
Author

Upgraded to 1.0.10, but Host page broken:
Can't access property 'service_description'. Property does not exist.

@Mikesch-mp
Copy link
Owner

can you please test v1.0.11

@Aleksey-Maksimov
Copy link
Author

Solved. Thank you.

@Mikesch-mp
Copy link
Owner

Thanks for pointing out that bug :)

@dnsmichi dnsmichi added the bug label Jun 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants