]> granicus.if.org Git - icinga2/log
icinga2
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 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.

10 years agoDB IDO: Set is_connected=1 on identity==node.
Michael Friedrich [Fri, 7 Mar 2014 16:52:24 +0000 (17:52 +0100)]
DB IDO: Set is_connected=1 on identity==node.

Refs #5636

10 years agoMove cluster endpoint/jsonrpc functionality into libremote.
Michael Friedrich [Fri, 7 Mar 2014 16:40:10 +0000 (17:40 +0100)]
Move cluster endpoint/jsonrpc functionality into libremote.

Refs #5690
Refs #5636

10 years agoDB IDO: Clean schema.
Michael Friedrich [Tue, 4 Mar 2014 08:54:58 +0000 (09:54 +0100)]
DB IDO: Clean schema.

Refs #5636

10 years agoDB IDO: Send endpoint authority for status updates.
Michael Friedrich [Fri, 21 Feb 2014 16:26:56 +0000 (17:26 +0100)]
DB IDO: Send endpoint authority for status updates.

Refs #5636

10 years agoDB IDO: Add endpoints/endpointstatus tables.
Michael Friedrich [Fri, 21 Feb 2014 13:12:34 +0000 (14:12 +0100)]
DB IDO: Add endpoints/endpointstatus tables.

Refs #5636

10 years agoWindows build fix.
Gunnar Beutner [Thu, 20 Mar 2014 14:53:08 +0000 (15:53 +0100)]
Windows build fix.

10 years agoAdd missing #include.
Gunnar Beutner [Thu, 20 Mar 2014 14:41:37 +0000 (15:41 +0100)]
Add missing #include.

10 years agoMake duplicate object definitions an error.
Gunnar Beutner [Thu, 20 Mar 2014 14:37:59 +0000 (15:37 +0100)]
Make duplicate object definitions an error.

Fixes #3638

10 years agoMake accessing undefined variables an error (instead of a warning).
Gunnar Beutner [Thu, 20 Mar 2014 14:31:48 +0000 (15:31 +0100)]
Make accessing undefined variables an error (instead of a warning).

Fixes #5809

10 years agoAdd special cases for Array and Dictionary in Value::GetTypeName().
Gunnar Beutner [Thu, 20 Mar 2014 13:28:29 +0000 (14:28 +0100)]
Add special cases for Array and Dictionary in Value::GetTypeName().

Refs #5804

10 years agoImplement union() and intersection() functions.
Gunnar Beutner [Thu, 20 Mar 2014 13:25:40 +0000 (14:25 +0100)]
Implement union() and intersection() functions.

Fixes #5801

10 years agoAdd missing file.
Gunnar Beutner [Thu, 20 Mar 2014 12:45:10 +0000 (13:45 +0100)]
Add missing file.

10 years agoUpdate documentation.
Gunnar Beutner [Thu, 20 Mar 2014 12:04:53 +0000 (13:04 +0100)]
Update documentation.

Refs #5789

10 years agoImplement missing operators for the Value class.
Gunnar Beutner [Thu, 20 Mar 2014 12:02:02 +0000 (13:02 +0100)]
Implement missing operators for the Value class.

Fixes #5804

10 years agoDB IDO/Livestatus: Fix global enabled status values.
Michael Friedrich [Thu, 20 Mar 2014 10:33:59 +0000 (11:33 +0100)]
DB IDO/Livestatus: Fix global enabled status values.

Fixes #5808

10 years agoDocumentation: Cluster naming conventions.
Michael Friedrich [Thu, 20 Mar 2014 09:47:27 +0000 (10:47 +0100)]
Documentation: Cluster naming conventions.

Fixes #5806

10 years agoSet check source to node name as authority, if empty.
Michael Friedrich [Thu, 20 Mar 2014 09:32:52 +0000 (10:32 +0100)]
Set check source to node name as authority, if empty.

Fixes #5805

10 years agoFix formatting issue in the documentation.
Gunnar Beutner [Thu, 20 Mar 2014 05:35:18 +0000 (06:35 +0100)]
Fix formatting issue in the documentation.

Refs #5789

10 years agoClear sticky ack on soft recovery, fix sticky=2, normal=1|0.
Michael Friedrich [Wed, 19 Mar 2014 22:08:01 +0000 (23:08 +0100)]
Clear sticky ack on soft recovery, fix sticky=2, normal=1|0.

Fixes #5365

10 years agoFix missing lock and clear ack comments in RemoveHostAcknowledgement().
Michael Friedrich [Wed, 19 Mar 2014 21:08:28 +0000 (22:08 +0100)]
Fix missing lock and clear ack comments in RemoveHostAcknowledgement().

10 years agoAdd --no-validate option and skip duplicate validation on (re)start.
Michael Friedrich [Wed, 19 Mar 2014 19:59:18 +0000 (20:59 +0100)]
Add --no-validate option and skip duplicate validation on (re)start.

Fixes #5800

10 years agoDebian: Support icinga-cgi-bin as dependency for icinga2-classicui
Markus Frosch [Wed, 19 Mar 2014 19:12:12 +0000 (20:12 +0100)]
Debian: Support icinga-cgi-bin as dependency for icinga2-classicui

Also updated the HTML files and JS stuff that has to be changed for Icinga2.

Fixes #5770

10 years agoUpdate documentation.
Gunnar Beutner [Wed, 19 Mar 2014 19:00:05 +0000 (20:00 +0100)]
Update documentation.

Refs #5789

10 years agoDocumentation: Add cluster scenarios.
Michael Friedrich [Wed, 19 Mar 2014 17:54:02 +0000 (18:54 +0100)]
Documentation: Add cluster scenarios.

Fixes #5443

10 years agoImplement len() and the operators >, >=, < and <=.
Gunnar Beutner [Wed, 19 Mar 2014 12:25:06 +0000 (13:25 +0100)]
Implement len() and the operators >, >=, < and <=.

Refs #5789

10 years agoFix grammar mistake in the documentation.
Gunnar Beutner [Wed, 19 Mar 2014 12:02:59 +0000 (13:02 +0100)]
Fix grammar mistake in the documentation.

Refs #5566

10 years agoMerge branch 'feature/apply-5789' into next
Gunnar Beutner [Wed, 19 Mar 2014 11:48:47 +0000 (12:48 +0100)]
Merge branch 'feature/apply-5789' into next

Fixes #5789

10 years agoUpdate documentation.
Gunnar Beutner [Wed, 19 Mar 2014 11:44:53 +0000 (12:44 +0100)]
Update documentation.

Refs #5789

10 years agoImplement regex() and match() functions.
Gunnar Beutner [Wed, 19 Mar 2014 09:51:09 +0000 (10:51 +0100)]
Implement regex() and match() functions.

Refs #5789

10 years agoMake braces around constant expressions optional.
Gunnar Beutner [Wed, 19 Mar 2014 08:38:45 +0000 (09:38 +0100)]
Make braces around constant expressions optional.

Refs #5789

10 years agoFix the !in operator.
Gunnar Beutner [Tue, 18 Mar 2014 14:48:50 +0000 (15:48 +0100)]
Fix the !in operator.

Refs #5789

10 years agoImplement additional operators: &&, ||, in and !in.
Gunnar Beutner [Tue, 18 Mar 2014 14:29:04 +0000 (15:29 +0100)]
Implement additional operators: &&, ||, in and !in.

Refs #5789

10 years agoMake Value operators const where possible.
Gunnar Beutner [Tue, 18 Mar 2014 11:58:10 +0000 (12:58 +0100)]
Make Value operators const where possible.

Refs #5789

10 years agoAllow arrays as operands in constant expressions.
Gunnar Beutner [Tue, 18 Mar 2014 11:44:09 +0000 (12:44 +0100)]
Allow arrays as operands in constant expressions.

