Commit Graph

1384 Commits

Author SHA1 Message Date
Florian Bachmann b8bf12b951 add "icingacli director hostgroups" CLI command for listing hostgroups defined in Icinga Director 2019-07-04 12:18:20 +02:00
Thomas Gelf 0d405cba98 SyncruleCommand: show number of expected changes
Sample output when there are changes:

    icingaweb2@web:~$ icingacli director syncrule check --id 36
    There are pending changes for this Sync Rule. You should  trigger a new Sync Run.
    Expected modifications: 2x create, 0x modify, 0x delete
    icingaweb2@web:~$ echo $?
    1

...when there are no changes:

    icingaweb2@web:~$ icingacli director syncrule check --id 34
    This Sync Rule is in sync
    icingaweb2@web:~$ echo $?
    0

...and when something failes:

    icingaweb2@web:~$ icingacli director syncrule check --id 32
    This Sync Rule failed: No data has been imported for "Benutzergruppen aus Nagios" yet
    icingaweb2@web:~$ echo $?
    2

fixes #1849
2019-05-27 17:46:43 +02:00
Thomas Gelf 7533334de9 SyncruleController: fix typo 2019-05-27 17:30:42 +02:00
Thomas Gelf cc15cae34a Basket: allow to add external commands and...
...command templates
2019-05-27 17:27:18 +02:00
Thomas Gelf e255471984 IcingaObjectFieldForm: propose command arguments
...for Host and Service Templates
2019-05-27 13:24:33 +02:00
Thomas Gelf db8895ae10 DataTypeDatalist: allow to customize behavior
Available options:
* strict: select box
* suggest_strict: auto-completion, allow only list values
* suggest_optional: Allow for values not on the list
* suggest_extend: Extend the list with new values

fixes #1846
2019-05-06 21:25:44 +02:00
Markus Frosch 92f2f9f44d IcingaConfig: Deprecate magic_apply_for as config feature
fixes #1850
2019-04-30 12:41:53 +02:00
Thomas Gelf baa3ae248f Datafield: fix links and redirections
fixes #1847
2019-04-29 10:45:30 +02:00
Dirk Goetz b70bf7659e ServiceGroup: Make assign optional
fixes #930
2019-04-24 14:02:32 +02:00
Thomas Gelf da909907fd IcingaMultiEditForm: use IcingaObjectFormHook 2019-04-24 11:20:40 +02:00
Thomas Gelf 904ec7c435 ScheduledDowntimes: Hosts with Services, optional
schema, form, rendering

fixes #1831
2019-04-12 12:12:32 +02:00
Thomas Gelf 70618169f1 ObjectsTabs: fix tabs for Choices 2019-04-12 11:58:09 +02:00
Marianne Spiller ef2ecf1f8f
Adding s
Fixing "[CRITICAL] There is no check named 'job'"
2019-04-11 16:49:35 +02:00
Thomas Gelf 91fc186077 ScheduledDowntimes: remove templates for now 2019-04-11 11:17:58 +02:00
Thomas Gelf 8106a6ab6e ScheduledDowntime, Form, activity: tweak links 2019-04-11 08:58:19 +02:00
Thomas Gelf 69c8018f8d IcingaScheduledDowntimeForm: descriptions, cleanup 2019-04-11 02:53:31 +02:00
Thomas Gelf 54b62c7179 ApplRulesTable: allowto link with names 2019-04-11 02:53:31 +02:00
Thomas Gelf cd13b8124b IcingaScheduledDowntimeRangeForm: new form 2019-04-11 02:53:10 +02:00
Thomas Gelf 0178bb4718 IcingaScheduledDowntimeRangeTable: introduce, use 2019-04-11 02:53:10 +02:00
Thomas Gelf 6f790dd118 IcingaScheduledDowntimeForm: assignment elements 2019-04-11 02:34:14 +02:00
Thomas Gelf d53174391d SuggestionController: fix phpcs complaint 2019-04-11 02:34:14 +02:00
Thomas Gelf c72b51c538 ScheduledDowntimes: a bunch of url-related changes 2019-04-11 02:34:14 +02:00
Thomas Gelf f5a5a9c741 IcingaScheduledDowntimeForm: add all properties 2019-04-11 02:34:14 +02:00
Thomas Gelf d6a3d0e229 SuggestController: reduce duplicate code 2019-04-11 02:34:14 +02:00
Thomas Gelf 0c2cb9e484 ScheduledDowntimes: controllers, first form 2019-04-11 02:34:14 +02:00
Thomas Gelf 2615446572 ScheduledDowntime: initial implementation
refs #347
2019-04-11 02:34:14 +02:00
Thomas Gelf 1027084f04 ImportsourceCommand: apply property modifiers...
...on fetch

