The Director aims to be your new favourite Icinga config deployment tool. Director is designed for those who want to automate their configuration deployment and those who want to grant their “point & click” users easy access to the configuration.
In icingadb-web -> Overview -> Services, on the details page of a service, there's a section called "Actions" and a link called "Modify".
(Assuming Director is installed and permissions for Director usage are granted).
Instead, clicking the "Modify" link on a service details page yields:
Uncaught Error: Call to a member function select() on null in /usr/share/icingaweb2/modules/director/library/Director/Monitoring.php:141
Hi Icinga team!
Expected Behavior
In icingadb-web -> Overview -> Services, on the details page of a service, there's a section called "Actions" and a link called "Modify". (Assuming Director is installed and permissions for Director usage are granted).
The link itself looks like this: https://_myserver.com_/icingaweb2/director/host/findservice?name=_myhost_&service=_myservice_
Clicking on that should take one to the corresponding "Edit service" page. Which is the case for editing host details when clicking the "Modify" link on a host details page: https://_myserver.com_/icingaweb2/director/host/edit?name=_myhost_
Current Behavior
Instead, clicking the "Modify" link on a service details page yields:
Uncaught Error: Call to a member function select() on null in /usr/share/icingaweb2/modules/director/library/Director/Monitoring.php:141
(Full stacktrace see below.)
Possible Solution
Changing the link target to something like this would solve the issue: https://_myserver.com_/icingaweb2/director/host/servicesetservice?uuid=_myuuid_&service=_myservice_&set=_myserviceset_
Steps to Reproduce
Your Environment
Additional context
Full stacktrace:
Hope this helps! - Greetings, Barney