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 |
Gunnar Beutner
|
dde483d7a8
|
Make config error messages more awesome.
Refs #5825
|
2014-03-21 15:39:52 +01:00 |
Michael Friedrich
|
1d32c5b2d3
|
Add --no-validate option and skip duplicate validation on (re)start.
Fixes #5800
|
2014-03-19 20:59:18 +01:00 |
Gunnar Beutner
|
caad7a7973
|
Implement the 'apply template' directive.
Refs #5789
|
2014-03-19 12:46:23 +01:00 |
Michael Friedrich
|
ce737ff2f3
|
Change copyright header (again).
Fixes #5424
|
2014-03-19 11:42:47 +01:00 |
Gunnar Beutner
|
f9e8e204f9
|
Fix: Crash when state file is invalid.
Fixes #5361
|
2014-01-28 14:33:21 +01:00 |
Michael Friedrich
|
555d72150a
|
Update copyright header.
Fixes #5424
|
2014-01-09 00:32:11 +01:00 |
Gunnar Beutner
|
3e5af43e4d
|
Don't cache config item properties.
Refs #5400
|
2013-12-20 13:31:13 +01:00 |
Gunnar Beutner
|
38aa231a2d
|
Discard unused config items as early as possibly.
Refs #5400
|
2013-12-20 13:31:13 +01:00 |
Michael Friedrich
|
9452bc7095
|
Only print config validation for existing objects.
Refs #5298
|
2013-12-16 09:39:14 +01:00 |
Gunnar Beutner
|
807d0a47e6
|
Fix spelling mistake in ConfigItem::ActivateItems.
Fixes #5334
|
2013-12-15 18:47:11 +01:00 |
Gunnar Beutner
|
0af81f2da2
|
Fix race conditions in the config compiler.
Fixes #5335
|
2013-12-15 11:54:22 +01:00 |
Gunnar Beutner
|
4563bb355f
|
Fix another race condition in DynamicObject::Start.
Fixes #5330
|
2013-12-14 07:36:49 +01:00 |
Michael Friedrich
|
c66878fa45
|
Add config validation stats.
Fixes #5298
|
2013-12-13 16:53:40 +01:00 |
Gunnar Beutner
|
f8d7f7799e
|
Improve WorkQueue performance
Refs #5327
|
2013-12-13 14:08:06 +01:00 |
Gunnar Beutner
|
b4f2f06b88
|
Implement ParallelWorkQueue class.
Refs #5327
|
2013-12-13 14:08:02 +01:00 |
Gunnar Beutner
|
b5792a0b81
|
Avoid using ConfigItem::GetObject when possible.
Refs #5327
|
2013-12-13 14:07:57 +01:00 |
Gunnar Beutner
|
37179cdf32
|
Improve config compiler performance.
Refs #5327
|
2013-12-13 14:07:37 +01:00 |
Gunnar Beutner
|
41ded2858c
|
Implement scheduled downtimes.
Fixes #3584
|
2013-12-06 13:45:18 +01:00 |
Gunnar Beutner
|
6625346922
|
Speed up config compiler.
Fixes #5255
|
2013-12-03 09:59:21 +01:00 |
Gunnar Beutner
|
f05858d3ad
|
Avoid unnecessary copies when iterating over dictionaries.
Refs #5246
|
2013-12-02 11:07:38 +01:00 |
Gunnar Beutner
|
640136fbdb
|
Make object, type and variable names case-sensitive.
Fixes #5228
|
2013-11-27 12:29:42 +01:00 |
Gunnar Beutner
|
6acc017707
|
Remove namespace qualifiers for boost::make_shared and boost::enable_shared_from_this.
Fixes #5012
|
2013-11-07 08:28:33 +01:00 |
Gunnar Beutner
|
816d0e8d73
|
Fix config validation.
Fixes #4888
|
2013-10-16 13:37:54 +02:00 |
Gunnar Beutner
|
bf1a800e39
|
Update copyright information.
|
2013-09-25 07:45:56 +02:00 |
Gunnar Beutner
|
a7e25beb06
|
Improve config validation.
Fixes #4391
|
2013-09-24 13:13:14 +02:00 |
Gunnar Beutner
|
c9ec28440e
|
Another bugfix for the event order.
|
2013-08-29 19:25:34 +02:00 |
Gunnar Beutner
|
a3eed67774
|
Fix order for startup events.
|
2013-08-29 19:05:06 +02:00 |
Gunnar Beutner
|
911f64c411
|
Fix state file functionality.
|
2013-08-29 10:40:43 +02:00 |