Gunnar Beutner
|
e560e1e00c
|
Remove the HostUnreachable state.
Fixes #5944
|
2014-04-08 08:54:49 +02:00 |
Gunnar Beutner
|
2ab208e452
|
Fix invalid timeout for poll().
Fixes #5963
|
2014-04-08 07:11:38 +02:00 |
Gunnar Beutner
|
32e1c02b9a
|
Clean up some of the type checks.
Refs #5925
|
2014-04-07 22:06:05 +02:00 |
Michael Friedrich
|
9ab4b3dd16
|
Remove the 'Icinga' prefix for global constants.
Fixes #5960
|
2014-04-07 21:42:23 +02:00 |
Michael Friedrich
|
aae5f092d4
|
Log warning if apply rule does not match anywhere.
Fixes #5911
Fixes #5957
|
2014-04-07 15:00:14 +02:00 |
Gunnar Beutner
|
cea15e11dc
|
Implement new state and type filters.
Fixes #5906
|
2014-04-07 14:00:18 +02:00 |
Michael Friedrich
|
0e3b387a70
|
Fix missing target types in ScheduledDowntime apply.
Fixes #5955
|
2014-04-07 13:06:28 +02:00 |
Michael Friedrich
|
e97e1cf63f
|
Throw error on missing 'assign' in 'apply'.
Refs #5911
|
2014-04-07 13:04:13 +02:00 |
Michael Friedrich
|
6d8d25175d
|
DB IDO: Fix AddLogHistory() checkable object.
Fixes #5948
|
2014-04-06 18:19:31 +02:00 |
Gunnar Beutner
|
98fba78fe4
|
Remove the escape_macros attribute.
Refs #5855
|
2014-04-06 10:45:50 +02:00 |
Gunnar Beutner
|
5c671eab15
|
Update documentation.
Refs #5925
|
2014-04-06 08:28:28 +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
|
70062b5884
|
Make sure that Utility::GlobRecursive doesn't recurse into . and ..
Fixes #5946
|
2014-04-05 23:23:42 +02:00 |
Gunnar Beutner
|
bc4cacfee9
|
Fix validation problem with relative object names.
Refs #5925
|
2014-04-05 23:23:39 +02:00 |
Gunnar Beutner
|
00fd51e628
|
Implement relative object names.
Fixes #5925
|
2014-04-05 22:17:37 +02:00 |
Michael Friedrich
|
d3b67cf2ed
|
Fix host custom attribute 'address' as runtime macro.
Refs #5855
|
2014-04-05 19:08:46 +02:00 |
Michael Friedrich
|
b9415aad3d
|
Fix typo.
Refs #5855
|
2014-04-05 17:53:37 +02:00 |
Michael Friedrich
|
4966dfd241
|
Provide 1.x fallback using GetName() for address macros.
Refs #5855
|
2014-04-05 17:45:28 +02:00 |
Michael Friedrich
|
e309a5d330
|
Access custom attributes as ${host,service,user}.vars.<name>$.
Refs #5855
|
2014-04-05 17:13:17 +02:00 |
Michael Friedrich
|
34092f0a52
|
Fix legacy attributes by object type.
|
2014-04-05 17:13:05 +02:00 |
Gunnar Beutner
|
d64823858d
|
Fix validation for ScheduledDowntime objects.
Refs #5945
|
2014-04-05 16:27:26 +02:00 |
Gunnar Beutner
|
4ffcd4f403
|
Fix validation for Notification objects.
Fixes #5945
|
2014-04-05 16:26:51 +02:00 |
Gunnar Beutner
|
5e38c81eb5
|
Implement apply target types.
Fixes #5924
|
2014-04-05 13:53:55 +02:00 |
Gunnar Beutner
|
5ccdf017ac
|
Fix macros.
Refs #5855
|
2014-04-05 09:24:11 +02:00 |
Gunnar Beutner
|
c42a582307
|
Rename "short_name", "host" and "sevice" attributes.
Fixes #5857
|
2014-04-05 09:15:40 +02:00 |
Michael Friedrich
|
31e3377897
|
Drop duplicate attribute.
Refs #5855
|
2014-04-04 23:03:20 +02:00 |
Michael Friedrich
|
09cbf18b26
|
Implement 'env' dictionary instead of 'export_macros' array.
Revamp notification runtime macros too.
Refs #5855
|
2014-04-04 22:57:56 +02:00 |
Michael Friedrich
|
aba4f1a0d5
|
Implement $user.<name>$ runtime macros.
Refs #5855
|
2014-04-04 21:36:47 +02:00 |
Michael Friedrich
|
0a0399826f
|
Implement ${host,service}.<name>$ runtime macros.
Refs #5855
|
2014-04-04 20:09:23 +02:00 |
Michael Friedrich
|
e375f15e5b
|
Implement global runtime macros as $icinga.<name>$.
Refs #5855
|
2014-04-04 19:35:47 +02:00 |
Michael Friedrich
|
af621214d4
|
DB IDO: Dump application and command vars.
Refs #5855
|
2014-04-04 16:53:03 +02:00 |
Michael Friedrich
|
17b87c9b2a
|
Add CompatUtility::IsLegacyAttribute().
Refs #5855
|
2014-04-04 16:35:45 +02:00 |
Gunnar Beutner
|
23e9630682
|
Implement host checks.
Refs #5919
|
2014-04-04 15:57:54 +02:00 |
Michael Friedrich
|
5c58eb368c
|
Merge 'macros' and 'custom' attributes into 'vars', part 1.
Refs #5855
|
2014-04-03 11:35:25 +02:00 |
Gunnar Beutner
|
5c72e52903
|
Implement operator - for arrays.
Fixes #5923
|
2014-04-02 17:39:36 +02:00 |
Gunnar Beutner
|
41d0dde52e
|
Allow functions to return values.
Fixes #5922
|
2014-04-02 17:27:04 +02:00 |
Gunnar Beutner
|
0683fca535
|
Allow anonymous functions to be garbage-collected.
Fixes #5921
|
2014-04-02 17:27:04 +02:00 |
Gunnar Beutner
|
ebf8ed3019
|
Remove support for external scripting languages.
Fixes #5920
|
2014-04-02 17:27:04 +02:00 |
Michael Friedrich
|
a05c31cda2
|
CompatUtility: Fix host 2d_coords.
Fixes #5917
|
2014-04-02 14:43:40 +02:00 |
Michael Friedrich
|
3fe169cd7a
|
Graphite/PerfdataWriter: Add host perfdata.
Fixes #5908
|
2014-04-02 14:13:24 +02:00 |
Gunnar Beutner
|
2faf17cb14
|
Fix column information for config errors.
Refs #5901
|
2014-04-01 11:43:53 +02:00 |
Gunnar Beutner
|
5eca503362
|
Support new-lines in addition to commas to separate commands.
Fixes #5901
|
2014-04-01 09:45:57 +02:00 |
Gunnar Beutner
|
2c17305536
|
Implement additional arguments for log().
Fixes #5902
|
2014-04-01 09:33:54 +02:00 |
Gunnar Beutner
|
e3d96eb62d
|
Build fix for FreeBSD.
|
2014-03-31 18:30:57 +02:00 |
Gunnar Beutner
|
036fd3303f
|
Replace $plugindir$ macro with a constant.
Fixes #5877
|
2014-03-31 13:11:36 +02:00 |
Gunnar Beutner
|
b924941488
|
Fix ShowCodeFragment column numbers.
Refs #5893
|
2014-03-31 12:44:18 +02:00 |
Gunnar Beutner
|
d874cbfe5b
|
Fix: Crash when there's a config error in the first line / first column.
Fixes #5893
|
2014-03-31 09:41:07 +02:00 |
Gunnar Beutner
|
aba2a09245
|
Build fix for FreeBSD/OS X.
|
2014-03-31 00:08:43 +02:00 |
Michael Friedrich
|
2f59aa38a3
|
Fix unknown attribute 'notification_type_filter'.
Fixes #5887
|
2014-03-30 16:15:49 +02:00 |
Gunnar Beutner
|
b58c9ee3f8
|
Build fix.
Refs #5780
|
2014-03-30 15:08:29 +02:00 |
Gunnar Beutner
|
397fee13ff
|
Allow "object" and "apply" in AST expressions.
Refs #5870
|
2014-03-30 15:04:53 +02:00 |
Gunnar Beutner
|
7a6172c135
|
Remove support for the deprecated "var" and "set" keywords.
Refs #
|
2014-03-30 10:29:52 +02:00 |
Gunnar Beutner
|
5179eebf09
|
Allow rterm in indexer ops.
Refs #5870
|
2014-03-30 10:00:11 +02:00 |
Gunnar Beutner
|
ec0fdd3fd2
|
Fix operator precedence.
Refs #5870
|
2014-03-30 05:04:58 +02:00 |
Gunnar Beutner
|
04dcceef59
|
Implement Utility::GetSymbolName and Utility::GetSymbolSource for Windows.
Refs #5870
|
2014-03-30 01:20:58 +01:00 |
Gunnar Beutner
|
14084735da
|
Make sure we evaluate "apply" rules in the right order.
Refs #5870
|
2014-03-30 01:20:58 +01:00 |
Gunnar Beutner
|
d00a839620
|
Fix incorrect debug info for "apply" rules.
Refs #5870
|
2014-03-30 01:20:58 +01:00 |
Gunnar Beutner
|
9897358fc6
|
Add missing lock in DeserializeObject().
Refs #5870
|
2014-03-30 01:20:57 +01:00 |
Gunnar Beutner
|
eb30f69454
|
Fix crash in DiagnosticInformation().
Refs #5870
|
2014-03-30 01:20:57 +01:00 |
Gunnar Beutner
|
64aa5d1b09
|
Dump AST execution state in debug mode.
Refs #5878
|
2014-03-29 13:48:04 +01:00 |
Gunnar Beutner
|
6ef2cdb0eb
|
Implement apply support for dependencies.
Refs #5880
|
2014-03-28 23:03:53 +01:00 |
Gunnar Beutner
|
66e769672c
|
Fix failed assertion in ConfigItem::GetProperties.
Refs #5870
|
2014-03-28 23:01:35 +01:00 |
Gunnar Beutner
|
33ae12d084
|
Implement apply support for scheduled downtimes and notifications.
Refs #5880
|
2014-03-28 23:01:33 +01:00 |
Gunnar Beutner
|
8a1bbc0ace
|
Make the real object name available for use in templates.
Refs #5882
|
2014-03-28 19:45:07 +01:00 |
Gunnar Beutner
|
adce8e95bc
|
Move the apply rule handler to the Service class.
Refs #5878
|
2014-03-28 19:45:02 +01:00 |
Gunnar Beutner
|
fa11e5a97e
|
Update example config.
Refs #5878
|
2014-03-28 16:32:15 +01:00 |
Gunnar Beutner
|
0e79abb8f2
|
Implement instance variable "templates" for config objects.
Refs #5884
|
2014-03-28 14:46:19 +01:00 |
Gunnar Beutner
|
8ab39194f1
|
Unknown attributes should be a config error.
Refs #5883
|
2014-03-28 14:25:16 +01:00 |
Gunnar Beutner
|
54063f0b9f
|
Rename __name and __type properties.
Refs #5870
|
2014-03-28 14:17:55 +01:00 |
Gunnar Beutner
|
7ee1278118
|
Implement the new syntax for the "apply" keyword.
Refs #5878
|
2014-03-28 14:00:00 +01:00 |
Gunnar Beutner
|
b289987500
|
Implement the "." operator.
Refs #5876
|
2014-03-28 13:59:56 +01:00 |
Gunnar Beutner
|
de81baf515
|
Remove inline service/notification/downtime definitions.
Refs #5875
|
2014-03-28 11:22:39 +01:00 |
Gunnar Beutner
|
8958d2f69f
|
Implement the "import" keyword.
Refs #5869
|
2014-03-28 11:22:36 +01:00 |
Gunnar Beutner
|
47fe59e4de
|
Windows build fix.
|
2014-03-26 08:23:54 +01:00 |
Gunnar Beutner
|
536562cddd
|
Build fixes.
Refs #5846
|
2014-03-24 12:54:23 +01:00 |
Gunnar Beutner
|
dc415a620a
|
Merge branch 'feature/config-parser-5846' into next
Fixes #5846
|
2014-03-24 12:02:57 +01:00 |
Gunnar Beutner
|
013690e486
|
Remove __parent element for +=, -=, *= and /= operators.
Refs #5846
|
2014-03-24 11:34:41 +01:00 |
Gunnar Beutner
|
c66ac66219
|
Allow semi-colons as separators for lterms.
Refs #5846
|
2014-03-24 11:24:01 +01:00 |
Gunnar Beutner
|
8e699ac0fa
|
Fix scoping rules for object definitions.
Refs #5846
|
2014-03-24 11:23:47 +01:00 |
Gunnar Beutner
|
8bfb60b7fa
|
Improve error message for invalid inline service definitions.
Refs #5846
|
2014-03-24 11:23:05 +01:00 |
Gunnar Beutner
|
4ec939f332
|
Some more variable scoping fixes.
Refs #5846
|
2014-03-24 09:44:18 +01:00 |
Gunnar Beutner
|
3032cf8100
|
Make it easier to call AExpression::Dump from GDB.
Refs #5846
|
2014-03-24 09:27:46 +01:00 |
Gunnar Beutner
|
db2f1b3398
|
Add missing brace.
Refs #5846
|
2014-03-24 09:27:30 +01:00 |
Gunnar Beutner
|
fd1aaa1997
|
Add missing locks.
Refs #5846
|
2014-03-24 09:15:45 +01:00 |
Gunnar Beutner
|
7086b44d3a
|
Fix variable scoping.
Refs #5846
|
2014-03-24 09:10:37 +01:00 |
Gunnar Beutner
|
1aca29afd2
|
Clean up the +=, -=, *= and /= operators.
Refs #5846
|
2014-03-24 09:06:16 +01:00 |
Gunnar Beutner
|
9adc63737a
|
Allow rterms as object names.
Refs #5846
|
2014-03-23 22:41:37 +01:00 |
Gunnar Beutner
|
ddc548bb5d
|
Fix AExpression::ExtractPath.
Refs #5846
|
2014-03-23 19:58:24 +01:00 |
Gunnar Beutner
|
27955843c0
|
Move Addr2Line function to the Utility class.
Refs #5846
|
2014-03-23 19:39:25 +01:00 |
Gunnar Beutner
|
09f1c46714
|
Implement the exit() script function.
Refs #5846
|
2014-03-23 17:26:36 +01:00 |
Gunnar Beutner
|
d23078d6c4
|
Make sure +=, -=, *= and /= behave like they did before.
Refs #5846
|
2014-03-23 17:26:31 +01:00 |
Gunnar Beutner
|
aacc699dd4
|
Refactor the config parser's AST.
Refs #5846
|
2014-03-23 11:27:40 +01:00 |
Gunnar Beutner
|
67d8bc219e
|
Clean up the AExpression class.
Refs #5846
|
2014-03-22 10:29:45 +01:00 |
Gunnar Beutner
|
24e029bdb0
|
Allow values as top-level statements.
Refs #5846
|
2014-03-22 09:50:44 +01:00 |
Gunnar Beutner
|
ddbbd42c4b
|
Implement the log() function.
Refs #5846
|
2014-03-22 09:47:29 +01:00 |
Gunnar Beutner
|
3afad7a96d
|
Implement comparison operators for operands of different types.
Refs #5846
|
2014-03-22 08:40:35 +01:00 |
Gunnar Beutner
|
2a6a75d52e
|
Improve error messages for exceptions in AExpressions.
Refs #5846
|
2014-03-22 08:40:09 +01:00 |
Gunnar Beutner
|
3c067e9547
|
Don't show stack traces for user errors.
Refs #5846
|
2014-03-22 08:38:46 +01:00 |