Commit Graph

80 Commits

Author SHA1 Message Date
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
Thomas Gelf ddd711e5e8 EndpointCommand: add rough status action 2017-01-24 11:09:37 +01:00
Thomas Gelf b7a10d296c phpcs: mostly new PSR-2 SpacingAfter/Before checks 2017-01-13 20:54:52 +01:00
Thomas Gelf 9e771f2d5a Fix phpcs complaints 2017-01-13 19:47:54 +01:00
Thomas Gelf a540fd08aa cli/objects: provide new commands
fixes #12965
2016-11-03 12:32:51 +01:00
Thomas Gelf 6c23a02252 Test: add test suite prototype and command
refs #12905
2016-11-02 19:30:11 +01:00
Thomas Gelf ee0def7d2b Lots of files: make IDE users happy 2016-11-01 18:28:36 +01:00
Thomas Gelf f2f04c44e8 ServiceSet: add CLI command, fix key 2016-10-12 07:31:00 +00:00
Thomas Gelf 274e787cb4 CLI/service: fix issues with multi-column key
fixes #12014
fixes #12673
2016-09-08 18:02:47 +00:00
Thomas Gelf a64e36b111 Settings: remove all legacy getSettings calls 2016-08-30 07:52:48 +00:00
Thomas Gelf 247ff40459 cli/config: add profiler 2016-07-22 17:20:57 +02:00
Thomas Gelf 0a33e4f1ed CLI: support commands
refs #12202
2016-07-22 02:17:06 +02:00
Thomas Gelf 805a7c687c JobsCommand: support standalone 'forever' as...
...shown in the documentation
2016-07-20 17:42:33 +02:00
Thomas Gelf a078efd032 JobsCommand: really run also single jobs 2016-06-28 14:35:03 +02:00
Thomas Gelf e858539d2b ConfigCommand: fix --force 2016-06-28 14:17:49 +02:00
Thomas Gelf 4c9c72d057 JobsCommand: shift 'forever' before checking for...
...single job name

fixes #12043
2016-06-26 13:53:58 +02:00