]> granicus.if.org Git - icinga2/log
icinga2
9 years agoRename VMFrame to ScriptFrame in the unit tests
Gunnar Beutner [Fri, 12 Dec 2014 14:39:15 +0000 (15:39 +0100)]
Rename VMFrame to ScriptFrame in the unit tests

refs #8065

9 years agoFix the clone() methods for the Array and Dictionary class
Gunnar Beutner [Fri, 12 Dec 2014 14:38:06 +0000 (15:38 +0100)]
Fix the clone() methods for the Array and Dictionary class

refs #8065

9 years agoMove the VMFrame class to libbase
Gunnar Beutner [Fri, 12 Dec 2014 14:33:02 +0000 (15:33 +0100)]
Move the VMFrame class to libbase

refs #8065

9 years agoImplement prototype functions
Gunnar Beutner [Fri, 12 Dec 2014 14:19:23 +0000 (15:19 +0100)]
Implement prototype functions

fixes #8065

9 years agoFix debug visualizer for the Value type
Gunnar Beutner [Fri, 12 Dec 2014 13:58:09 +0000 (14:58 +0100)]
Fix debug visualizer for the Value type

fixes #8073

9 years agoDB IDO: Missing last_hard_state column update in {host,service}status tables
Michael Friedrich [Fri, 12 Dec 2014 12:25:10 +0000 (13:25 +0100)]
DB IDO: Missing last_hard_state column update in {host,service}status tables

fixes #8058

9 years agoAdd missing DebugInfo for field accesses
Gunnar Beutner [Fri, 12 Dec 2014 07:58:39 +0000 (08:58 +0100)]
Add missing DebugInfo for field accesses

refs #8062

9 years agoImplement string indexers
Gunnar Beutner [Fri, 12 Dec 2014 05:54:38 +0000 (06:54 +0100)]
Implement string indexers

fixes #8062

9 years agoFix if for non-boolean arguments
Gunnar Beutner [Thu, 11 Dec 2014 20:31:30 +0000 (21:31 +0100)]
Fix if for non-boolean arguments

fixes #8072

9 years agoImplement a way to call methods on objects
Gunnar Beutner [Thu, 11 Dec 2014 20:12:34 +0000 (21:12 +0100)]
Implement a way to call methods on objects

fixes #8071

9 years agoDocumentation: Add note on default notification interval in getting started notificat...
Michael Friedrich [Thu, 11 Dec 2014 18:19:34 +0000 (19:19 +0100)]
Documentation: Add note on default notification interval in getting started notifications.conf

fixes #8070

9 years agoUpdate AUTHORS
Gunnar Beutner [Thu, 11 Dec 2014 18:01:15 +0000 (19:01 +0100)]
Update AUTHORS

refs #8066

9 years agoRemove remarks about setting dictionary value to null to remove the key/value pair
Steve McMaster [Thu, 11 Dec 2014 15:50:50 +0000 (10:50 -0500)]
Remove remarks about setting dictionary value to null to remove the key/value pair

fixes #8066

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoUpdate error message to use the correct lexer token name
Gunnar Beutner [Thu, 11 Dec 2014 14:07:21 +0000 (15:07 +0100)]
Update error message to use the correct lexer token name

refs #7883

9 years agoCli: Don't parse node repository files twice in 'node update-config'
Michael Friedrich [Thu, 11 Dec 2014 13:47:46 +0000 (14:47 +0100)]
Cli: Don't parse node repository files twice in 'node update-config'

refs #7917

9 years agoFix path for the OpenSSL DLLs
Gunnar Beutner [Thu, 11 Dec 2014 12:47:12 +0000 (13:47 +0100)]
Fix path for the OpenSSL DLLs

9 years agoFix unit tests
Gunnar Beutner [Thu, 11 Dec 2014 12:25:06 +0000 (13:25 +0100)]
Fix unit tests

refs #7883

9 years agoRemove the __ prefix from some of the lexer tokens
Gunnar Beutner [Thu, 11 Dec 2014 12:12:35 +0000 (13:12 +0100)]
Remove the __ prefix from some of the lexer tokens

fixes #7883

9 years agoFix another crash in ThreadPool::Stop
Gunnar Beutner [Thu, 11 Dec 2014 08:44:58 +0000 (09:44 +0100)]
Fix another crash in ThreadPool::Stop

refs #8059

9 years agoFix crash in ThreadPool::Stop
Gunnar Beutner [Thu, 11 Dec 2014 08:33:07 +0000 (09:33 +0100)]
Fix crash in ThreadPool::Stop

fixes #8059

9 years agoValidate configuration files during reload
Gunnar Beutner [Thu, 11 Dec 2014 08:27:31 +0000 (09:27 +0100)]
Validate configuration files during reload

fixes #7045

9 years agoImprove error reporting when libmysqlclient or libpq are missing
Gunnar Beutner [Thu, 11 Dec 2014 07:50:28 +0000 (08:50 +0100)]
Improve error reporting when libmysqlclient or libpq are missing

fixes #7882

9 years agoDocumentation: Add import template in dependencies example
Carlos Cesario [Wed, 10 Dec 2014 17:17:27 +0000 (15:17 -0200)]
Documentation: Add import template in dependencies example

fixes #8051

9 years agoCli: Make sure to check for removed nodes only once in 'node update-config'
Michael Friedrich [Wed, 10 Dec 2014 17:48:35 +0000 (18:48 +0100)]
Cli: Make sure to check for removed nodes only once in 'node update-config'

fixes #7917

9 years agoFix set_if for non-numeric boolean values
Gunnar Beutner [Wed, 10 Dec 2014 15:49:00 +0000 (16:49 +0100)]
Fix set_if for non-numeric boolean values

fixes #8049

9 years agoFix missing location information for included files
Gunnar Beutner [Wed, 10 Dec 2014 14:06:09 +0000 (15:06 +0100)]
Fix missing location information for included files

fixes #7927

9 years agoEscape special characters in repository file names
Gunnar Beutner [Wed, 10 Dec 2014 12:20:16 +0000 (13:20 +0100)]
Escape special characters in repository file names

fixes #7618

9 years agoMake ConfigCompiler::HandleInclude return an inline dictionary
Gunnar Beutner [Wed, 10 Dec 2014 10:30:42 +0000 (11:30 +0100)]
Make ConfigCompiler::HandleInclude return an inline dictionary

fixes #8047

9 years agoFix failing unit tests
Gunnar Beutner [Wed, 10 Dec 2014 10:25:20 +0000 (11:25 +0100)]
Fix failing unit tests

refs #8043

9 years agoRemove obsolete unit tests
Gunnar Beutner [Wed, 10 Dec 2014 09:44:15 +0000 (10:44 +0100)]
Remove obsolete unit tests

refs #8043

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

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

fixes #8028

9 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

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

9 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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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>
9 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

9 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

9 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

9 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

9 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

9 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

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

refs #7903

9 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

9 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

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

9 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

9 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

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

9 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>
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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>
9 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

9 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

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

fixes #7862

9 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

9 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>
9 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>
9 years agoUpdate AUTHORS
Gunnar Beutner [Wed, 26 Nov 2014 16:40:24 +0000 (17:40 +0100)]
Update AUTHORS