Thomas Gelf
47bfb2d31d
IcingaObjectImports: add meaningful error...
...
...would have saved me some troubleshooting time
2017-07-14 13:21:42 +02:00
Thomas Gelf
2237272b6b
SyncRule: do not allow to sync unless some...
...
...properties have been defined.
fixes #383
2017-05-03 11:24:22 +02:00
Thomas Gelf
f91dd5fa0e
PropertyModifierCombine: implementation, tests...
...
...and related changes with some documentation
fixes #922
2017-05-03 10:39:49 +02:00
Thomas Gelf
6234648a1f
IcingaEndpoint: work on Zone, not on the id
...
fixes #878
2017-03-29 12:52:54 +02:00
Thomas Gelf
58ba7f9f86
IcingaEndpoint: deploy to where it's Zone is...
...
...to be found
refs #463
2017-03-29 11:41:13 +02:00
Thomas Gelf
3714d2567b
IcingaEndpoint: fix indentation
2017-03-28 20:56:10 +02:00
Thomas Gelf
9f2070dced
IcingaEndpoint: provide getRestApiClient() helper
...
fixes #877
2017-03-28 18:08:27 +02:00
Thomas Gelf
afce89dc98
DirectorActivityLog: log username and ip
...
Logged values are now JSON-encoded
fixes #849
2017-03-15 12:02:08 +01:00
Thomas Gelf
cb9fff90ef
IcingaObject: add new static helper, expose...
...
...existing one
refs #842
2017-03-13 22:03:02 +01:00
Thomas Gelf
bff76dad8e
HostApplyMatches: fix matching for "contains"
...
fixes #803
2017-03-03 09:41:25 +01:00
Thomas Gelf
bfde75a0a2
IcingaServiceSet: import DirectorOverrideTemplate
...
...when rendering services belonging to a set for a single host
fixes #776
2017-02-08 10:04:47 +01: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
c75b4fc6b0
DirectorDatafield: phpcs -> SpacingBeforeClose
2017-01-19 13:58:07 +01:00
Thomas Gelf
b08be6ecc0
DirectorDatafield: do not fail on missing command
...
refs #712
refs #731
2017-01-19 13:55:59 +01:00
Thomas Gelf
164b5bd93d
Fields: fix inheriting fields from commands
...
refs #712
refs #731
2017-01-19 13:50:50 +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
792e58abae
DirectorDatafield: just newlines
2017-01-13 16:39:35 +01:00
Thomas Gelf
f874a79bb4
IcingaObjectFieldLoader: no mandatory field on cmd
...
fixes #12644
2017-01-13 16:05:34 +01:00
Thomas Gelf
40ff51e487
IcingaTemplateResolver: separate concerns...
...
...and make helper accessible
2017-01-13 15:20:04 +01:00
Thomas Gelf
0a9ed6ff39
HostApplyMatches: allow usage for single hosts
...
refs #13849
2017-01-02 10:15:55 +01:00
Thomas Gelf
a9874879dd
TemplateResolver: add new methods for stricter...
...
...path resolution. Also ships related tests
refs #13839
2016-12-30 10:15:25 +01:00
Thomas Gelf
efe6fd35ab
IcingaObject: remove code loading fields...
...
...we now have a dedicated class for this
2016-12-28 12:44:51 +01:00
Thomas Gelf
d4736f4a41
IcingaObject: better way to get resolved props?
2016-12-16 13:21:48 +01:00
Thomas Gelf
241404d9ba
HostApplyMatches: do not skip defaults
...
May avoid errors when working with properties defined only on some of your
hosts
2016-12-16 13:19:02 +01:00
Thomas Gelf
949d6c9b54
IcingaCommandField: one more implementation
2016-12-14 16:36:33 +01:00
Thomas Gelf
5847913987
Fields: add a possibility to show fields based...
...
...on filter rules
2016-12-14 16:36:33 +01:00
Thomas Gelf
4c1ab4dae6
php: just some comments and cleanup
2016-12-13 18:25:14 +01:00
Thomas Gelf
04f9b360da
DirectorDataField: preserve settings in fromDbRow
...
refs #13259
2016-12-13 17:14:58 +01:00
Thomas Gelf
58a64cee78
SyncRule: initialize hasServiceSet
2016-12-13 13:51:41 +01:00
Thomas Gelf
f1a61e2557
ServiceGroup: allow to assign them to services...
...
...via assignment rules
fixes #13415
2016-12-13 09:51:52 +01:00
Thomas Gelf
1acf332f6b
DirectorDataField: whether a field is required...
...
...is a setting
2016-12-07 09:43:16 +01:00
Thomas Gelf
2ea573e338
IcingaVar: use new CustomVar helpers
2016-12-07 08:29:20 +01:00
Thomas Gelf
7dd2ac6b83
IcingaService: enum service vars, not host vars
...
fixes #13359
2016-11-30 09:33:29 +01:00
Thomas Gelf
1e9e15278a
Merge branch 'bugfix/service-set-contraints-13309'
2016-11-30 08:16:47 +01:00
Markus Frosch
4a838ca277
IcingaHostGroup(Legacy): Load zones prefetched
...
refs #13049
2016-11-30 08:12:27 +01:00
Markus Frosch
c2734fd4d4
IcingaHostGroup(Legacy): Render assigned groups to all zones
...
So we still can support hosts with direct groups.
refs #13049
2016-11-30 08:12:27 +01:00
Markus Frosch
aaeca533fc
IcingaConfig/IcingaObject(Legacy): Render dummy notification settings
...
So we avoid warnings about nothing configured.
refs #13049
2016-11-30 08:12:27 +01:00
Markus Frosch
3a8cad2486
IcingaServiceSet: Check if object_name is unique for templates
...
refs #13309
2016-11-28 15:32:41 +01:00
Thomas Gelf
d5131f7fac
Arguments: always render += instead of =
...
This allows to extend existing arguments
fixes #12941
2016-11-15 17:57:02 +01:00
Markus Frosch
4e5dfb097e
IcingaService(Legacy): Fix duplicated rendering of apply
...
refs #13049
2016-11-15 10:52:03 +01:00
Markus Frosch
b40cfd5f05
IcingaHostGroup(Legacy): Fix member rendering with correct attribute
...
refs #13049
2016-11-14 15:36:55 +01:00
Markus Frosch
5ee911ef7c
IcingaObject(Legacy): Fix event_handler rendering
...
refs #13049
2016-11-14 15:32:14 +01:00
Markus Frosch
d4c3be0bf5
IcingaHostGroup|IcingaService(Set): Fix legacy config file extension
...
refs #13049
2016-11-14 15:28:52 +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
116016bbfc
HostApplyMatches: Raise memory_limit for bigger caches
...
refs #13049
2016-11-11 11:49:37 +01:00
Markus Frosch
a8a9278806
IcingaHostGroup(legacy): Render assign to a hostgroup_member list
...
Supporting active-passive and masterless, by writing multiple versions of the object.
refs #13049
2016-11-11 11:49:37 +01:00
Markus Frosch
31520a7d21
IcingaService: Don't even try to render service_set related services
...
refs #12891
2016-11-11 11:49:37 +01:00
Markus Frosch
1a51e55563
Merge branch 'feature/better-import-table'
2016-11-11 11:30:56 +01:00
Markus Frosch
8b5689545c
Sync(Rule): Allow to sync services of a ServiceSet
...
This extends the destination key pattern for Sync.
refs #12891
2016-11-11 11:06:01 +01:00