Thomas Gelf
1903f6e097
Objects: import/export for various types
2018-10-15 15:03:57 +02:00
Markus Frosch
3521b30953
legacy/IcingaHost: Don't render volatile
2018-09-05 12:35:40 +02:00
Thomas Gelf
2045f98016
IcingaServiceForm: allow to define apply rules...
...
...based on templates.
fixes #1359
2018-05-28 15:50:18 +02:00
Thomas Gelf
78bb9c706a
FlappingSupport: dedicated object extension
2018-02-28 09:24:39 +01:00
Markus Frosch
4902f694c1
flapping: Migrate to Icinga 2.8.0 flapping properties
...
Existing property is dropped now, it never was used in director before.
refs #330
2018-01-15 10:10:33 +01:00
Thomas Gelf
5450a00c78
IcingaService: handle use_agent=n by explicitly...
...
...rendering command_endpoint = null
fixes #921
fixes #1013
2017-08-25 08:50:38 +02:00
Thomas Gelf
b21ba5dc54
IcingaHost: add helper methods for Sets, Services
2017-08-18 16:42:56 +02:00
Thomas Gelf
1356733332
IcingaHost: make sure that an Endpoint has a...
...
...Db connection
2017-08-11 17:15:08 +02:00
Thomas Gelf
b2736e1776
ObjectForms: fix weird issues with 'add' forms
2017-07-28 18:46:11 +02:00
Thomas Gelf
29d93512e6
Objects/Icinga(Host|Service): fix typo
2017-07-18 13:36:05 +02:00
Thomas Gelf
2ca7f26b49
SelfService: fix booleans, add new options
...
refs #486
2017-07-14 13:21:42 +02:00
Thomas Gelf
4a0e8df2f2
Host,Service: add check_timeout property
...
fixes #546
2017-07-14 13:21:42 +02:00
Thomas Gelf
8a8540bc3e
IcingaHost: generate API keys
2017-07-14 13:21:42 +02:00
Thomas Gelf
67d802d39a
Host,Service: hide choice property
2017-07-14 13:21:42 +02:00
Thomas Gelf
a9a2295c8a
IcingaObject, Host/Service: add supportsChoices()
2017-07-14 13:21:42 +02:00
Thomas Gelf
f7cbe4a3be
IcingaHost: reference to choices
2017-07-14 13:21:42 +02:00
Thomas Gelf
526492580c
GroupMembershipResolver: refactor from HostGroup
...
This is now a more generic implementation and can serve multiple object types
refs #897
2017-07-14 13:21:42 +02:00
Thomas Gelf
5ae7997f9d
Sync: tune membership resolver
...
Also fixes error on host creation
refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf
45c93b3445
HostGroupMembershipResolver: first implementation
...
refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf
d4b769b8d7
IcingaHost: do not render Endpoint and Zone...
...
...for disabled hosts
fixes #741
2017-01-24 09:45:32 +01:00
Thomas Gelf
9e771f2d5a
Fix phpcs complaints
2017-01-13 19:47:54 +01:00
Thomas Gelf
913d934762
IcingaObject: introduce getSingleResolvedProperty()
...
Motivation: getResolvedProperty() has the effect that objects will fully
resolve all inherited properties, vars and fields. This is overkill in
situations where only a few resolves properties are needed and has quite
an influence on overall rendering performance.
Over time we might completely fade out that part of our resolving logic
as it predates current cache implementations. Meanwhile, we keep two
methods for two (internal) purposes.
2016-11-14 13:25:26 +01:00
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