Commit Graph

95 Commits

Author SHA1 Message Date
Thomas Gelf 1c30412abd DirectorActivityLog, others: constants, cleanup 2022-08-20 20:41:07 +02:00
Thomas Gelf e1d7a639d3 ServiceCommand: return after setting overrides 2022-07-20 10:15:00 +02:00
Thomas Gelf a34d5c15ef ServiceCommand: improve readability 2022-07-20 08:54:27 +02:00
Thomas Gelf 1f3b039395 OverrideHelper: centralize applying overrides 2022-07-20 08:52:10 +02:00
Thomas Gelf 6d0b9310c3 Object/ServiceCommand: some more refactoring 2022-07-20 08:48:09 +02:00
Thomas Gelf 02bed9265a ServiceCommand: extract override-logic 2022-07-20 08:34:05 +02:00
Thomas Gelf 050553164d ServiceCommand: allow magic overrides
fixes #2560
2022-07-12 11:27:42 +02:00
Thomas Gelf 0539819d4c ConditionalDeployment, ConfigCommand: wording
fixes #2523
2022-04-13 14:07:24 +02:00
Thomas Gelf 70e8c06b06 ConfigCommand: don't wait when no deployment...
...took place

fixes #2522
2022-04-13 13:55:47 +02:00
Thomas Gelf 9afa3313ab cli: implement deployment grace period and...
...refactor/restructure related code to achieve the same behavior on CLI and
via automated job

fixes #2499
2022-03-22 10:46:36 +01:00
Gianluca Piccolo 04ba8d12cf Add --wait opt to cli deploy 2021-04-20 14:26:54 +02:00
Thomas Gelf 93222099ad BacketCommand: allow to purge objects on restore
fixes #2201
2021-04-15 08:30:32 +02:00
Thomas Gelf bc7ab2e6be ImportsourceCommand: show eventual JSON errors 2021-03-01 15:30:33 +01:00
Gianluca Piccolo 533d2d7b77 Add key param to deployment status cli 2020-10-07 19:24:49 +02:00
Gianluca Piccolo 0a54fda6b6 Add deployment status cli 2020-10-07 19:24:49 +02:00
Thomas Gelf d795ad3c8e BenchmarkCommand: add more flattening tests 2020-01-10 12:31:40 +01:00
Thomas Gelf e7cfabfe29 ConfigCommand: remove obsolete code 2019-10-16 10:54:11 +02:00
Thomas Gelf ef541f92af JobsCommand: load enabled modules 2019-09-26 12:43:07 +02:00
Thomas Gelf 4ee3ef2fd9 Daemon: new implementation 2019-09-25 12:10:08 +02:00
Eric Lippmann d56ba2ed94 CLI: Apply modifiers in 'importsource fetch'
refs #1819
2019-09-11 22:48:48 +02:00
Thomas Gelf 0e0bc3fb5d various: some little fixes 2019-09-11 22:36:36 +02:00
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
Marianne Spiller ef2ecf1f8f
Adding s
Fixing "[CRITICAL] There is no check named 'job'"
2019-04-11 16:49:35 +02:00
Thomas Gelf 1027084f04 ImportsourceCommand: apply property modifiers...
...on fetch

fixes #1819
2019-04-04 13:16:17 +02: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 cf6e4536ea Util: drop bin2hex/hex2bin helpers
We dropped support for PHP 5.3, this is no longer required
2018-10-30 15:32:17 +01:00
Thomas Gelf 4c3c81c275 JobsCommand: explicitly load with ID
fixes #1677
2018-10-17 09:05:20 +02:00
Thomas Gelf 5c3e220d4b Basket: provide CLI command 2018-10-15 15:03:57 +02:00
Thomas Gelf 77c4997b88 Various: explicit loading with ID where required
...cleanup, comments
2018-10-15 15:03:57 +02:00
Markus Frosch 4675a241a8 Integrate MembershipHousekeeping into Housekeeping 2018-09-18 12:21:19 +02:00
Markus Frosch 7bfe1e03e6 Housekeeping: Add helper to refresh memberships in database
This is usually only done when either object or group changes.
2018-09-18 10:36:45 +02:00
Thomas Gelf 4268221603 ImportsourceCommand: add fetch action
fixes #1626
2018-09-05 13:32:17 +02:00
Thomas Gelf 8929b41df0 Import/Export: refine action names, docs
refs #1409
2018-08-13 08:04:00 +02:00
Thomas Gelf 7ffc64d9ed ExportCommand: fix documentation 2018-06-12 21:36:58 +02:00
Thomas Gelf 34bff74797 ImportCommand: initial implementation 2018-06-11 20:09:25 +02:00
Thomas Gelf cdcf99592b ServiceCommand: allow to delete single services
fixes #719
2018-06-08 22:02:27 +02:00
Thomas Gelf 927591501c Export: first bunch of exportable Director objects
ImportSource, SyncRule, Datafield and more

refs #1409
2018-06-01 18:44:07 +02:00
Thomas Gelf 02dfac1b8b Revert "Export: first bunch of exportable Director objects"
Wrong branch, not yet for the master

This reverts commit 721700c62f.
2018-05-29 12:40:14 +02:00
Thomas Gelf 721700c62f Export: first bunch of exportable Director objects
ImportSource, SyncRule, Datafield and more

refs #1409
2018-05-29 12:34:18 +02:00
Thomas Gelf f49276372a cli: add SyncruleCommand
fixes #1476
2018-04-27 18:14:56 +02:00
Thomas Gelf d001d4a9be cli: add ImportsourceCommand
fixes #1474
2018-04-27 15:06:45 +02:00
Thomas Gelf 2f3e8c406f HealthCommand: add PluginOutputBeautifier 2018-01-22 10:01:29 +01:00
Thomas Gelf 781a4db763 HealthCheck: add a 'deployment' section
fixes #1280
2017-11-10 09:59:56 +01:00
Thomas Gelf c5bbc5a1fa HealthCommand: compare overall numeric state...
...not the object itself
2017-11-09 10:10:26 +01:00
Thomas Gelf 9f6771f09e CLI: health check plugin
fixes #1278
2017-11-08 15:31:56 +01:00
Marc DeTrano 6bea1eff41 Implement Icinga Dependency Configuration. 2017-09-28 11:01:27 +02:00
Thomas Gelf 7fd94fb5bd Jobs, Kickstart: raise limits, try to work...
...around GC bugs

refs #1056
2017-08-04 11:31:43 +02:00
Thomas Gelf 1e1f62f3f4 BenchmarkCommand: add full hg membership resolver
refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf abc18ffd95 ServicesetsCommand: allow to list/fetch sets...
...on CLI

fixes #828
2017-03-02 15:48:42 +01:00