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 #10774] Scheduling downtimes for child hosts doesn't work w/ Icinga 2.x (waiting for Icinga 2) #2175

Closed
icinga-migration opened this issue Dec 4, 2015 · 12 comments
Labels
area/monitoring Affects the monitoring module bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

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

Created by ClemensBW on 2015-12-04 16:28:36 +00:00

Assignee: elippmann
Status: Resolved (closed on 2016-12-12 11:45:03 +00:00)
Target Version: 2.4.0
Last Update: 2016-12-12 11:45:03 +00:00 (in Redmine)


Hello,

I can't create in icingaweb2 a downtime for a host including his childs:

SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME and
SCHEDULE_AND_PROPAGATE_HOST_DOWNTIME

don't exist:

[2015-12-04 17:23:01 +0100] information/ExternalCommandListener: Executing external command: [1449246181] SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME;LXXXXX1;1449246172;1449253372;1;0;0;clemensXXX;test / ck
[2015-12-04 17:23:01 +0100] warning/ExternalCommandListener: External command failed.Error: The external command 'SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME' does not exist.
        (0) icinga2: void boost::throw_exception >(boost::exception_detail::error_info_injector const&) (+0xe9) [0x417dc9]
        (1) libbase.so: void boost::exception_detail::throw_exception_(std::invalid_argument const&, char const*, char const*, int) (+0x6d) [0x7f05145048bd]
        (2) libicinga.so: icinga::ExternalCommandProcessor::Execute(double, icinga::String const&, std::vector > const&) (+0x592) [0x7f050e070fc2]
        (3) libicinga.so: icinga::ExternalCommandProcessor::Execute(icinga::String const&) (+0x1f3) [0x7f050e071653]
        (4) libcompat.so: icinga::ExternalCommandListener::CommandPipeThread(icinga::String const&) (+0x23c) [0x7f050d5daedc]
        (5) libboost_thread-mt.so.1.53.0:  (+0xd24a) [0x7f0514f0f24a]
        (6) libpthread.so.0:  (+0x7df5) [0x7f0511b3edf5]
        (7) libc.so.6: clone (+0x6d) [0x7f05120511ad]

and same without the tigger

[2015-12-04 17:23:13 +0100] information/ExternalCommandListener: Executing external command: [1449246193] SCHEDULE_AND_PROPAGATE_HOST_DOWNTIME;LXXXX1;1449246187;1449256987;1;0;0;clemensXXXX;e1e2e
[2015-12-04 17:23:13 +0100] warning/ExternalCommandListener: External command failed.Error: The external command 'SCHEDULE_AND_PROPAGATE_HOST_DOWNTIME' does not exist.
        (0) icinga2: void boost::throw_exception >(boost::exception_detail::error_info_injector const&) (+0xe9) [0x417dc9]
        (1) libbase.so: void boost::exception_detail::throw_exception_(std::invalid_argument const&, char const*, char const*, int) (+0x6d) [0x7f05145048bd]
        (2) libicinga.so: icinga::ExternalCommandProcessor::Execute(double, icinga::String const&, std::vector > const&) (+0x592) [0x7f050e070fc2]
        (3) libicinga.so: icinga::ExternalCommandProcessor::Execute(icinga::String const&) (+0x1f3) [0x7f050e071653]
        (4) libcompat.so: icinga::ExternalCommandListener::CommandPipeThread(icinga::String const&) (+0x23c) [0x7f050d5daedc]
        (5) libboost_thread-mt.so.1.53.0:  (+0xd24a) [0x7f0514f0f24a]
        (6) libpthread.so.0:  (+0x7df5) [0x7f0511b3edf5]
        (7) libc.so.6: clone (+0x6d) [0x7f05120511ad]

Changesets

2016-11-08 14:27:29 +00:00 by elippmann 9347497

Enable propagate host downtime commands for Icinga 2

This only works when using the latest Icinga 2 snapshot packages. Before releasing Web 2.4.0, we have to include a check to only offer these commands when using Icinga 2 2.6.0+

refs #10774

2016-12-12 11:41:14 +00:00 by elippmann 7dc4d3d

Enable propagate host downtime commands for Icinga 2 >= 2.6.0 and Icinga 1.x

fixes #10774

Relations:

@icinga-migration
Copy link
Author

Updated by yayo on 2015-12-21 10:58:03 +00:00

  • Copied To set to 10895

@icinga-migration
Copy link
Author

Updated by elippmann on 2015-12-21 11:36:16 +00:00

  • Copied To deleted 10895

@icinga-migration
Copy link
Author

Updated by elippmann on 2015-12-21 11:36:42 +00:00

  • Duplicated set to 10895

@icinga-migration
Copy link
Author

Updated by elippmann on 2015-12-21 11:40:09 +00:00

  • Blocked set to 10896

@icinga-migration
Copy link
Author

Updated by elippmann on 2015-12-21 11:40:31 +00:00

  • Blocked set to 10897

@icinga-migration
Copy link
Author

Updated by elippmann on 2015-12-21 11:41:30 +00:00

  • Subject changed from downtime for child hosts don't works to Scheduling downtimes for child hosts doesn't work w/ Icinga 2.x

Hi,

The commands are missing in Icinga 2.x. I opened two issues for the Icinga 2 project.

Best,
Eric

@icinga-migration
Copy link
Author

Updated by elippmann on 2015-12-21 12:02:45 +00:00

  • Target Version set to Backlog

@icinga-migration
Copy link
Author

Updated by elippmann on 2015-12-21 12:38:27 +00:00

Hi,

I disabled the child options when using Icinga 2 for the moment: 7bafab2.

Cheers,
Eric

@icinga-migration
Copy link
Author

Updated by elippmann on 2016-04-11 08:55:50 +00:00

  • Subject changed from Scheduling downtimes for child hosts doesn't work w/ Icinga 2.x to Scheduling downtimes for child hosts doesn't work w/ Icinga 2.x (waiting for Icinga 2)

@icinga-migration
Copy link
Author

Updated by elippmann on 2016-10-04 09:23:49 +00:00

  • Duplicated set to 12045

@icinga-migration
Copy link
Author

Updated by elippmann on 2016-11-08 14:26:58 +00:00

  • Status changed from New to Assigned
  • Assigned to set to elippmann
  • Target Version changed from Backlog to 2.4.0

@icinga-migration
Copy link
Author

Updated by elippmann on 2016-12-12 11:45:03 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 7dc4d3d.

@icinga-migration icinga-migration added bug Something isn't working area/monitoring Affects the monitoring module labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.4.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/monitoring Affects the monitoring module bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant