]> granicus.if.org Git - icinga2/log
icinga2
10 years agoFix crash in RepositoryUtility::AddObject
Gunnar Beutner [Wed, 10 Dec 2014 09:35:18 +0000 (10:35 +0100)]
Fix crash in RepositoryUtility::AddObject

refs #7822

10 years agoAdd log message for heartbeat timeouts
Gunnar Beutner [Wed, 10 Dec 2014 08:56:32 +0000 (09:56 +0100)]
Add log message for heartbeat timeouts

refs #7745

10 years agoImplement a boolean sub-type for the Value class
Gunnar Beutner [Wed, 10 Dec 2014 08:04:49 +0000 (09:04 +0100)]
Implement a boolean sub-type for the Value class

fixes #8043

10 years agoFix operator precedence for %, |, ^, &, in and !in in combination with <
Gunnar Beutner [Tue, 9 Dec 2014 19:48:19 +0000 (20:48 +0100)]
Fix operator precedence for %, |, ^, &, in and !in in combination with <

fixes #8029

10 years agoAllow modifying the name attribute
Gunnar Beutner [Tue, 9 Dec 2014 19:37:20 +0000 (20:37 +0100)]
Allow modifying the name attribute

fixes #8033

10 years agospec: Fix icinga2-ido-* description
Michael Friedrich [Tue, 9 Dec 2014 16:17:53 +0000 (17:17 +0100)]
spec: Fix icinga2-ido-* description

10 years agoDocs: Replace unixcat with nc -U
Michael Friedrich [Tue, 9 Dec 2014 16:16:55 +0000 (17:16 +0100)]
Docs: Replace unixcat with nc -U

fixes #8039

10 years agoImplement more unit tests for typeof()
Gunnar Beutner [Tue, 9 Dec 2014 15:46:29 +0000 (16:46 +0100)]
Implement more unit tests for typeof()

refs #8028

10 years agoFix typeof() for numbers
Gunnar Beutner [Tue, 9 Dec 2014 15:43:09 +0000 (16:43 +0100)]
Fix typeof() for numbers

fixes #8028

10 years agoFix major bugs in windows plugins check_load and check_service
Jean Flach [Tue, 9 Dec 2014 14:38:23 +0000 (15:38 +0100)]
Fix major bugs in windows plugins check_load and check_service

fixes #7881 #7992

10 years agoBuild fix for Windows
Gunnar Beutner [Tue, 9 Dec 2014 14:07:49 +0000 (15:07 +0100)]
Build fix for Windows

10 years agoFix config validation in RepositoryUtility::AddObject
Gunnar Beutner [Tue, 9 Dec 2014 13:55:29 +0000 (14:55 +0100)]
Fix config validation in RepositoryUtility::AddObject

refs #7701

10 years agoImplement heartbeat messages for the cluster
Gunnar Beutner [Tue, 9 Dec 2014 12:17:27 +0000 (13:17 +0100)]
Implement heartbeat messages for the cluster

fixes #7745

10 years agoFix incorrect brace placement
Gunnar Beutner [Mon, 8 Dec 2014 10:43:33 +0000 (11:43 +0100)]
Fix incorrect brace placement

10 years agoAdd unit tests for the typeof() operator
Gunnar Beutner [Mon, 8 Dec 2014 10:03:50 +0000 (11:03 +0100)]
Add unit tests for the typeof() operator

refs #8002

10 years agoAdd missing Flush() call in the CompatLogger class
Gunnar Beutner [Mon, 8 Dec 2014 08:55:40 +0000 (09:55 +0100)]
Add missing Flush() call in the CompatLogger class

fixes #7511

10 years agoImprove output of ToString for type objects
Gunnar Beutner [Mon, 8 Dec 2014 08:12:40 +0000 (09:12 +0100)]
Improve output of ToString for type objects

fixes #8020

10 years agoRegister type objects as global variables
Gunnar Beutner [Mon, 8 Dec 2014 07:49:32 +0000 (08:49 +0100)]
Register type objects as global variables

