]> granicus.if.org Git - icinga2/log
icinga2
10 years agoFix: Crash when there's a config error in the first line / first column.
Gunnar Beutner [Mon, 31 Mar 2014 07:39:49 +0000 (09:39 +0200)]
Fix: Crash when there's a config error in the first line / first column.

Fixes #5893

10 years agoUse $HOSTADDRESS$ in the ITL commands.
Gunnar Beutner [Mon, 31 Mar 2014 06:48:01 +0000 (08:48 +0200)]
Use $HOSTADDRESS$ in the ITL commands.

Fixes #5895

10 years agoBuild fix for FreeBSD/OS X.
Gunnar Beutner [Mon, 31 Mar 2014 00:08:15 +0000 (02:08 +0200)]
Build fix for FreeBSD/OS X.

10 years agoCluster: Store config with default '.conf' suffix.
Michael Friedrich [Sun, 30 Mar 2014 19:49:21 +0000 (21:49 +0200)]
Cluster: Store config with default '.conf' suffix.

Refs #5860

10 years agoFix ClusterListener 'peers' attribute validation.
Michael Friedrich [Sun, 30 Mar 2014 16:33:28 +0000 (18:33 +0200)]
Fix ClusterListener 'peers' attribute validation.

Refs #5870

10 years agoUpdate documentation.
Gunnar Beutner [Sun, 30 Mar 2014 15:43:59 +0000 (17:43 +0200)]
Update documentation.

Refs #5870

10 years agoUpdate the SNMP auto-discovery script.
Gunnar Beutner [Sun, 30 Mar 2014 15:00:03 +0000 (17:00 +0200)]
Update the SNMP auto-discovery script.

Refs #5870

10 years agoFix unknown attribute 'notification_type_filter'.
Michael Friedrich [Sun, 30 Mar 2014 14:15:49 +0000 (16:15 +0200)]
Fix unknown attribute 'notification_type_filter'.

Fixes #5887

10 years agoConfig: Fix IcingaMacros const identifier.
Michael Friedrich [Sun, 30 Mar 2014 14:12:30 +0000 (16:12 +0200)]
Config: Fix IcingaMacros const identifier.

10 years agoBuild fix.
Gunnar Beutner [Sun, 30 Mar 2014 13:08:29 +0000 (15:08 +0200)]
Build fix.

Refs #5780

10 years agoAllow "object" and "apply" in AST expressions.
Gunnar Beutner [Sun, 30 Mar 2014 13:04:53 +0000 (15:04 +0200)]
Allow "object" and "apply" in AST expressions.

Refs #5870

10 years agoUpdate documentation.
Gunnar Beutner [Sun, 30 Mar 2014 10:38:59 +0000 (12:38 +0200)]
Update documentation.

Refs #5870

10 years agoMerge branch 'feature/config-5870' into next
Gunnar Beutner [Sun, 30 Mar 2014 09:58:32 +0000 (11:58 +0200)]
Merge branch 'feature/config-5870' into next

Fixes #5845
Fixes #5848
Fixes #5870
Fixes #5872
Fixes #5875
Fixes #5876
Fixes #5878
Fixes #5880
Fixes #5882
Fixes #5883
Fixes #5884
Fixes #5885

10 years agoUpdate documentation.
Gunnar Beutner [Sun, 30 Mar 2014 09:52:39 +0000 (11:52 +0200)]
Update documentation.

Refs #5870

10 years agoRemove support for the deprecated "var" and "set" keywords.
Gunnar Beutner [Sun, 30 Mar 2014 08:28:44 +0000 (10:28 +0200)]
Remove support for the deprecated "var" and "set" keywords.

Refs #

10 years agoAllow rterm in indexer ops.
Gunnar Beutner [Sun, 30 Mar 2014 08:00:11 +0000 (10:00 +0200)]
Allow rterm in indexer ops.

Refs #5870

10 years agoFix operator precedence.
Gunnar Beutner [Sun, 30 Mar 2014 03:04:58 +0000 (05:04 +0200)]
Fix operator precedence.

Refs #5870

10 years agoImplement Utility::GetSymbolName and Utility::GetSymbolSource for Windows.
Gunnar Beutner [Sun, 30 Mar 2014 00:18:30 +0000 (01:18 +0100)]
Implement Utility::GetSymbolName and Utility::GetSymbolSource for Windows.

Refs #5870

10 years agoMake sure we evaluate "apply" rules in the right order.
Gunnar Beutner [Sat, 29 Mar 2014 22:18:31 +0000 (23:18 +0100)]
Make sure we evaluate "apply" rules in the right order.

