Icinga / icinga-core

Icinga 1.x, the old core (EOL 31.12.2018)
GNU General Public License v2.0
45 stars 27 forks source link

[dev.icinga.com #8046] Re-enabling external commands #1533

Closed icinga-migration closed 9 years ago

icinga-migration commented 9 years ago

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

Created by OgeeN on 2014-12-10 09:15:37 +00:00

Assignee: (none) Status: Rejected (closed on 2015-08-04 19:02:54 +00:00) Target Version: (none) Last Update: 2015-08-04 19:02:54 +00:00 (in Redmine)


Would it be possible to re-enable following external commands? CMD_CHANGE_HOST_CHECK_COMMAND: CMD_CHANGE_SVC_CHECK_COMMAND:

See also: [[http://www.monitoring-portal.org/wbb/index.php?page=Thread&threadID=32365&s=e5117102f485379c0e1ca4eaf6575cbadf70475e]]

I am monitoring a server which load during day time is much lower then in the night hours when scheduled tasks are being processed. The idea was to set different load thresholds for day and night regime via simple script scheduled in cron and external command file.

icinga-migration commented 9 years ago

Updated by mfriedrich on 2015-01-24 14:53:52 +00:00

@ricardo

Your opinion on that?

icinga-migration commented 9 years ago

Updated by ricardo on 2015-05-07 20:13:48 +00:00

Well, once you can change the commands Icinga is executing, you can let Icinga execute anything. This could lead to a privileges escalation. Or am I seeing this wrong?

Cheers Ricardo

icinga-migration commented 9 years ago

Updated by berk on 2015-05-18 12:18:15 +00:00

icinga-migration commented 9 years ago

Updated by mfriedrich on 2015-08-04 19:02:54 +00:00

Afaik there is no runtime validation when referencing a command which does not exist. It will obviously break quite a lot of things. We're currently implementing such a functionality for Icinga 2 with safety triggers for the API. I don't think we should dive into that topic with Icinga 1.x harming more environments than it would certainly help.

I'll therefore close this feature request, sorry.