fixes #1819
2019-04-04 13:16:17 +02:00
Markus Frosch e64ace7ccf IcingaCommandForm: Add warning for command as plain string 2019-03-26 12:02:55 +01:00
Markus Frosch 6a79436af3 IcingaCommand: Allow command to be rendered as string
Icinga 2 allows this from the beginning.
2019-03-26 12:02:35 +01:00
Markus Frosch 977f6ddad4 Allow IcingaService to be cloned to a different host
Similar to the implementation for Service Set.
2019-03-19 14:58:37 +01:00
Thomas Gelf 8046510b1f ServiceapplyrulesController and related changes
fixes #1755
2019-02-15 01:29:43 +01:00
Thomas Gelf 32b71c922c IcingaCloneObjectForm: fix cloning to another Set
fixes #1758
2019-02-14 23:11:45 +01:00
Thomas Gelf 738e4eeaf1 IcingaTimePeriod: support Basket (ExportInterface)
fixes #1735
2019-02-14 22:42:21 +01:00
Thomas Gelf e961f0eb2a BasketUpload: ignore Datafields, they get special
...treatment
2019-02-14 21:57:10 +01:00
Thomas Gelf dc48a7e6a0 KickstartForm: do not fail on missing element 2019-02-14 15:34:51 +01:00
Thomas Gelf 56293f167f SelfServiceController: ship optional Service User
fixes #1297
2019-02-14 15:34:22 +01:00
Thomas Gelf bd16756913 TemplateTree: new loop detection
fixes #1631
2019-02-13 21:43:37 +01:00
Thomas Gelf d35ec0fee6 Tables, Redirector: add highlight for RO users
...and refactor some parts of the code

fixes #1785
2019-02-13 11:41:26 +01:00
Thomas Gelf af2e86d8b8 host/findservice: new route to readonly view 2019-02-10 11:15:05 +01:00
Thomas Gelf 119635d290 SyncruleController: add diff and more for some...
...object types
2019-01-10 15:19:16 +01:00
Thomas Gelf f40f0f0414 SyncruleController: preview improvements 2019-01-10 13:11:20 +01:00
Thomas Gelf bb0bdeb737 SyncruleController: provide a preview tab
fixes #1754
2019-01-10 12:11:30 +01:00
lokidaibel 40656c9dab ServicegroupCommand: new CLI command
Created this to be able to also create Servicegroups over CLI. basically its the same file as HostGroupCommand. Tested in 1.5.1

fixes #1745
2019-01-02 10:23:49 +01:00
Thomas Gelf 788fb452cd RestoreBasketForm: do not fail with a single DB
fixes #1716
2018-12-11 00:26:01 +01:00
Thomas Gelf 8b3f612edd locale: refresh German translation 2018-12-10 18:34:14 +01:00
Thomas Gelf 0c2e3fe1b1 Basket: fix various little issues
fixes #1691
2018-12-10 17:52:56 +01:00
Thomas Gelf ac69d022b6 BasketController: disable dead link 2018-12-10 15:52:24 +01:00
Thomas Gelf b67e0c0017 Basket: add UploadForm
fixes #1731
2018-12-10 15:36:59 +01:00
Markus Frosch 16252822cf phpcs: Fix DataController 2018-11-27 10:56:14 +01:00
Thomas Gelf 7926d558ba DataList: load by name, fix basket 2018-11-26 00:11:35 +01:00