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 #13405] Prepare icingacli-businessprocess for next release #4826

Closed
icinga-migration opened this issue Dec 5, 2016 · 10 comments
Assignees
Labels
area/itl Template Library CheckCommands enhancement New feature or request
Milestone

Comments

@icinga-migration
Copy link

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

Created by dgoetz on 2016-12-05 12:40:00 +00:00

Assignee: dgoetz
Status: Assigned
Target Version: 2.7.0
Last Update: 2016-12-05 15:23:46 +00:00 (in Redmine)

Backport?: Not yet backported
Include in Changelog: 1

For next release syntax has changed, additional parameter statetype was added and for itl a workaround for parameter order has to be introduced. Patch will be up shortly after, please do apply after next release of businessprocess module.

Changesets

2016-12-05 12:40:11 +00:00 by dgoetz c0feff3

addresses changes in businessprocess module

changes syntax
adds statetype
adds parameter ordering

refs #13405
@icinga-migration
Copy link
Author

Updated by jflach on 2016-12-05 14:38:52 +00:00

  • Status changed from New to Assigned
  • Assigned to set to dgoetz
  • Target Version set to 2.7.0

Hello,

can you test this once the new BP version is released? I can build packages from your branch if needed.

@icinga-migration
Copy link
Author

Updated by dgoetz on 2016-12-05 15:23:46 +00:00

It is already tested with the next branch as it is now, other changes should only affect the GUI. But of course I can re-test then.

@icinga-migration icinga-migration added enhancement New feature or request area/itl Template Library CheckCommands labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.7.0 milestone Jan 17, 2017
@gunnarbeutner
Copy link
Contributor

@Crunsher: Can you check whether we can merge this? :)

@dnsmichi
Copy link
Contributor

dnsmichi commented Feb 7, 2017

According to @Thomas-Gelf the old syntax is still supported by BP 2.0.0 but it might be worthwhile to test whether the updated CheckCommand still works or not.

dnsmichi pushed a commit that referenced this issue Feb 23, 2017
refs #4826

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
@dnsmichi
Copy link
Contributor

Hm, the patch uses spaces instead of tabs. Please keep that in mind when sending in patches.

Some vim magic... http://stackoverflow.com/questions/9104706/how-can-i-convert-spaces-to-tabs-in-vim-or-linux

:set ts=8
:set noet

<mark the lines in visual mode - shift+V, cursor ...>

:'<,'>retab!

@dgoetz I've rebased the branch into a new feature branch feature/itl-icingacli-bp-4826. I'd like to link to the BP docs for the cli commands, but unfortunately this is not yet there @Thomas-Gelf - can you please help? :)

https://github.com/Icinga/icingaweb2-module-businessprocess#monitoring

dnsmichi pushed a commit that referenced this issue Feb 23, 2017
refs #4826

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
@dnsmichi
Copy link
Contributor

--color does not make much sense. One thing which is tricky - if /etc/icingaweb2 is not world readable, you can't execute the cli command as icinga user. Any suggestions on that @dgoetz ?

@dnsmichi
Copy link
Contributor

A sample config is prepared here, which works for both variants of the CheckCommand. That one introduces the permission issue on CentOS 7.

https://github.com/Icinga/icinga-vagrant/tree/feature/bp-cli

@dgoetz
Copy link
Contributor

dgoetz commented Mar 16, 2017

Forget to answer, sorry about that.
I simply add the icinga user to the icingaweb2 group to get permissions right for running the check.

@dnsmichi dnsmichi self-assigned this Mar 16, 2017
@dnsmichi
Copy link
Contributor

Thanks @dgoetz - I've talked with @Thomas-Gelf the other day and cleared that up too. After this has been adopted I'll prepare a PR for the BP docs too.

dnsmichi pushed a commit that referenced this issue Mar 16, 2017
refs #4826

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
@dnsmichi
Copy link
Contributor

Merged the Icinga 2 related changes, I'll deal with the rest in separate issues: Icinga/icingaweb2-module-businessprocess#120 and Icinga/icinga-vagrant#39.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/itl Template Library CheckCommands enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants