Commit Graph

155 Commits

Author SHA1 Message Date
Thomas Gelf fad2e83b48 AssignRenderer: allow rule type as string param 2016-03-24 05:35:45 +01:00
Thomas Gelf 5da36490c8 ExtensibleSet: do not render empty arrays 2016-03-23 02:23:21 +01:00
Thomas Gelf 00b5e7c3f1 IcingaConfig: slightly change benchmarks messages 2016-03-20 01:36:44 +01:00
Thomas Gelf cf534b6aa4 IcingaConfig: load all enabled modules on CLI 2016-03-20 01:36:09 +01:00
Thomas Gelf 3e4d2b8626 IcingaConfig: make a couple of methods public 2016-03-19 22:16:24 +01:00
Thomas Gelf 21e541dbba IcingaConfig: deploy timeperiods
fixes #11418
2016-03-19 14:57:22 +01:00
Thomas Gelf 4e70a4a003 TypeFilterSet: fix flipped flapping states 2016-03-18 19:54:08 +01:00
Thomas Gelf 93eccc52a6 AssignRenderer: make filters look better, fix not 2016-03-16 21:48:53 +01:00
Thomas Gelf fdfedbae04 IcingaConfigHelper: render dictionaries sorted
Adjusted test scenario
2016-03-08 09:24:18 +01:00
Thomas Gelf c4d69e1a88 ExtensibleSet: silently ignore null or empty strings 2016-03-05 17:25:23 +01:00
Thomas Gelf 765ef97c80 IcingaConfig: fix related activity for PostgreSQL 2016-03-02 23:53:19 +01:00
Thomas Gelf dca0ea63af IcingaConfig: check for #655 only on MySQL
PostgreSQL binary checksums are always passed as hex
2016-03-02 21:40:35 +01:00
Thomas Gelf 6f35e3cd11 IcingaConfig: protect against ZF #655 2016-03-02 17:12:09 +01:00
Thomas Gelf 2865efde3f Db: add idPgsql helper method 2016-03-02 13:42:37 +01:00
Thomas Gelf 29b1253bea IcingaObject: log former related set state 2016-02-29 22:54:46 +01:00
Thomas Gelf c9a7c9d085 IcingaObject/ExtensibleSet: support toPlainObject 2016-02-29 20:05:38 +01:00
Thomas Gelf 013cc1c67d ExtensibleSet: allow global "set" 2016-02-29 19:00:52 +01:00
Thomas Gelf 4b46330855 ExtensibleSet: do not quote values, adjust tests 2016-02-29 18:30:32 +01:00
Thomas Gelf dcd2823a73 ExtensibleSet: do not render empty arrays 2016-02-29 18:29:58 +01:00
Thomas Gelf 245e632f54 ExtensibleSet: fix tests 2016-02-29 17:37:01 +01:00
Thomas Gelf c25c7ee95b IcingaConfigHelper: allow to render key/op/value 2016-02-29 17:36:12 +01:00
Thomas Gelf 74c0fc2dc6 ExtensibleSet: finish db handling 2016-02-29 17:35:41 +01:00
Thomas Gelf 5427df52e8 State/TypeFilterSet: add new event filter sets 2016-02-29 15:40:18 +01:00
Thomas Gelf bbcac7a00d ExtensibleSet: allow to load stored data 2016-02-29 15:39:25 +01:00
Thomas Gelf cc70193a56 ExtensibleSet: add and test renderer 2016-02-29 12:38:31 +01:00
Thomas Gelf e70de0a4af ExtensibleSet: re-order public/protected methods 2016-02-29 12:25:35 +01:00
Thomas Gelf 23dd4721ec ExtensibleSet: basic implementation & tests 2016-02-29 12:23:08 +01:00
Thomas Gelf 11e5ef0362 IcingaConfigHelper: empty intervals are null 2016-02-28 16:27:06 +01:00
Thomas Gelf 4dde0eaaf6 IcingaConfigHelper: Icinga2 doesn't support 2m 30s 2016-02-28 13:55:16 +01:00
Thomas Gelf a5013cd052 IcingaConfigHelper: output should fit defined tests 2016-02-28 13:26:32 +01:00
Thomas Gelf 3ee9841bc7 IcingaConfigHelper: provide helpers for intervals 2016-02-28 12:40:11 +01:00
Thomas Gelf 8a2bc74e29 IcingaConfig: files checksum should be files-only 2016-02-27 22:14:47 +01:00
Thomas Gelf 0a63c6bde8 IcingaConfig: work with new database fields
This basically helps to detect whether someone travelled back in
time by manually reverting single checks. Hard to explain in a few
lines
2016-02-27 21:06:22 +01:00
Thomas Gelf 343c9471c6 IcingaConfig: binFromDb() - new helper 2016-02-27 18:14:21 +01:00
Thomas Gelf 86f8830bcf Db/Housekeeping: prepare centralized housekeeping 2016-02-27 13:00:07 +01:00
Thomas Gelf 4bc5afb2f8 library/Director: fix PSR2 complaints 2016-02-26 11:58:37 +01:00
Thomas Gelf 518ff61b3f AssignRenderer: initial implementation 2016-02-24 23:00:49 +01:00
Thomas Gelf 1520d6fbf6 IcingaConfig: support the same file content twice 2016-02-23 17:03:52 +01:00
Thomas Gelf 93436bffac IcingaConfig: raise memory limits 2016-02-19 11:34:31 +01:00
Thomas Gelf 35e0830658 IcingaConfig: do not render disabled objectst 2016-02-17 19:59:25 +01:00
Thomas Gelf c6cd99f9db Hooks: remove last traces of Web\Hook 2016-02-17 11:49:56 +01:00
Thomas Gelf c0ee54b81c IcingaConfig:: fix db connection reference 2016-02-10 17:39:56 +01:00
Thomas Gelf 446f378b10 IcingaConfig: get rid of hardcoded zone names 2016-02-09 20:43:13 +01:00
Thomas Gelf 5138501dc1 IcingaConfig: use Benchmark 2016-01-19 16:45:20 +01:00
Thomas Gelf 848e2d2f74 IcingaConfig: hardcode log_duration = 0...
...for auto-generated endpoints only.
2016-01-19 16:30:42 +01:00
Thomas Gelf 4d13f8a9af IcingaConfig: store file statistics 2015-12-18 17:32:17 +01:00
Thomas Gelf 129cc8220b IcingaConfig: add parent zone to auto-zones 2015-12-18 15:42:22 +01:00
Thomas Gelf e2fad6eb79 IcingaConfig: no autoendpoint for existing ones 2015-12-18 11:37:11 +01:00
Thomas Gelf 6d8dc41bab IcingaConfig: no longer generate hardcoded global 2015-12-18 11:33:27 +01:00
Thomas Gelf 6e6c2ee6e5 IcingaConfig: respect inheritance for auto-agents 2015-12-18 11:28:01 +01:00
Thomas Gelf c0206ca2c7 IcingaConfig: auto-generate agent endpoints 2015-12-18 10:53:27 +01:00
Thomas Gelf bc042fc5b1 IcingaConfig: use new deployment rules 2015-12-17 20:33:16 +01:00
Thomas Gelf b73806d69c config/file: show single files 2015-12-17 10:54:38 +01:00
Thomas Gelf 47e31f023b deployment: show more information, cleanup 2015-12-16 16:19:58 +01:00
Thomas Gelf a421e5e608 IcingaConfig: object counts 2015-12-15 17:17:32 +01:00
Thomas Gelf 30ce3d8d4f IcingaConfigFile: add object counter support 2015-12-15 17:14:36 +01:00
Thomas Gelf 942363c65d IcingaConfig: rename fromDb to load 2015-12-15 16:46:19 +01:00
Thomas Gelf bc51c2e81c IcingaConfig: remove duplicate extension 2015-12-12 23:17:03 +01:00
Thomas Gelf b03f5c55ca DbObject: first attempt to seriously use prefetch 2015-12-03 19:43:08 +01:00
Thomas Gelf 71f8b0f107 IcingaConfig: deploy endpoints to their zone 2015-12-03 16:54:52 +01:00
Thomas Gelf b0f98c2d07 IcingaConfig: deploy endpoints, remove 'master' 2015-12-02 16:46:13 +01:00
Thomas Gelf 36d9db4c74 IcingaConfig: handle external zones like ours 2015-12-02 16:10:20 +01:00
Thomas Gelf 9f36a3184f IcingaConfigHelper: add renderExpression 2015-12-02 02:47:49 +01:00
Thomas Gelf 9413c8cdbd IcingaConfig: do not re-deploy external objects 2015-12-01 14:47:10 +01:00
Thomas Gelf 029ee84d33 IcingaConfig: cleanup, hardcode director-global 2015-11-30 15:31:54 +01:00
Thomas Gelf 76b45f04d5 IcingaConfig: start to re-add disabled zone elements 2015-11-14 14:49:45 +01:00
Thomas Gelf 5f9fb8eb83 IcingaConfigHelper: add missing exception class 2015-11-13 23:52:51 +01:00
Thomas Gelf 4f64d79e15 IcingaConfig: tell whether config would change 2015-11-06 09:47:36 +01:00
Thomas Gelf 0db5a43d24 IcingaConfig: define DirectorStageDir constant 2015-11-06 09:38:28 +01:00
Thomas Gelf e02e61abd4 IcingaConfig: separate modification check from store 2015-11-03 09:10:34 +01:00
Thomas Gelf 249b849b08 IcingaConfigHelper: introduce alreadyRendered() 2015-10-16 18:36:43 +02:00
Thomas Gelf 439d4ebc3d IcingaConfg: make use of new ShipConfigFiles hook 2015-10-15 20:35:21 +02:00
Thomas Gelf fc748ff80a IcingaConfig::configFile(): allow custom suffix 2015-10-15 20:02:44 +02:00
Thomas Gelf 9d921eece6 IcingaConfig: (temp) disable zones 2015-08-28 17:52:19 +02:00
Thomas Gelf 51c7a258ce IcingaConfig: start to work on zone magic...
...still incomplete
2015-07-28 15:24:05 +02:00
Thomas Gelf d381fddfff IcingaConfig: add zone name lookup helper and cache 2015-07-28 15:22:48 +02:00
Thomas Gelf f57847cb32 IcingaConfig: add configFile helper method 2015-07-28 15:22:20 +02:00
Thomas Gelf 753d9420c3 IcingaConfig: throw exception when missing 2015-07-24 10:58:02 +02:00
Thomas Gelf ecb3d71760 IcingaConfig: just spaces 2015-07-23 15:38:17 +02:00
Thomas Gelf ec7ad0984b IcingaConfigFile: support string casts 2015-07-23 15:37:35 +02:00
Thomas Gelf b8d312d3fe IcingaConfig: add getFileContents() 2015-07-23 15:37:12 +02:00
Alexander Fuhr da7cc607e5 Db: Fix checksum escaping :) 2015-06-23 16:45:25 +02:00
Thomas Gelf e7dbeef21c IcingaConfig: pgsql workaround :( 2015-06-23 16:10:57 +02:00
Thomas Gelf ae6b7367dc IcingaConfig: generation time is INT (ms) 2015-06-23 16:07:34 +02:00
Thomas Gelf ae4f80444a IcingaConfig: one more pgsql thingy 2015-06-23 16:05:34 +02:00
Thomas Gelf 0e4b781600 IcingaConfig: escape checksums for pgsql 2015-06-23 16:03:56 +02:00
Thomas Gelf 9c5cd31357 IcingaConfig: escape binary checksums for pgsql 2015-06-23 15:13:34 +02:00
Thomas Gelf 676acf0740 Util: new helper class 2015-06-23 14:37:23 +02:00
Thomas Gelf 06935c442d IcingaConfig: pgsql workaround :( 2015-06-23 14:12:39 +02:00
Thomas Gelf 32cca9d2c6 IcingaConfig: fix activity links 2015-06-18 11:01:45 +02:00
Thomas Gelf 48d876556c GeneratedConfig: add simple "show" support 2015-06-18 10:54:44 +02:00
Alexander Fuhr a80c295314 IcingaConfig: generate and store if modified
resolves #9434
2015-06-17 19:03:23 +02:00
Alexander Fuhr 6fcb16ced8 IcingaConfig: Rename fromDb() to generate() 2015-06-17 11:29:55 +02:00
Thomas Gelf a25bb80004 IcingaConfig: add more object types 2015-06-17 10:53:41 +02:00
Thomas Gelf ed8e472cba IcingaConfigFile: remove different implementations
One size fits all ;)
2015-06-17 10:03:31 +02:00
Alexander Fuhr e9e9f91fee IcingaConfigHelper: Use config renderer and escape strings 2015-06-16 17:54:38 +02:00
Alexander Fuhr 61414cbadc IcingaConfig: Add an IcingaConfigRenderer Interface 2015-06-16 17:52:06 +02:00
Thomas Gelf fbc56df500 CustomVariableDictionary: rudimentary rendering 2015-06-15 14:51:06 +02:00
Thomas Gelf 212a36a858 CustomVariableArray: move renderArray to config helper 2015-06-15 14:32:35 +02:00
Alexander Fuhr f103434468 Merge branch 'master' of git.icinga.org:icingaweb2-module-director 2015-06-12 13:42:16 +02:00