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

Changing values from service checks via dashboard not possible #2615

Closed
manny4566 opened this issue Sep 28, 2022 · 3 comments
Closed

Changing values from service checks via dashboard not possible #2615

manny4566 opened this issue Sep 28, 2022 · 3 comments
Assignees
Labels
Milestone

Comments

@manny4566
Copy link

Expected Behavior

It should be possible to modify the values for a services check via the dashboard by using the action "Modify"

Current Behavior

The page display errors:

Services deployed via service set:
Undefined property: stdClass::$uuid

or for example:

Services deployed via apply rule:
Uncaught TypeError: Argument 4 passed to Icinga\Module\Director\DirectorObject\Lookup\AppliedServiceInfo::__construct() must implement interface Ramsey\Uuid\UuidInterface, string given, called in /usr/share/icingaweb2/modules/director/library/Director/DirectorObject/Lookup/AppliedServiceInfo.php on line 44 and defined in /usr/share/icingaweb2/modules/director/library/Director/DirectorObject/Lookup/AppliedServiceInfo.php:30 Stack trace: #0 /usr/share/icingaweb2/modules/director/library/Director/DirectorObject/Lookup/AppliedServiceInfo.php(44): Icinga\Module\Director\DirectorObject\Lookup\AppliedServiceInfo->__construct('atsl-irishrfila...', 'Load 3h', 95, '\xB1e\xBA1\x8E\xC6I\xB4\x9F\xAF\xD2\xA1\x00\x00\x00...') #1 /usr/share/icingaweb2/modules/director/library/Director/DirectorObject/Lookup/ServiceFinder.php(45): Icinga\Module\Director\DirectorObject\Lookup\AppliedServiceInfo::find(Object(Icinga\Module\Director\Objects\IcingaHost), 'Load 3h') #2 /usr/share/icingaweb2/modules/director/library/Director/Director

Possible Solution

Maybe database or schema error. Please fix it as soon as possible, because no modifying of custom values is possible at the moment via the gui.

Steps to Reproduce (for bugs)

The error occurred with the director version 1.10.0

Your Environment

  • Director version (System - About): 1.10.0
  • Icinga Web 2 version and modules (System - About): 2.11.1
  • Icinga 2 version (icinga2 --version): r2.13.5-1
  • Operating System and version: RHEL 7.9
  • Webserver, PHP versions: httpd-2.4.6-97.el7_9.5; PHP 7.3.33
@manny4566 manny4566 changed the title Changing values from service checks via dasboard not possible Changing values from service checks via dashboard not possible Sep 28, 2022
@Thomas-Gelf Thomas-Gelf self-assigned this Sep 30, 2022
@Thomas-Gelf Thomas-Gelf added this to the 1.10.1 milestone Sep 30, 2022
@Thomas-Gelf
Copy link
Contributor

Should have been fixed, could you please give it a try? Depending on what kind of service you click, the fix from #2619 might also be necessary

Thomas-Gelf added a commit that referenced this issue Sep 30, 2022
@manny4566
Copy link
Author

Should have been fixed, could you please give it a try? Depending on what kind of service you click, the fix from #2619 might also be necessary

Hi, it works. Thank you for the fast fix.

@Thomas-Gelf
Copy link
Contributor

You're welcome, thanks for reporting the problem! The fix has been ported to the support/1.10 branch and will be released with v1.10.1

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

2 participants