3005 Commits

Author SHA1 Message Date
Thomas Gelf
a6962dc326 Dashboard: show description if any 2016-12-14 12:33:19 +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
2cfa78af14 FieldLoader: do not fail missing fields
One might have toggled template or command, sent values for missing fields
might therefore be perfectly legal and should be silently ignored

refs #13241
2016-12-13 16:57:32 +01:00
Thomas Gelf
e60fdb31b8 DirectorObjectForm: move check_command to main
fixes #13551
2016-12-13 16:57:05 +01:00
Thomas Gelf
e207bb2bc9 DirectorObjectForm: resolve ids 2016-12-13 16:34:31 +01:00
Thomas Gelf
bb25de6126 FieldLoader: fix field handling issues
fixes #13241
fixes #13259
2016-12-13 16:34:31 +01:00
Thomas Gelf
c1e80afff4 Boolean: fix multiedit-related issues
fixes #13131
2016-12-13 16:04:09 +01:00
Thomas Gelf
7c6a10013f AssignFilter: add 'contains' operator
fixes #13133
2016-12-13 14:49:36 +01:00
Thomas Gelf
58a64cee78 SyncRule: initialize hasServiceSet 2016-12-13 13:51:41 +01:00
Thomas Gelf
d2adc1b4ec IcingaObjectFieldLoader: attach fields to form...
...before adding them to a display group. Many thanks to Marc DeTrano for
troubleshooting this tricky issue.

fixes #13279
2016-12-13 12:46:45 +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
57a450f878 Monitoring: add host state helper 2016-12-06 08:55:55 +01:00
Thomas Gelf
962e545a79 CustomVariable: add new helper methods
toJson, checksum, render - will be used later on
2016-12-06 08:35:27 +01:00
Thomas Gelf
0bb1df2f77 CubeLinks: implement Cube v1.0.0 action hook
fixes #13379
2016-12-01 15:08:04 +01:00
Christoph Niemann
ddc4b9321b agent helper: add new linux agent script
fixes #12910
2016-11-30 09:45:34 +01:00
Thomas Gelf
7dd2ac6b83 IcingaService: enum service vars, not host vars
fixes #13359
2016-11-30 09:33:29 +01:00
Thomas Gelf
2ce84baa70 BaseTestCases: make 'em abstract to not be empty 2016-11-30 09:23:36 +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
Markus Frosch
ab169e4b78 DbObject: Add and use DuplicateKeyException 2016-11-28 15:32:41 +01:00
Markus Frosch
d7ddb3e63c Add IcingaObjectTestCase for testing IcingaObjects 2016-11-28 15:32:41 +01:00
Thomas Gelf
72bb29694d multi-edit: show deployment link 2016-11-25 20:51:02 +01:00
Thomas Gelf
42f98e9bbf CubeLinks: fit modified Cube API 2016-11-25 20:50:31 +01:00
Thomas Gelf
db61528748 CustomVariable: fix issues with PHP bug #43200
fixes #13271
2016-11-21 22:44:31 +01:00
Thomas Gelf
b39e7efce7 ObjectForm: allow to preset imports 2016-11-16 16:02:28 +01:00
Thomas Gelf
5407c4fe7c ObjectsController: template table for templates...
...but load the other one first to trick the autoloader
2016-11-16 13:36:07 +01:00
Thomas Gelf
698d523c88 js: put focus on first form element 2016-11-16 13:20:31 +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
Thomas Gelf
a6928a8bc1 CustomVariable: render expressions in Arrays...
...and introduce a new abstract method
2016-11-14 10:17:52 +01:00
Thomas Gelf
d32f22d493 Config: do not count twice for benchmark 2016-11-14 10:17:52 +01:00
Markus Frosch
ae70de9755 IcingaServiceSetTable: Fix counter to show distinct counted values
refs #12891
2016-11-11 15:18:21 +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
Markus Frosch
ddd59ab274 IcingaServiceSet: A simple key identifies a ServiceSet (template)
refs #12891
2016-11-11 11:06:01 +01:00
Markus Frosch
b08f3df882 IcingaServiceSet*: Improve Table and view
Add filter and pagination, and some nice display features.

refs #12891
2016-11-11 10:44:22 +01:00
Markus Frosch
39538a3f33 SyncRule: Support hasCombinedKey for serviceSet
refs #12891
2016-11-11 10:44:22 +01:00