Refs #5789

10 years agoImplement the 'apply template' directive.
Gunnar Beutner [Tue, 18 Mar 2014 10:44:09 +0000 (11:44 +0100)]
Implement the 'apply template' directive.

Refs #5789

10 years agoImplement support for local variables in AExpressions.
Gunnar Beutner [Tue, 18 Mar 2014 07:36:40 +0000 (08:36 +0100)]
Implement support for local variables in AExpressions.

Refs #5789

10 years agoImplement == and != operators for AExpressions.
Gunnar Beutner [Tue, 18 Mar 2014 07:34:56 +0000 (08:34 +0100)]
Implement == and != operators for AExpressions.

Refs #5789

10 years agoChange copyright header (again).
Michael Friedrich [Wed, 19 Mar 2014 00:02:29 +0000 (01:02 +0100)]
Change copyright header (again).

Fixes #5424

10 years agoFixing bad word error "seperate" in documentation.
Markus Frosch [Tue, 18 Mar 2014 19:52:52 +0000 (20:52 +0100)]
Fixing bad word error "seperate" in documentation.

Fixes #5497

10 years agoDocumentation: Update differences 1.x and 2.x.
Michael Friedrich [Tue, 18 Mar 2014 17:10:01 +0000 (18:10 +0100)]
Documentation: Update differences 1.x and 2.x.

Fixes #5497

10 years agoDocumentation: Split 'advanced' into multiple sections.
Michael Friedrich [Tue, 18 Mar 2014 10:18:17 +0000 (11:18 +0100)]
Documentation: Split 'advanced' into multiple sections.

Fixes #5791

10 years agoDocumentation: Add note on dependencies and inherits parents.
Michael Friedrich [Tue, 18 Mar 2014 10:10:01 +0000 (11:10 +0100)]
Documentation: Add note on dependencies and inherits parents.

Fixes #5742

10 years agoEmpty command string on CHANGE_{HOST,SERVICE}_EVENTHANDLER should disable event handlers.
Michael Friedrich [Mon, 17 Mar 2014 17:52:23 +0000 (18:52 +0100)]
Empty command string on CHANGE_{HOST,SERVICE}_EVENTHANDLER should disable event handlers.

Fixes #5670

10 years agoicinga2-{disable,enable}-feature should check if "ln" worked.
Michael Friedrich [Mon, 17 Mar 2014 17:44:06 +0000 (18:44 +0100)]
icinga2-{disable,enable}-feature should check if "ln" worked.

Fixes #5753

10 years agoDocumentation: Fix StateFilterOK for recovery notifications.
Michael Friedrich [Mon, 17 Mar 2014 17:08:05 +0000 (18:08 +0100)]
Documentation: Fix StateFilterOK for recovery notifications.

Refs #5762

10 years agoChown log/pid on startup.
Michael Friedrich [Mon, 17 Mar 2014 17:06:23 +0000 (18:06 +0100)]
Chown log/pid on startup.

Refs #5787

10 years agoInit script shouldn't run config validation as root.
Gunnar Beutner [Mon, 17 Mar 2014 09:14:21 +0000 (10:14 +0100)]
Init script shouldn't run config validation as root.

Fixes #5761

10 years agoAdd StateFilterOK in the example notification config.
Gunnar Beutner [Mon, 17 Mar 2014 08:42:43 +0000 (09:42 +0100)]
Add StateFilterOK in the example notification config.

Fixes #5762

10 years agoAvoid unnecessary async callback.
Gunnar Beutner [Mon, 17 Mar 2014 08:09:55 +0000 (09:09 +0100)]
Avoid unnecessary async callback.

Refs #5748

10 years agoStop checks during shutdown.
Gunnar Beutner [Mon, 17 Mar 2014 08:04:19 +0000 (09:04 +0100)]
Stop checks during shutdown.

Fixes #5784