]> granicus.if.org Git - icinga2/log
icinga2
9 years agoRemove unnecessary includes
Gunnar Beutner [Mon, 15 Dec 2014 09:16:06 +0000 (10:16 +0100)]
Remove unnecessary includes

9 years agoDisable impersonation for the "repl" command
Gunnar Beutner [Mon, 15 Dec 2014 07:37:34 +0000 (08:37 +0100)]
Disable impersonation for the "repl" command

refs #7805

9 years agoRemove unused code
Gunnar Beutner [Mon, 15 Dec 2014 05:03:13 +0000 (06:03 +0100)]
Remove unused code

refs #8074

9 years agoMake sure IcingaApplication::GetVars returns a default value
Gunnar Beutner [Mon, 15 Dec 2014 05:02:59 +0000 (06:02 +0100)]
Make sure IcingaApplication::GetVars returns a default value

refs #8074

9 years agoAllow if/else in rterms
Gunnar Beutner [Sun, 14 Dec 2014 13:08:41 +0000 (14:08 +0100)]
Allow if/else in rterms

refs #8074

9 years agoOnly implicitly convert strings to indexers
Gunnar Beutner [Sun, 14 Dec 2014 10:55:44 +0000 (11:55 +0100)]
Only implicitly convert strings to indexers

refs #8074

9 years agoRefactor how variable scopes work
Gunnar Beutner [Sun, 14 Dec 2014 10:33:45 +0000 (11:33 +0100)]
Refactor how variable scopes work

refs #8074

9 years agoMake sure Serialize() doesn't fail for objects which don't have a registered type
Gunnar Beutner [Sat, 13 Dec 2014 20:41:17 +0000 (21:41 +0100)]
Make sure Serialize() doesn't fail for objects which don't have a registered type

fixes #7895

9 years agoBackport i2tcl's error reporting functionality into "icinga2 repl"
Gunnar Beutner [Sat, 13 Dec 2014 20:16:55 +0000 (21:16 +0100)]
Backport i2tcl's error reporting functionality into "icinga2 repl"

fixes #8078

9 years agoImplement the 'global' keyword to differentiate between variable scopes
Gunnar Beutner [Sat, 13 Dec 2014 16:48:58 +0000 (17:48 +0100)]
Implement the 'global' keyword to differentiate between variable scopes

refs #8074

9 years agoFix operator precedence for =>
Gunnar Beutner [Sat, 13 Dec 2014 13:06:19 +0000 (14:06 +0100)]
Fix operator precedence for =>

refs #8030

9 years agoRemove obsolete unit test
Gunnar Beutner [Sat, 13 Dec 2014 12:54:24 +0000 (13:54 +0100)]
Remove obsolete unit test

refs #8040

9 years agoImplement support for lambdas
Gunnar Beutner [Sat, 13 Dec 2014 11:18:26 +0000 (12:18 +0100)]
Implement support for lambdas

refs #8030

9 years agoImprove error messages for failed expressions
Gunnar Beutner [Fri, 12 Dec 2014 20:21:04 +0000 (21:21 +0100)]
Improve error messages for failed expressions

fixes #8076

9 years agoDisallow calling strings as functions
Gunnar Beutner [Fri, 12 Dec 2014 19:40:24 +0000 (20:40 +0100)]
Disallow calling strings as functions

fixes #8040

9 years agoAdd -t options to "snmp" and "snmp-manubulon-command" CheckCommand objects
Steve McMaster [Thu, 11 Dec 2014 21:16:58 +0000 (16:16 -0500)]
Add -t options to "snmp" and "snmp-manubulon-command" CheckCommand objects

fixes #8075

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
9 years agoDB IDO: Update child object reachability if parentchanges to !{OK,UP}
Michael Friedrich [Fri, 12 Dec 2014 14:53:10 +0000 (15:53 +0100)]
DB IDO: Update child object reachability if parentchanges to !{OK,UP}

fixes #7683

9 years agoFix the prototype for the Object class
Gunnar Beutner [Fri, 12 Dec 2014 14:47:51 +0000 (15:47 +0100)]
Fix the prototype for the Object class

refs #8065

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