fixes #8019

10 years agoFix typeof incorrectly returning null for arrays and dictionaries
Gunnar Beutner [Mon, 8 Dec 2014 07:36:03 +0000 (08:36 +0100)]
Fix typeof incorrectly returning null for arrays and dictionaries

fixes #8002

10 years agoMake the ThreadPool spawn fewer threads
Gunnar Beutner [Sat, 6 Dec 2014 18:21:30 +0000 (19:21 +0100)]
Make the ThreadPool spawn fewer threads

10 years agoFix minor memory leak in the config parser
Gunnar Beutner [Sat, 6 Dec 2014 09:23:25 +0000 (10:23 +0100)]
Fix minor memory leak in the config parser

10 years agoUse relative paths for the OpenSSL DLLs
Gunnar Beutner [Sat, 6 Dec 2014 07:07:54 +0000 (08:07 +0100)]
Use relative paths for the OpenSSL DLLs

10 years agoDocs: Explain `nrpe_arguments` in NRPE section
Michael Friedrich [Fri, 5 Dec 2014 19:36:41 +0000 (20:36 +0100)]
Docs: Explain `nrpe_arguments` in NRPE section

People still use it, and it's the best place there, instead of
the general documentation which should not get messed up with
NRPE at all.

refs #5474

10 years agoLivestatus: Fix missing host downtimes/comments
Michael Friedrich [Fri, 5 Dec 2014 15:31:42 +0000 (16:31 +0100)]
Livestatus: Fix missing host downtimes/comments

fixes #7064

10 years agoRename static timer variables
Michael Friedrich [Fri, 5 Dec 2014 14:55:20 +0000 (15:55 +0100)]
Rename static timer variables

10 years agoScriptUtils: Make sure arguments aren't null
Gunnar Beutner [Fri, 5 Dec 2014 13:59:12 +0000 (14:59 +0100)]
ScriptUtils: Make sure arguments aren't null

fixes #8003

10 years agoUse the boost packages from packages.icinga.org
Gunnar Beutner [Fri, 5 Dec 2014 13:05:08 +0000 (14:05 +0100)]
Use the boost packages from packages.icinga.org

10 years agoImplement validator for the check_interval attribute
Gunnar Beutner [Fri, 5 Dec 2014 11:59:57 +0000 (12:59 +0100)]
Implement validator for the check_interval attribute

fixes #7591

10 years agoExecute checks locally if command_endpoint == local endpoint
Michael Friedrich [Fri, 5 Dec 2014 10:35:00 +0000 (11:35 +0100)]
Execute checks locally if command_endpoint == local endpoint

fixes #7863

10 years agoFix warnings when using CMake 3.1.0
Gunnar Beutner [Thu, 4 Dec 2014 21:02:44 +0000 (22:02 +0100)]
Fix warnings when using CMake 3.1.0

fixes #7894

10 years agoFix crash in the unit tests
Gunnar Beutner [Thu, 4 Dec 2014 20:45:15 +0000 (21:45 +0100)]
Fix crash in the unit tests

fixes #7769

10 years agoFix unity builds on Windows
Gunnar Beutner [Thu, 4 Dec 2014 06:17:33 +0000 (07:17 +0100)]
Fix unity builds on Windows

fixes #7644

10 years agocli: Fix node update-config errors
Michael Friedrich [Thu, 4 Dec 2014 16:22:09 +0000 (17:22 +0100)]
cli: Fix node update-config errors

* fix hosts not created if config and inventory.index are missing.
* fix segfault if host already exists in inventory
* fix that newly listed node hosts are not added to the config repo
* fix repository removal of remove host/services on remote nodes
* fix missing/wrong locks for dictionaries
* fix missing directory create/chown

fixes #7518
fixes #7878
fixes #7917
fixes #7891

Conflicts:
lib/cli/objectlistcommand.cpp

