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 #12349] Apply Rules #55

Closed
icinga-migration opened this issue Aug 9, 2016 · 11 comments
Closed

[dev.icinga.com #12349] Apply Rules #55

icinga-migration opened this issue Aug 9, 2016 · 11 comments
Milestone

Comments

@icinga-migration
Copy link

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

Created by bsheqa on 2016-08-09 14:19:33 +00:00

Assignee: (none)
Status: Closed (closed on 2016-11-11 15:51:52 +00:00)
Target Version: v0.6.0
Last Update: 2016-11-11 15:51:52 +00:00 (in Redmine)


If its possible, an apply rule defined resource should be able to:

  • Apply HostGroups to Hosts
  • Apply ServiceGroups to Services
  • Apply Services to Hosts
  • Apply Notifications to Hosts and Services
  • Apply Dependencies to Hosts and Services
  • Apply Recurring Downtimes to Hosts and Services
  • Add a assign_where option with a custom string appended
  • Add a ignore_where option with a custom string appended

Relations:

@icinga-migration
Copy link
Author

Updated by bsheqa on 2016-09-06 07:48:44 +00:00

  • Target Version changed from 313 to v0.7.0

@icinga-migration
Copy link
Author

Updated by bsheqa on 2016-09-20 18:06:50 +00:00

  • Target Version changed from v0.7.0 to v0.8.0

@icinga-migration
Copy link
Author

Updated by lbetz on 2016-10-25 02:44:26 +00:00

  • Assigned to set to lbetz
  • Target Version changed from v0.8.0 to v0.6.0

@icinga-migration
Copy link
Author

Updated by lbetz on 2016-10-25 04:46:28 +00:00

  • Status changed from New to Closed
  • Done % changed from 0 to 100

Implemented in object class so an abstraction has to implement in every object type.

@icinga-migration
Copy link
Author

Updated by lbetz on 2016-11-07 15:22:27 +00:00

  • Status changed from Closed to Assigned
  • Done % changed from 100 to 80

@icinga-migration
Copy link
Author

Updated by lbetz on 2016-11-07 15:23:32 +00:00

The apply rules for object types of notification or dependency need the extension 'to host' or 'to service'.

@icinga-migration
Copy link
Author

Updated by bsheqa on 2016-11-08 10:52:34 +00:00

  • Relates set to 13035

@icinga-migration
Copy link
Author

Updated by bsheqa on 2016-11-10 16:00:51 +00:00

  • Assigned to deleted lbetz
  • Done % changed from 80 to 100

@icinga-migration
Copy link
Author

Updated by bsheqa on 2016-11-10 16:01:00 +00:00

  • Status changed from Assigned to Closed

@icinga-migration
Copy link
Author

Updated by lbetz on 2016-11-10 19:11:11 +00:00

  • Status changed from Closed to Feedback

I don't like it to offer an assign_target option for objects like service that doesn't need it, because it's always Hot. So you can set it in attr hash statically as

attr = {
...
apply_target => 'Host',
}

and pass it to the underlying object resource.

@icinga-migration
Copy link
Author

Updated by bsheqa on 2016-11-11 15:51:52 +00:00

  • Status changed from Feedback to Closed

lbetz wrote:

I don't like it to offer an assign_target option for objects like service that doesn't need it, because it's always Hot. So you can set it in attr hash statically as

attr = {
...
apply_target => 'Host',
}

and pass it to the underlying object resource.

good idea, did that

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

No branches or pull requests

1 participant