Refs #5870

10 years agoFix incorrect debug info for "apply" rules.
Gunnar Beutner [Sat, 29 Mar 2014 22:04:05 +0000 (23:04 +0100)]
Fix incorrect debug info for "apply" rules.

Refs #5870

10 years agoAdd missing lock in DeserializeObject().
Gunnar Beutner [Sat, 29 Mar 2014 22:03:19 +0000 (23:03 +0100)]
Add missing lock in DeserializeObject().

Refs #5870

10 years agoFix crash in DiagnosticInformation().
Gunnar Beutner [Sat, 29 Mar 2014 22:02:55 +0000 (23:02 +0100)]
Fix crash in DiagnosticInformation().

Refs #5870

10 years agoDump AST execution state in debug mode.
Gunnar Beutner [Sat, 29 Mar 2014 12:48:04 +0000 (13:48 +0100)]
Dump AST execution state in debug mode.

Refs #5878

10 years agoUpdate documentation.
Gunnar Beutner [Sat, 29 Mar 2014 00:13:28 +0000 (01:13 +0100)]
Update documentation.

Refs #5878

10 years agoUpdate auto-discovery scripts.
Gunnar Beutner [Fri, 28 Mar 2014 22:14:37 +0000 (23:14 +0100)]
Update auto-discovery scripts.

Refs #5878

10 years agoImplement apply support for dependencies.
Gunnar Beutner [Fri, 28 Mar 2014 22:03:53 +0000 (23:03 +0100)]
Implement apply support for dependencies.

Refs #5880

10 years agoFix failed assertion in ConfigItem::GetProperties.
Gunnar Beutner [Fri, 28 Mar 2014 22:00:20 +0000 (23:00 +0100)]
Fix failed assertion in ConfigItem::GetProperties.

Refs #5870

10 years agoImplement apply support for scheduled downtimes and notifications.
Gunnar Beutner [Fri, 28 Mar 2014 21:58:05 +0000 (22:58 +0100)]
Implement apply support for scheduled downtimes and notifications.

Refs #5880

10 years agoMake the real object name available for use in templates.
Gunnar Beutner [Fri, 28 Mar 2014 18:45:07 +0000 (19:45 +0100)]
Make the real object name available for use in templates.

Refs #5882

10 years agoMove the apply rule handler to the Service class.
Gunnar Beutner [Fri, 28 Mar 2014 17:26:46 +0000 (18:26 +0100)]
Move the apply rule handler to the Service class.

Refs #5878

10 years agoUpdate example config.
Gunnar Beutner [Fri, 28 Mar 2014 15:32:15 +0000 (16:32 +0100)]
Update example config.

Refs #5878

10 years agoImplement instance variable "templates" for config objects.
Gunnar Beutner [Fri, 28 Mar 2014 13:46:19 +0000 (14:46 +0100)]
Implement instance variable "templates" for config objects.

Refs #5884

10 years agoUnknown attributes should be a config error.
Gunnar Beutner [Fri, 28 Mar 2014 13:25:16 +0000 (14:25 +0100)]
Unknown attributes should be a config error.

Refs #5883

10 years agoRename __name and __type properties.
Gunnar Beutner [Fri, 28 Mar 2014 12:52:29 +0000 (13:52 +0100)]
Rename __name and __type properties.

Refs #5870

10 years agoImplement the new syntax for the "apply" keyword.
Gunnar Beutner [Fri, 28 Mar 2014 12:25:40 +0000 (13:25 +0100)]
Implement the new syntax for the "apply" keyword.

Refs #5878

10 years agoImplement the "." operator.
Gunnar Beutner [Fri, 28 Mar 2014 11:17:22 +0000 (12:17 +0100)]
Implement the "." operator.

Refs #5876

10 years agoRemove inline service/notification/downtime definitions.
Gunnar Beutner [Fri, 28 Mar 2014 10:21:59 +0000 (11:21 +0100)]
Remove inline service/notification/downtime definitions.

Refs #5875

10 years agoImplement the "import" keyword.
Gunnar Beutner [Thu, 27 Mar 2014 11:30:24 +0000 (12:30 +0100)]
Implement the "import" keyword.

Refs #5869

10 years agoUpdate the SNMP auto-discovery script.
Gunnar Beutner [Wed, 26 Mar 2014 18:40:32 +0000 (19:40 +0100)]
Update the SNMP auto-discovery script.

Refs #5861

