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

[dev.icinga.com #13349] can't set custom properties on servicesets #631

Closed
icinga-migration opened this issue Nov 29, 2016 · 1 comment
Closed
Labels

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/13349

Created by crashbuggy on 2016-11-29 01:05:21 +00:00

Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-11-29 01:05:21 +00:00 (in Redmine)


Hi,

I have a serviceset that contains a load service,
I've created datafeilds procs_critical and procs_warning

if I navigate to Icinga Director -> Hosts -> blah.com -> Services -> Centos (the name of the serviceset)
the url being director/hosts#!/director/serviceset?name=Centos&host=blah.com

I see a form with procs_critical and procs_warning
if I fill in some values and hit store, I get a red box with

Storing icinga_service_set[] failed: SQLSTATE[23000]: Integrity constraint violation: 
  1048 Column 'object_name' cannot be null, query was: 
  UPDATE icinga_service_set SET object_name = ? WHERE (id = '10') {array ( 'id' => '10', 'host_id' => '30', 'object_name' => NULL, 'object_type' => 'object', 'description' => NULL, 'assign_filter' => NULL, )} (DbObject.php:763)
@Thomas-Gelf
Copy link
Contributor

I removed this feature for now. Service Sets changed over time, formerly you have been allowed to set common fields, now you're able to set all properties when adding services to the set - and there are overrides at a host level. As the mentioned feature (also set vars on a Set level) is no longer provided in the GUI, I'll close this issue.

Thanks,
Thomas

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