10 years agoUse Icinga 1.x Apache conf
Tim Hardeck [Tue, 2 Dec 2014 17:26:29 +0000 (18:26 +0100)]
Use Icinga 1.x Apache conf

This Apache conf is from Icinga 1.x and should work with Apache 2.2 and
2.4.

fixes #7929

10 years agoAdd missing validator for the socket_path attribute
Gunnar Beutner [Tue, 2 Dec 2014 12:43:36 +0000 (13:43 +0100)]
Add missing validator for the socket_path attribute

refs #7901

10 years agoRemove bashisms from some of the shell scripts
Lars Engels [Fri, 14 Nov 2014 17:28:48 +0000 (18:28 +0100)]
Remove bashisms from some of the shell scripts

fixes #7685

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoImplement socket_path attribute for the IdoMysqlConnection class
Gunnar Beutner [Tue, 2 Dec 2014 07:42:21 +0000 (08:42 +0100)]
Implement socket_path attribute for the IdoMysqlConnection class

fixes #7901

10 years agoMove set_permission statement from common to bin
Tim Hardeck [Mon, 1 Dec 2014 19:13:05 +0000 (20:13 +0100)]
Move set_permission statement from common to bin

/var/run/icinga2/cmd was moved from common to bin in Icinga 2.2.0 but
the set_permission statement wasn't moved to bin.

fixes #7914

10 years agoMerge remote-tracking branch 'origin/fix/usr-lib-icinga2_is_not_owned_by_a_package...
Gunnar Beutner [Tue, 2 Dec 2014 07:32:21 +0000 (08:32 +0100)]
Merge remote-tracking branch 'origin/fix/usr-lib-icinga2_is_not_owned_by_a_package-7913'

fixes #7913

10 years agoAdd missing /usr/lib/icinga2 directory to rpm spec
Tim Hardeck [Mon, 1 Dec 2014 18:52:34 +0000 (19:52 +0100)]
Add missing /usr/lib/icinga2 directory to rpm spec

Make sure that the _libexec directory is part of the rpm package
"common".

refs #7913

10 years agoUse _libexecdir instead of static path
Tim Hardeck [Mon, 1 Dec 2014 18:51:11 +0000 (19:51 +0100)]
Use _libexecdir instead of static path

Instead of the static file path /usr/lib/icinga2/ the macro _libexecdir
is used, which is defined at the beginning.

refs #7913

10 years agoFix problem with macro arguments which are not separated by whitespace
Gunnar Beutner [Mon, 1 Dec 2014 14:53:23 +0000 (15:53 +0100)]
Fix problem with macro arguments which are not separated by whitespace

fixes #7314

10 years agoUpdate documentation
Michael Friedrich [Mon, 1 Dec 2014 12:29:42 +0000 (13:29 +0100)]
Update documentation

refs #7903

10 years agoUpdate documentation for 2.2.1
Gunnar Beutner [Mon, 1 Dec 2014 11:09:32 +0000 (12:09 +0100)]
Update documentation for 2.2.1

fixes #7903

10 years agoDon't execute built-in commands on the master in remote command execution mode
Michael Friedrich [Mon, 1 Dec 2014 12:19:07 +0000 (13:19 +0100)]
Don't execute built-in commands on the master in remote command execution mode

fixes #7708

10 years agoFix missing lock in ConfigUpdateHandler()
Michael Friedrich [Mon, 1 Dec 2014 12:18:46 +0000 (13:18 +0100)]
Fix missing lock in ConfigUpdateHandler()

10 years agoFix a memory leak in the ReadLineContext class
Gunnar Beutner [Mon, 1 Dec 2014 09:36:38 +0000 (10:36 +0100)]
Fix a memory leak in the ReadLineContext class

fixes #7602

10 years agoAdd support for Apache 2.4 in the Classic UI config file
Gunnar Beutner [Mon, 1 Dec 2014 09:00:05 +0000 (10:00 +0100)]
Add support for Apache 2.4 in the Classic UI config file