10 years agoUpdate discover-snmp.py script.
Gunnar Beutner [Wed, 26 Mar 2014 11:04:55 +0000 (12:04 +0100)]
Update discover-snmp.py script.

Refs #5861

10 years agoAdd discover-snmp.py script.
Gunnar Beutner [Wed, 26 Mar 2014 09:41:08 +0000 (10:41 +0100)]
Add discover-snmp.py script.

Refs #5861

10 years agoAdd check plugin for net-snmp extend checks.
Gunnar Beutner [Wed, 26 Mar 2014 08:04:32 +0000 (09:04 +0100)]
Add check plugin for net-snmp extend checks.

Fixes #5861

10 years agoWindows build fix.
Gunnar Beutner [Wed, 26 Mar 2014 07:23:54 +0000 (08:23 +0100)]
Windows build fix.

10 years agoRename "none" time period to "never."
Gunnar Beutner [Tue, 25 Mar 2014 09:08:28 +0000 (10:08 +0100)]
Rename "none" time period to "never."

10 years agoDocument the exit() function.
Gunnar Beutner [Mon, 24 Mar 2014 12:51:58 +0000 (13:51 +0100)]
Document the exit() function.

Refs #5846

10 years agoBuild fixes.
Gunnar Beutner [Mon, 24 Mar 2014 11:54:23 +0000 (12:54 +0100)]
Build fixes.

Refs #5846

10 years agoFix the PostgreSQL schema.
Gunnar Beutner [Mon, 24 Mar 2014 11:42:32 +0000 (12:42 +0100)]
Fix the PostgreSQL schema.

Fixes #5849

10 years agoMerge branch 'feature/config-parser-5846' into next
Gunnar Beutner [Mon, 24 Mar 2014 11:02:57 +0000 (12:02 +0100)]
Merge branch 'feature/config-parser-5846' into next

Fixes #5846

10 years agoUpdate documentation.
Gunnar Beutner [Mon, 24 Mar 2014 11:01:56 +0000 (12:01 +0100)]
Update documentation.

Refs #5846

10 years agoRemove __parent element for +=, -=, *= and /= operators.
Gunnar Beutner [Mon, 24 Mar 2014 10:34:41 +0000 (11:34 +0100)]
Remove __parent element for +=, -=, *= and /= operators.

Refs #5846

10 years agoAllow semi-colons as separators for lterms.
Gunnar Beutner [Mon, 24 Mar 2014 10:24:01 +0000 (11:24 +0100)]
Allow semi-colons as separators for lterms.

Refs #5846

10 years agoFix scoping rules for object definitions.
Gunnar Beutner [Mon, 24 Mar 2014 10:23:47 +0000 (11:23 +0100)]
Fix scoping rules for object definitions.

Refs #5846

10 years agoImprove error message for invalid inline service definitions.
Gunnar Beutner [Mon, 24 Mar 2014 10:23:05 +0000 (11:23 +0100)]
Improve error message for invalid inline service definitions.

Refs #5846

10 years agoSome more variable scoping fixes.
Gunnar Beutner [Mon, 24 Mar 2014 08:44:18 +0000 (09:44 +0100)]
Some more variable scoping fixes.

Refs #5846

10 years agoMake it easier to call AExpression::Dump from GDB.
Gunnar Beutner [Mon, 24 Mar 2014 08:27:46 +0000 (09:27 +0100)]
Make it easier to call AExpression::Dump from GDB.

Refs #5846

10 years agoAdd missing brace.
Gunnar Beutner [Mon, 24 Mar 2014 08:27:30 +0000 (09:27 +0100)]
Add missing brace.

Refs #5846

10 years agoAdd missing locks.
Gunnar Beutner [Mon, 24 Mar 2014 08:15:45 +0000 (09:15 +0100)]
Add missing locks.

Refs #5846

10 years agoFix variable scoping.
Gunnar Beutner [Mon, 24 Mar 2014 08:10:37 +0000 (09:10 +0100)]
Fix variable scoping.

Refs #5846

10 years agoClean up the +=, -=, *= and /= operators.
Gunnar Beutner [Mon, 24 Mar 2014 08:06:16 +0000 (09:06 +0100)]
Clean up the +=, -=, *= and /= operators.

Refs #5846

10 years agoAllow rterms as object names.
Gunnar Beutner [Sun, 23 Mar 2014 21:41:37 +0000 (22:41 +0100)]
Allow rterms as object names.

Refs #5846

10 years agoFix AExpression::ExtractPath.
Gunnar Beutner [Sun, 23 Mar 2014 18:58:24 +0000 (19:58 +0100)]
Fix AExpression::ExtractPath.

