Commit Graph

42 Commits

Author SHA1 Message Date
Markus Frosch 1d7cfa343e IcingaHost(Legacy): Render alias with renderLegacyCustomExtensions
refs #12919
2016-11-03 13:46:16 +01:00
Markus Frosch 1502dd9c90 IcingaObject(Legacy): Render display_name as alias
With the execption of Host and Service.

refs #12919
2016-11-03 13:41:44 +01:00
Markus Frosch 31a321e13e IcingaObject(legacy): Add flag to render only supported objects
refs #12919
2016-11-03 13:41:44 +01:00
Thomas Gelf ad7c5bc997 IcingaHost: fix tests 2016-10-25 00:30:12 +00:00
Thomas Gelf 6e83a4fd5b IcingaObjectGroup: provide groups for assign rules 2016-10-24 21:55:02 +00:00
Thomas Gelf 1f660b514a IcingaServiceForm: allow empty name for apply rule 2016-10-22 06:09:10 +00:00
Thomas Gelf 5b4e7509f4 Just a couple of phpcs complaints fixed 2016-10-22 06:08:52 +00:00
Corentin Ardeois e7bd4343b5 Add support for Apply for rules in services
Apply for rules are defined through `apply_for` property
Only Array custom variables will be eligible in apply_for dropdown.

API Example:
```bash
 ./director-curl POST director/service?name=my_service '{"apply_for": "for (checked_tcp_port in host.vars.checked_tcp_ports)" }'
 ```

 Will render as:
 ```
  apply Service "my_service" for (checked_tcp_port in host.vars.checked_tcp_ports) {
      ...
  }
  ```
Feature: https://dev.icinga.org/issues/11976

Depends-On: https://github.com/Icinga/icingaweb2-module-director/pull/20
refs #11976
2016-10-22 06:00:54 +00:00
Thomas Gelf 38eaf4036b IcingaHost: agent-related hint for legacy config 2016-10-09 13:27:38 +00:00
Thomas Gelf c0a8c49d4f show/activitylog: fallback rendering for hosts...
...with obsolete parents, that have been removed in the meantime
2016-10-06 16:29:50 +00:00
Thomas Gelf 8dd7fcd13b IcingaHost, IcingaServiceForm: fix parse error...
...on PHP < 5.5
2016-09-08 11:32:41 +00:00
Thomas Gelf 8171bb8c04 IcingaHost: add methods dealing with overridden...
...service vars
2016-09-08 09:54:23 +00:00
Thomas Gelf 439757d464 IcingaHost: introduce API keys 2016-07-26 09:52:55 +02:00
Thomas Gelf 7dfadf1951 IcingaHost: fix parent zone for agent zone in a...
...satellite zone
2016-05-26 01:36:20 +02:00
Thomas Gelf 9eb9d65bef IcingaHost: pass Config to zone lookup 2016-05-20 08:51:57 +02:00
Thomas Gelf eb25898a63 IcingaHost: make render target checks green 2016-04-20 10:27:32 +02:00
Thomas Gelf 8cfdbbfb1e IcingaHost: improve and extend enumProperties 2016-03-30 19:21:47 +02:00
Thomas Gelf 4119fee9bb IcingaHost: syntax 2016-03-18 11:38:44 +01:00
Thomas Gelf 8bcbf0f45a IcingaObject/Host/Service: provide interval helpers 2016-02-28 14:21:00 +01:00
Thomas Gelf 8c3f38c11b IcingaHost: add name to assign properties...
...and remove internal ones
2016-02-27 09:48:23 +01:00
Thomas Gelf 4bc5afb2f8 library/Director: fix PSR2 complaints 2016-02-26 11:58:37 +01:00
Thomas Gelf 5b3b5cbfb8 IcingaObjects: add new "disabled" property 2016-02-16 12:17:50 +01:00
Thomas Gelf 4e7856bc80 IcingaHost/Service: fix boolean array 2015-12-18 12:07:26 +01:00
Thomas Gelf f8634cf66b IcingaHost: add agent properties 2015-12-17 19:27:01 +01:00
Thomas Gelf 63081474fa IcingaHost: define boolean properties 2015-12-17 19:22:53 +01:00
Thomas Gelf 00cb7bb9d0 IcingaHost: let check command be relation-rendered 2015-12-03 19:43:50 +01:00
Thomas Gelf 8d173b9602 IcingaHost: define relations 2015-12-03 14:20:13 +01:00
Thomas Gelf f0475c2407 IcingaHost: beautify enumProperties 2015-11-25 12:52:57 +01:00
Thomas Gelf d23149bf3e IcingaObject: prepare command object access 2015-11-06 09:49:05 +01:00
Thomas Gelf c4f8425634 IcingaHost: add enumProperties, test for now 2015-10-15 23:48:36 +02:00
Thomas Gelf 8711e877ab IcingaHost: add display_name 2015-08-29 00:05:39 +02:00
Thomas Gelf 3b7cf5a4d4 IcingaHost: use inherited fields support 2015-07-30 11:45:55 +02:00
Alexander Fuhr e4bf3ee370 IcingaHost: Add first basic getFields() method
resolves #9760
2015-07-28 17:37:58 +02:00
Alexander Fuhr b1a7922873 Imports: Start with implementing the imports 2015-06-26 10:39:30 +02:00
Alexander Fuhr 193cb60604 Groups: Add groups support to User, Host and Service 2015-06-16 17:51:01 +02:00
Alexander Fuhr 0e785274bf IcingaHostObject: Fix typo in renderVolatile method 2015-06-15 09:57:48 +02:00
Alexander Fuhr 7e815e70d7 Object/IcingaHost: Add boolean render methods to affected properties 2015-06-12 10:47:05 +02:00
Thomas Gelf 9b34ba6848 IcingaHost: render boolean property, sample 2015-06-08 14:42:28 +02:00
Thomas Gelf 37b5f5ddc7 IcingaHost: show how to state custom var support 2015-06-08 14:42:12 +02:00
Thomas Gelf d2bb7fc9de IcingaHost, IcingaService: render check_command name 2015-06-08 14:41:40 +02:00
Thomas Gelf ca3398247e Activity log: initial basic implementation
fixes #9167
2015-04-24 15:57:01 +02:00
Thomas Gelf 332ec1da4b Initial rough abstractions, basic forms
fixes #9134
2015-04-24 14:26:44 +02:00