fixes #7739

10 years agoUpdate AUTHORS
Gunnar Beutner [Sat, 29 Nov 2014 19:17:06 +0000 (20:17 +0100)]
Update AUTHORS

10 years agoFix group permission in prepare-dirs
Malte Rabenseifner [Fri, 28 Nov 2014 18:27:31 +0000 (19:27 +0100)]
Fix group permission in prepare-dirs

fixes #7890

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
10 years agoProperly reset the ThreadPool status in Stop
Gunnar Beutner [Fri, 28 Nov 2014 10:32:37 +0000 (11:32 +0100)]
Properly reset the ThreadPool status in Stop

refs #7822

10 years agoFix the Expression unit tests
Gunnar Beutner [Fri, 28 Nov 2014 06:31:37 +0000 (07:31 +0100)]
Fix the Expression unit tests

refs #7822

10 years agoMake the config lexer return an error for unterminated string literals
Gunnar Beutner [Fri, 28 Nov 2014 05:47:52 +0000 (06:47 +0100)]
Make the config lexer return an error for unterminated string literals

fixes #7808

10 years agoMake the config parser thread-safe
Gunnar Beutner [Thu, 27 Nov 2014 07:04:07 +0000 (08:04 +0100)]
Make the config parser thread-safe

fixes #7822

10 years agoShow source line information for the "repl" command
Gunnar Beutner [Fri, 28 Nov 2014 05:28:07 +0000 (06:28 +0100)]
Show source line information for the "repl" command

refs #7805

10 years agoDocs: Fix wrong command reference
Michael Friedrich [Thu, 27 Nov 2014 17:19:38 +0000 (18:19 +0100)]
Docs: Fix wrong command reference

refs #7867

10 years agoCli: Ensure that repository path is created on 'node add' command
Michael Friedrich [Thu, 27 Nov 2014 17:15:14 +0000 (18:15 +0100)]
Cli: Ensure that repository path is created on 'node add' command

fixes #7743

10 years agoUpdate man page for icinga2
Michael Friedrich [Thu, 27 Nov 2014 16:28:49 +0000 (17:28 +0100)]
Update man page for icinga2

$ help2man 'icinga2 daemon' > doc/icinga2.8

fixes #7735

10 years agoDocumentation: Explain macro array support, repeat_key, add icmp example
Michael Friedrich [Thu, 27 Nov 2014 15:57:58 +0000 (16:57 +0100)]
Documentation: Explain macro array support, repeat_key, add icmp example

fixes #7868
fixes #7867

10 years agoRun systemd macros in the correct rpm scripts
Tim Hardeck [Thu, 20 Nov 2014 15:29:17 +0000 (16:29 +0100)]
Run systemd macros in the correct rpm scripts

The systemd Icinga service was moved from the package bin to common in
2.2.0 but most rpm scripts like postun, preun and so on weren't adapted
accordingly.

fixes #7738

10 years agoMove the icinga2-prepare-dirs script to /usr/lib
Gunnar Beutner [Thu, 27 Nov 2014 13:33:26 +0000 (14:33 +0100)]
Move the icinga2-prepare-dirs script to /usr/lib

fixes #7786

10 years agoImplement support for arrays in command arguments
Gunnar Beutner [Wed, 26 Nov 2014 19:43:42 +0000 (20:43 +0100)]
Implement support for arrays in command arguments

fixes #6709

10 years agoDocumentation: Fix wrong wizard information for clients
Christian Jonak [Tue, 25 Nov 2014 17:54:05 +0000 (18:54 +0100)]
Documentation: Fix wrong wizard information for clients

Remote client should not be configured as master, so we need to answer the first question with 'Y'

fixes #7847

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
10 years agoRemove the BuildRequires for yajl-devel (on RHEL 6) because their package is broken
Gunnar Beutner [Thu, 27 Nov 2014 08:53:37 +0000 (09:53 +0100)]
Remove the BuildRequires for yajl-devel (on RHEL 6) because their package is broken