Refs #5846

10 years agoMove Addr2Line function to the Utility class.
Gunnar Beutner [Sun, 23 Mar 2014 18:39:25 +0000 (19:39 +0100)]
Move Addr2Line function to the Utility class.

Refs #5846

10 years agoImplement the exit() script function.
Gunnar Beutner [Sun, 23 Mar 2014 16:26:36 +0000 (17:26 +0100)]
Implement the exit() script function.

Refs #5846

10 years agoMake sure +=, -=, *= and /= behave like they did before.
Gunnar Beutner [Sun, 23 Mar 2014 16:26:31 +0000 (17:26 +0100)]
Make sure +=, -=, *= and /= behave like they did before.

Refs #5846

10 years agoRefactor the config parser's AST.
Gunnar Beutner [Sun, 23 Mar 2014 10:27:40 +0000 (11:27 +0100)]
Refactor the config parser's AST.

Refs #5846

10 years agoClean up the AExpression class.
Gunnar Beutner [Sat, 22 Mar 2014 09:29:45 +0000 (10:29 +0100)]
Clean up the AExpression class.

Refs #5846

10 years agoAllow values as top-level statements.
Gunnar Beutner [Sat, 22 Mar 2014 08:50:44 +0000 (09:50 +0100)]
Allow values as top-level statements.

Refs #5846

10 years agoImplement the log() function.
Gunnar Beutner [Sat, 22 Mar 2014 08:47:29 +0000 (09:47 +0100)]
Implement the log() function.

Refs #5846

10 years agoImplement comparison operators for operands of different types.
Gunnar Beutner [Sat, 22 Mar 2014 07:40:35 +0000 (08:40 +0100)]
Implement comparison operators for operands of different types.

Refs #5846

10 years agoImprove error messages for exceptions in AExpressions.
Gunnar Beutner [Sat, 22 Mar 2014 07:40:09 +0000 (08:40 +0100)]
Improve error messages for exceptions in AExpressions.

Refs #5846

10 years agoDon't show stack traces for user errors.
Gunnar Beutner [Sat, 22 Mar 2014 07:38:46 +0000 (08:38 +0100)]
Don't show stack traces for user errors.

Refs #5846

10 years agoAdd a note for packagers.
Michael Friedrich [Fri, 21 Mar 2014 17:22:17 +0000 (18:22 +0100)]
Add a note for packagers.

Refs #5842

10 years agoMake host 'check' attribute available in legacy interfaces.
Michael Friedrich [Fri, 21 Mar 2014 16:57:24 +0000 (17:57 +0100)]
Make host 'check' attribute available in legacy interfaces.

Fixes #5764

10 years agoFix location messages.
Gunnar Beutner [Fri, 21 Mar 2014 15:01:32 +0000 (16:01 +0100)]
Fix location messages.

Refs #5825

10 years agoMake config error messages friendler.
Gunnar Beutner [Fri, 21 Mar 2014 14:58:13 +0000 (15:58 +0100)]
Make config error messages friendler.

Refs #5825

10 years agoShow additional lines for config errors.
Gunnar Beutner [Fri, 21 Mar 2014 14:51:55 +0000 (15:51 +0100)]
Show additional lines for config errors.

Refs #5825

10 years agoBuild fix.
Gunnar Beutner [Fri, 21 Mar 2014 14:41:00 +0000 (15:41 +0100)]
Build fix.

10 years agoMake config error messages more awesome.
Gunnar Beutner [Fri, 21 Mar 2014 14:39:25 +0000 (15:39 +0100)]
Make config error messages more awesome.

Refs #5825

10 years agoDocumentation: Fix anchor.
Michael Friedrich [Fri, 21 Mar 2014 14:15:51 +0000 (15:15 +0100)]
Documentation: Fix anchor.

10 years agoAdd line number info to duplicate object error message.
Gunnar Beutner [Fri, 21 Mar 2014 13:48:18 +0000 (14:48 +0100)]
Add line number info to duplicate object error message.

Refs #5825

10 years agoFix path names in DebugInfo objects.
Gunnar Beutner [Fri, 21 Mar 2014 13:43:45 +0000 (14:43 +0100)]
Fix path names in DebugInfo objects.

Refs #5825

10 years agoDocumentation: Revamp schemas, add livestatus details.
Michael Friedrich [Fri, 21 Mar 2014 10:54:33 +0000 (11:54 +0100)]
Documentation: Revamp schemas, add livestatus details.

Refs #5608

10 years agoImprove line number information.
Gunnar Beutner [Fri, 21 Mar 2014 09:22:59 +0000 (10:22 +0100)]
Improve line number information.

Fixes #5825

10 years agoSet check source only on local instance (empty authority).
Michael Friedrich [Fri, 21 Mar 2014 09:08:42 +0000 (10:08 +0100)]
Set check source only on local instance (empty authority).

Fixes #5824

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
10 years agoRevert "DB IDO: Add check_source_object_id reference to endpoint objects."
Michael Friedrich [Fri, 21 Mar 2014 09:09:34 +0000 (10:09 +0100)]
Revert "DB IDO: Add check_source_object_id reference to endpoint objects."

There's not necessarily a 1:1 relation between the check source node
name and the endpoint name.

This reverts commit a26df23e3d55abee4d0bd3c34da49d63702d209f.

Refs #5810
Refs #5636

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
10 years agoResolve relative paths for StackTrace::Addr2Line.
Gunnar Beutner [Fri, 21 Mar 2014 07:44:16 +0000 (08:44 +0100)]
Resolve relative paths for StackTrace::Addr2Line.

Fixes #5792

10 years agoDocumentation: Configure cluster node name.
Michael Friedrich [Thu, 20 Mar 2014 21:16:01 +0000 (22:16 +0100)]
Documentation: Configure cluster node name.

10 years agoDocumentation: Add 'contribute' section.
Michael Friedrich [Thu, 20 Mar 2014 20:24:39 +0000 (21:24 +0100)]
Documentation: Add 'contribute' section.

10 years agoMerge branch 'feature/db-endpoints-5636' into next
Michael Friedrich [Thu, 20 Mar 2014 18:34:05 +0000 (19:34 +0100)]
Merge branch 'feature/db-endpoints-5636' into next

Fixes #5636
Fixes #5690
Fixes #5810
Fixes #5811
Fixes #5812

10 years agoLivestatus: Add missing test.
Michael Friedrich [Thu, 20 Mar 2014 18:26:40 +0000 (19:26 +0100)]
Livestatus: Add missing test.

Refs #5812

10 years agoDocumentation: Add schema extensions.
Michael Friedrich [Thu, 20 Mar 2014 18:17:15 +0000 (19:17 +0100)]
Documentation: Add schema extensions.

Refs #5636
Refs #5811
Refs #5812

10 years agoLivestatus: Add check_source to services table.
Michael Friedrich [Thu, 20 Mar 2014 18:15:19 +0000 (19:15 +0100)]
Livestatus: Add check_source to services table.

Refs #5636
Refs #5812

10 years agoLivestatus: Add endpoints table.
Michael Friedrich [Thu, 20 Mar 2014 17:53:08 +0000 (18:53 +0100)]
Livestatus: Add endpoints table.

Refs #5636
Refs #5811

10 years agoDB IDO: Add check_source_object_id reference to endpoint objects.
Michael Friedrich [Thu, 20 Mar 2014 17:02:45 +0000 (18:02 +0100)]
DB IDO: Add check_source_object_id reference to endpoint objects.

Refs #5810
Refs #5636

10 years agoDB IDO: Add status/history references from local node to endpoint object.
Michael Friedrich [Thu, 20 Mar 2014 16:40:27 +0000 (17:40 +0100)]
DB IDO: Add status/history references from local node to endpoint object.

Refs #5636

10 years agoDB IDO: Use node name for local status updates.
Michael Friedrich [Thu, 20 Mar 2014 14:41:45 +0000 (15:41 +0100)]
DB IDO: Use node name for local status updates.

Refs #5636

10 years agoRevert "DB IDO: Add endpoint id to history tables, part 1."
Michael Friedrich [Thu, 20 Mar 2014 14:29:22 +0000 (15:29 +0100)]
Revert "DB IDO: Add endpoint id to history tables, part 1."

This reverts commit 5e2308b065427e15f96dbdcbfe65e6dfded9575e.

10 years agoDB IDO: Additional endpoint object id tables.
Michael Friedrich [Mon, 10 Mar 2014 15:13:01 +0000 (16:13 +0100)]
DB IDO: Additional endpoint object id tables.

Refs #5636

10 years agoFix Windows build.
Michael Friedrich [Mon, 10 Mar 2014 14:00:14 +0000 (15:00 +0100)]
Fix Windows build.

Refs #5636

10 years agoDB IDO: Add endpoint id to history tables, part 1.
Michael Friedrich [Fri, 7 Mar 2014 17:24:54 +0000 (18:24 +0100)]
DB IDO: Add endpoint id to history tables, part 1.