Gunnar Beutner
|
b9fdb3bfd9
|
Make sure that object names aren't empty
fixes #9989
|
2016-05-11 09:48:18 +02:00 |
Michael Friedrich
|
2faf121ff4
|
Remove commentsand downtimes with reference to deleted checkable objects
Silence the warning message and change the log level to notice as well.
fixes #10717
|
2016-05-03 11:30:02 +02:00 |
Michael Friedrich
|
027a23f468
|
Fix: Overwriting global type variables causes crash in ConfigItem::Commit()
fixes #11484
|
2016-03-31 11:43:16 +02:00 |
Gunnar Beutner
|
112f024810
|
Build fix for GCC
refs #9839
|
2016-03-29 14:52:48 +02:00 |
Gunnar Beutner
|
5de9a988d9
|
Improve validation for arrays
fixes #11434
|
2016-03-24 09:15:39 +01:00 |
Gunnar Beutner
|
c06f6d7aeb
|
Fix crash in ConfigItem::RunWithActivationContext
fixes #11085
|
2016-02-04 13:17:37 +01:00 |
Gunnar Beutner
|
599929b0f6
|
Update copyright headers for 2016
|
2016-01-12 08:29:59 +01:00 |
Michael Friedrich
|
323b759a90
|
Fix config validation for templates used as object reference name
fixes #10830
|
2015-12-17 13:49:30 +01:00 |
Gunnar Beutner
|
4ab6f2a985
|
Fix crash in ConfigItem::ActivateItems
refs #10643
|
2015-11-23 17:25:35 +01:00 |
Michael Friedrich
|
d0545c4ea2
|
Fix crash in ConfigItem::ActivateItems
refs #10643
|
2015-11-23 14:02:33 +01:00 |
Gunnar Beutner
|
3505ca3c16
|
Fix race condition in the ConfigItem class
fixes #10643
|
2015-11-19 19:38:49 +01:00 |
Gunnar Beutner
|
e3c75faabc
|
Implement support for recursive object locks
fixes #10596
|
2015-11-11 10:21:30 +01:00 |
Gunnar Beutner
|
701961b73b
|
Fix the 'type' attribute for the Object class
refs #10387
|
2015-11-05 10:29:02 +01:00 |
Gunnar Beutner
|
050c520b2a
|
Convert Comment/Downtime to config objects
fixes #9777
|
2015-10-28 17:56:29 +01:00 |
Gunnar Beutner
|
8136cda367
|
Implement the ignore_on_error keyword
fixes #9960
|
2015-10-05 12:44:11 +02:00 |
Gunnar Beutner
|
6fa58a520c
|
Implement config object sync
Adds object version.
refs #9927
|
2015-09-17 14:20:43 +02:00 |
Michael Friedrich
|
da83bae660
|
Rename config/modules to config/packages
fixes #9953
|
2015-09-01 20:09:04 +02:00 |
Gunnar Beutner
|
827125a69a
|
Clean up the code a bit
refs #9096
|
2015-08-26 06:35:06 +02:00 |
Gunnar Beutner
|
8fc92d8a08
|
Fix crash in ConfigItem::CommitNewItems
refs #9096
|
2015-08-26 06:35:06 +02:00 |
Michael Friedrich
|
0f5287c2b1
|
Add module attribute for ConfigObject and set its origin
fixes #9852
|
2015-08-17 16:08:57 +02:00 |
Gunnar Beutner
|
071d2f18fb
|
Rename DynamicObject/DynamicType to ConfigObject/ConfigType
fixes #9914
|
2015-08-15 20:40:41 +02:00 |
Gunnar Beutner
|
ce2735f10b
|
Fix validation errors when creating objects with the API
refs #9101
|
2015-08-15 20:07:11 +02:00 |
Gunnar Beutner
|
e2290d5012
|
Implement support for unregistering objects
refs #9101
|
2015-08-15 20:07:11 +02:00 |
Gunnar Beutner
|
16ddc12c06
|
Implement support for creating objects
refs #9101
|
2015-08-15 20:07:11 +02:00 |
Gunnar Beutner
|
ec7224e3ed
|
Generate C++ code for type validators
fixes #7709
fixes #8867
|
2015-03-27 07:59:27 +01:00 |
Gunnar Beutner
|
16ef84fd35
|
Use TypeInstance field instead of looking up types by name
fixes #8817
|
2015-03-20 08:15:07 +01:00 |
Gunnar Beutner
|
e22386e63f
|
Make load order for objects more reliable
fixes #8770
|
2015-03-19 15:58:38 +01:00 |
Gunnar Beutner
|
50b1e1cf6b
|
Fix livestatus unit tests
refs #8791
|
2015-03-18 12:11:42 +01:00 |
Gunnar Beutner
|
6c96d5bc98
|
Clean up the start-up process a bit
fixes #8791
|
2015-03-18 11:14:51 +01:00 |
Gunnar Beutner
|
977ca844c7
|
Remove an unnecessary temporary variable
|
2015-03-10 15:23:27 +01:00 |
Gunnar Beutner
|
e50d3e6e5a
|
Fix validator for dependencies
fixes #8596
|
2015-03-09 08:04:18 +01:00 |
Gunnar Beutner
|
c33e78aa04
|
Don't discard config validators
|
2015-03-04 09:12:57 +01:00 |
Gunnar Beutner
|
09038eeb7c
|
Remove unused variable
|
2015-03-02 13:21:06 +01:00 |
Gunnar Beutner
|
4da3b1c5b3
|
Make sure that Notification objects are activated after Host/Service objects
fixes #8517
|
2015-02-25 12:43:38 +01:00 |
Gunnar Beutner
|
97fc5bb10b
|
Implement additional attributes for the Host class
refs #7564
|
2015-02-09 08:50:17 +01:00 |
Gunnar Beutner
|
4896428c06
|
Add path information for objects in objects file
fixes #8371
|
2015-02-05 15:05:07 +01:00 |
Gunnar Beutner
|
d713a6c940
|
Fix incorrect return value for ConfigItem::ActivateItems
refs #8309
|
2015-01-29 14:40:49 +01:00 |
Gunnar Beutner
|
2f44581f14
|
Validate timeperiod segments
fixes #8309
|
2015-01-29 14:14:56 +01:00 |
Michael Friedrich
|
78bfd0204c
|
Update copyright year
|
2015-01-22 12:00:23 +01:00 |
Gunnar Beutner
|
363f23b1d8
|
Rename ScriptFunction to Function
fixes #8258
|
2015-01-21 08:48:38 +01:00 |
Gunnar Beutner
|
a3ea72c4ca
|
Implement the __commit function
refs #8127
|
2014-12-19 13:08:46 +01:00 |
Gunnar Beutner
|
97168378e8
|
Rename _DEBUG to I2_DEBUG
fixes #7767
|
2014-12-19 12:19:28 +01:00 |
Gunnar Beutner
|
9f18211ada
|
Remove obsolete code
refs #7709
|
2014-12-18 15:57:30 +01:00 |
Gunnar Beutner
|
873e294158
|
Refactor the WorkQueue class to make error reporting easier
refs #7709
|
2014-12-18 15:11:57 +01:00 |
Gunnar Beutner
|
28734daa06
|
Fix crash when accessing invalid fields
fixes #8104
|
2014-12-18 11:21:11 +01:00 |
Gunnar Beutner
|
cfd775c948
|
Move the VMFrame class to libbase
refs #8065
|
2014-12-12 15:33:56 +01:00 |
Gunnar Beutner
|
2720333d6e
|
Fix missing location information for included files
fixes #7927
|
2014-12-10 15:06:09 +01:00 |
Gunnar Beutner
|
291b000e09
|
Allow modifying the name attribute
fixes #8033
|
2014-12-09 20:37:20 +01:00 |
Gunnar Beutner
|
358d91e912
|
Remove the __parent field in the DynamicObject class
refs #7748
|
2014-11-27 06:32:12 +01:00 |
Gunnar Beutner
|
f5766f9118
|
Refactor the stack frame handling for scripts
fixes #7748
|
2014-11-22 19:24:03 +01:00 |
Gunnar Beutner
|
334e61037a
|
Split DynamicObject::OnConfigLoaded into two separate events
refs #7780
|
2014-11-21 18:31:37 +01:00 |
Gunnar Beutner
|
0078e00c13
|
Refactor apply/object rules
fixes #7700
|
2014-11-20 21:29:50 +01:00 |
Gunnar Beutner
|
2d53e000c8
|
Refactor the config validator so that it doesn't require serialized objects
refs #7701
|
2014-11-20 13:28:21 +01:00 |
Gunnar Beutner
|
3bb79715fa
|
Fix: Names for nested objects are evaluated at the wrong time
fixes #7689
|
2014-11-15 15:57:56 +01:00 |
Gunnar Beutner
|
79fb24cedb
|
Fix null pointer dereference while parsing the config
|
2014-11-13 23:25:52 +01:00 |
Gunnar Beutner
|
ee980a788b
|
Clean up the code a bit
|
2014-11-11 23:06:47 +01:00 |
Gunnar Beutner
|
ec109b04dd
|
Refactor the AST
refs #7622
|
2014-11-10 12:06:25 +01:00 |
Gunnar Beutner
|
478f03b49a
|
Replace boost::shared_ptr with boost::intrusive_ptr
refs #7622
|
2014-11-09 16:54:41 +01:00 |
Gunnar Beutner
|
4bb535fc47
|
Discard unnamed config items as early as possible
|
2014-11-09 04:17:34 +01:00 |
Gunnar Beutner
|
25ee5dd1fd
|
Fix problem with missing config items
|
2014-11-08 14:24:17 +01:00 |
Gunnar Beutner
|
e1c95d4fa0
|
Improve config compiler's memory usage
|
2014-11-08 13:21:51 +01:00 |
Gunnar Beutner
|
4eb37563b4
|
Improve memory usage for the config compiler
|
2014-11-05 08:55:00 +01:00 |
Gunnar Beutner
|
170c5a59e4
|
Implement typeof() function
|
2014-11-03 00:45:14 +01:00 |
Gunnar Beutner
|
db3887d09e
|
Make the 'name' attribute available in object definitions
fixes #7538
|
2014-11-01 06:39:21 +01:00 |
Gunnar Beutner
|
1811f8689b
|
Make sure templates are never evaluated on their own
fixes #7536
|
2014-11-01 05:12:13 +01:00 |
Gunnar Beutner
|
c10da708ff
|
Fix incorrect locks
|
2014-10-28 18:57:30 +01:00 |
Gunnar Beutner
|
76444027e9
|
Fix: Don't validate templates
refs #7458
|
2014-10-28 12:20:35 +01:00 |
Gunnar Beutner
|
3dc2f82345
|
Implement validation for "repository add"
fixes #7458
|
2014-10-28 11:55:25 +01:00 |
Gunnar Beutner
|
7559273359
|
Replace cJSON with YAJL
fixes #7452
|
2014-10-26 20:00:35 +01:00 |
Gunnar Beutner
|
2d5e9514a5
|
Refactor logging code
|
2014-10-19 17:52:17 +02:00 |
Gunnar Beutner
|
b18f57a745
|
Remove logger_fwd.hpp
|
2014-10-19 14:50:39 +02:00 |
Gunnar Beutner
|
8cc6368954
|
Implement generic color support for terminals
fixes #7396
|
2014-10-17 20:44:17 +02:00 |
Gunnar Beutner
|
feeb550654
|
Rename AExpression to Expression
|
2014-10-16 17:44:06 +02:00 |
Gunnar Beutner
|
15358c6e95
|
Fix missing error messages (part 2)
refs #7331
|
2014-10-01 16:01:47 +01:00 |
Gunnar Beutner
|
a08f4588eb
|
Add error message for missing imports (and possibly other errors)
fixes #7331
|
2014-10-01 15:13:11 +01:00 |
Gunnar Beutner
|
308ba45102
|
Improve error message for duplicate objects
refs #6070
|
2014-09-09 14:49:21 +02:00 |
Gunnar Beutner
|
e359c55909
|
Add debug hints for attributes
refs #6702
|
2014-08-16 09:37:17 +02:00 |
Gunnar Beutner
|
0443c85bf5
|
Implement support for writing the icinga2.debug file
refs #6702
|
2014-08-15 21:00:26 +02:00 |
Michael Friedrich
|
43dd9729d7
|
Change log message identifier for libconfig.
Refs #6346
|
2014-05-28 14:42:00 +02:00 |
Gunnar Beutner
|
632026cd9f
|
Rename C++ header files.
Fixes #6291
|
2014-05-25 16:27:14 +02:00 |
Gunnar Beutner
|
9c3e399188
|
Remove unnecessary includes.
Fixes #6189
|
2014-05-11 18:11:32 +02:00 |
Gunnar Beutner
|
0c31bae792
|
Config validator: Make sure that objects are not abstract.
Fixes #6148
|
2014-05-09 19:40:56 +02:00 |
Gunnar Beutner
|
45270f1bb8
|
Refactor the agent and cluster components.
Refs #6107
|
2014-05-08 09:13:04 +02:00 |
Gunnar Beutner
|
b1dab6c074
|
Implement support for the "package" keyword.
Refs #6107
|
2014-05-08 09:13:04 +02:00 |
Michael Friedrich
|
e04d200d36
|
Allow EvaluateRules() to keep rules for the next iteration.
Refs #6105
|
2014-05-02 00:23:29 +02:00 |
Michael Friedrich
|
3c2dae1804
|
Evaluate object rules (group assign) before and after creating objects with apply rules.
Refs #6105
|
2014-05-01 23:51:42 +02:00 |
Gerd von Egidy
|
19afcd894a
|
Split ConfigItem::ActivateItems() into ConfigItem::ValidateItems() and ConfigItem::ActivateItems().
Also removes the -Z commandline parameter: won't be needed when this feature is done.
Refs #5788
|
2014-04-29 10:34:01 +02:00 |
Michael Friedrich
|
7a147d268e
|
Add group assign/ignore rules.
Fixes #5910
|
2014-04-23 15:50:00 +02:00 |
Gunnar Beutner
|
a16ef350e2
|
Avoid unnecessary copies for DynamicType::GetObjects.
Fixes #5987
|
2014-04-09 12:22:23 +02:00 |
Gunnar Beutner
|
ad42367999
|
Refactor name helper classes a bit.
Refs #5925
|
2014-04-06 08:15:07 +02:00 |
Gunnar Beutner
|
020eaf99ab
|
Fix yet another validation issue.
Refs #5925
|
2014-04-05 23:23:49 +02:00 |
Gunnar Beutner
|
8d81f4b90a
|
Fix another bug with relative object names.
Refs #5925
|
2014-04-05 23:23:49 +02:00 |
Gunnar Beutner
|
00fd51e628
|
Implement relative object names.
Fixes #5925
|
2014-04-05 22:17:37 +02:00 |
Gunnar Beutner
|
c42a582307
|
Rename "short_name", "host" and "sevice" attributes.
Fixes #5857
|
2014-04-05 09:15:40 +02:00 |
Gunnar Beutner
|
66e769672c
|
Fix failed assertion in ConfigItem::GetProperties.
Refs #5870
|
2014-03-28 23:01:35 +01:00 |
Gunnar Beutner
|
54063f0b9f
|
Rename __name and __type properties.
Refs #5870
|
2014-03-28 14:17:55 +01:00 |
Gunnar Beutner
|
8958d2f69f
|
Implement the "import" keyword.
Refs #5869
|
2014-03-28 11:22:36 +01:00 |
Gunnar Beutner
|
013690e486
|
Remove __parent element for +=, -=, *= and /= operators.
Refs #5846
|
2014-03-24 11:34:41 +01:00 |
Gunnar Beutner
|
8e699ac0fa
|
Fix scoping rules for object definitions.
Refs #5846
|
2014-03-24 11:23:47 +01:00 |
Gunnar Beutner
|
aacc699dd4
|
Refactor the config parser's AST.
Refs #5846
|
2014-03-23 11:27:40 +01:00 |