refs #7463

10 years agoFix incorrect operators in GelfWriter::NotificationToUserHandler
Gunnar Beutner [Thu, 27 Nov 2014 08:40:27 +0000 (09:40 +0100)]
Fix incorrect operators in GelfWriter::NotificationToUserHandler

fixes #7866

10 years agoFix crash in CreateCert
Gunnar Beutner [Thu, 27 Nov 2014 08:35:24 +0000 (09:35 +0100)]
Fix crash in CreateCert

fixes #7862

10 years agoRemove the __parent field in the DynamicObject class
Gunnar Beutner [Thu, 27 Nov 2014 05:31:43 +0000 (06:31 +0100)]
Remove the __parent field in the DynamicObject class

refs #7748

10 years agoAdd label option to snmp ckecks
Carlos Cesario [Wed, 26 Nov 2014 18:45:40 +0000 (16:45 -0200)]
Add label option to snmp ckecks

Add label option to snmpv3 and snmp snmp-interface commands. Based on attached files to ticket #7545.

fixes #7545

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoAdd more options to snmp-interface command
Carlos Cesario [Wed, 26 Nov 2014 17:16:55 +0000 (15:16 -0200)]
Add more options to snmp-interface command

Add more options to snmp-interface command based on conf file attached on ticket #7136.

fixes #7136

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoUpdate AUTHORS
Gunnar Beutner [Wed, 26 Nov 2014 16:40:24 +0000 (17:40 +0100)]
Update AUTHORS

10 years agoAdding missing command
Yohan Jarosz [Wed, 26 Nov 2014 10:16:32 +0000 (11:16 +0100)]
Adding missing command

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoAdd build dependency for yajl in the spec file
Gunnar Beutner [Wed, 26 Nov 2014 15:35:29 +0000 (16:35 +0100)]
Add build dependency for yajl in the spec file

fixes #7463

10 years agoFix the init script
Gunnar Beutner [Wed, 26 Nov 2014 05:40:24 +0000 (06:40 +0100)]
Fix the init script

refs #7613

10 years agoDocumentation: Add a note on unique template/object names
Michael Friedrich [Tue, 25 Nov 2014 17:51:53 +0000 (18:51 +0100)]
Documentation: Add a note on unique template/object names

fixes #7671

10 years agoMake sure that user/group exists when starting Icinga 2
Michael Friedrich [Tue, 25 Nov 2014 17:42:13 +0000 (18:42 +0100)]
Make sure that user/group exists when starting Icinga 2

fixes #7173
fixes #7613

10 years agoImplement the %, ^, %=, ^=, &= and |= operators
Gunnar Beutner [Tue, 25 Nov 2014 16:04:20 +0000 (17:04 +0100)]
Implement the %, ^, %=, ^=, &= and |= operators

fixes #7813

10 years agoBuild fix for GCC
Gunnar Beutner [Tue, 25 Nov 2014 11:36:04 +0000 (12:36 +0100)]
Build fix for GCC

refs #7822

10 years agoImplicitly convert Number argument to string for operator +
Gunnar Beutner [Tue, 25 Nov 2014 11:26:49 +0000 (12:26 +0100)]
Implicitly convert Number argument to string for operator +

fixes #7823

10 years agoMove the parser's global variables to the ConfigCompiler class
Gunnar Beutner [Tue, 25 Nov 2014 08:40:32 +0000 (09:40 +0100)]
Move the parser's global variables to the ConfigCompiler class

refs #7822

10 years agoFix parser problem with missing new-lines
Gunnar Beutner [Tue, 25 Nov 2014 07:59:55 +0000 (08:59 +0100)]
Fix parser problem with missing new-lines

refs #7822

10 years agoUse MakeLiteral instead of 'new LiteralExpression'
Gunnar Beutner [Tue, 25 Nov 2014 07:44:47 +0000 (08:44 +0100)]
Use MakeLiteral instead of 'new LiteralExpression'

refs #7822

10 years agoRemove the global m_Expressions variable
Gunnar Beutner [Tue, 25 Nov 2014 07:42:27 +0000 (08:42 +0100)]
Remove the global m_Expressions variable

refs #7822

10 years agoMake SetExpression check whether the LHS is null
Gunnar Beutner [Mon, 24 Nov 2014 16:02:22 +0000 (17:02 +0100)]
Make SetExpression check whether the LHS is null

fixes #7814

10 years agoFix some compiler warnings
Gunnar Beutner [Mon, 24 Nov 2014 17:24:47 +0000 (18:24 +0100)]
Fix some compiler warnings

fixes #7826

10 years agoDisallow - in identifiers
Gunnar Beutner [Mon, 24 Nov 2014 15:54:06 +0000 (16:54 +0100)]
Disallow - in identifiers

fixes #7830

10 years agoImplement the __if and __else keywords
Gunnar Beutner [Mon, 24 Nov 2014 08:53:45 +0000 (09:53 +0100)]
Implement the __if and __else keywords

fixes #7824

10 years agoChange parameter type for include and include_recursive to T_STRING
Gunnar Beutner [Mon, 24 Nov 2014 06:18:37 +0000 (07:18 +0100)]
Change parameter type for include and include_recursive to T_STRING

fixes #7802

10 years agoMove the cast functions into libbase
Gunnar Beutner [Mon, 24 Nov 2014 06:09:51 +0000 (07:09 +0100)]
Move the cast functions into libbase

fixes #7807

10 years agoAdd some more missing unit tests
Gunnar Beutner [Mon, 24 Nov 2014 00:17:54 +0000 (01:17 +0100)]
Add some more missing unit tests

refs #7805

10 years agoAdd missing unit tests to the project file
Gunnar Beutner [Mon, 24 Nov 2014 00:07:00 +0000 (01:07 +0100)]
Add missing unit tests to the project file

refs #7805

10 years agoRemove unused parameter
Gunnar Beutner [Mon, 24 Nov 2014 00:05:19 +0000 (01:05 +0100)]
Remove unused parameter

refs #7805

10 years agoRemove unused code in the ThinMutex class
Gunnar Beutner [Mon, 24 Nov 2014 00:01:39 +0000 (01:01 +0100)]
Remove unused code in the ThinMutex class

refs #7805

10 years agoFix the __return keyword
Gunnar Beutner [Sun, 23 Nov 2014 23:04:26 +0000 (00:04 +0100)]
Fix the __return keyword

fixes #7811

10 years agoFix unary minus operator
Gunnar Beutner [Sun, 23 Nov 2014 22:19:46 +0000 (23:19 +0100)]
Fix unary minus operator

fixes #7815

10 years agoFix scoping for __for
Gunnar Beutner [Sun, 23 Nov 2014 19:43:50 +0000 (20:43 +0100)]
Fix scoping for __for

fixes #7809

10 years agoFix a crash in the "repl" command
Gunnar Beutner [Sun, 23 Nov 2014 18:13:42 +0000 (19:13 +0100)]
Fix a crash in the "repl" command

refs #7805

10 years agoFix the reduce/reduce conflicts
Gunnar Beutner [Sun, 23 Nov 2014 14:20:51 +0000 (15:20 +0100)]
Fix the reduce/reduce conflicts

refs #7800

10 years agoAdd missing return value for ReplCommand::Run
Gunnar Beutner [Sun, 23 Nov 2014 12:41:45 +0000 (13:41 +0100)]
Add missing return value for ReplCommand::Run

refs #7805

10 years agoAdd color tags to the repl command
Gunnar Beutner [Sun, 23 Nov 2014 11:38:16 +0000 (12:38 +0100)]
Add color tags to the repl command

refs #7805

10 years agoImplement more unit tests
Gunnar Beutner [Sun, 23 Nov 2014 11:35:13 +0000 (12:35 +0100)]
Implement more unit tests

refs #7805