]> granicus.if.org Git - icinga2/log
icinga2
10 years agoUpdate unit tests to use the new variable syntax
Gunnar Beutner [Tue, 16 Dec 2014 09:37:21 +0000 (10:37 +0100)]
Update unit tests to use the new variable syntax

refs #8074

10 years agoAdd version output to the "repl" command
Gunnar Beutner [Tue, 16 Dec 2014 09:36:59 +0000 (10:36 +0100)]
Add version output to the "repl" command

refs #7805

10 years agoMake sure that operator % throws an exception when the ride-hand-side argument is 0
Gunnar Beutner [Tue, 16 Dec 2014 07:52:32 +0000 (08:52 +0100)]
Make sure that operator % throws an exception when the ride-hand-side argument is 0

fixes #8089

10 years agoFix location info for strings
Gunnar Beutner [Tue, 16 Dec 2014 05:18:39 +0000 (06:18 +0100)]
Fix location info for strings

fixes #8081

10 years agoAdd another unit test for expressions
Gunnar Beutner [Mon, 15 Dec 2014 16:23:18 +0000 (17:23 +0100)]
Add another unit test for expressions

refs #8074

10 years agoAdd unit tests for the "var" keyword
Gunnar Beutner [Mon, 15 Dec 2014 15:42:34 +0000 (16:42 +0100)]
Add unit tests for the "var" keyword

refs #8074

10 years agoGet rid of the local/global keywords
Gunnar Beutner [Mon, 15 Dec 2014 15:09:17 +0000 (16:09 +0100)]
Get rid of the local/global keywords

refs #8074

10 years agoFix unit test
Gunnar Beutner [Mon, 15 Dec 2014 14:12:24 +0000 (15:12 +0100)]
Fix unit test

refs #8074

10 years agoCli: "node wizard" shouldn't crash when SaveCert fails
Michael Friedrich [Mon, 15 Dec 2014 10:44:56 +0000 (11:44 +0100)]
Cli: "node wizard" shouldn't crash when SaveCert fails

fixes #7707

10 years agoFix incorrect variable scoping
Gunnar Beutner [Mon, 15 Dec 2014 11:57:40 +0000 (12:57 +0100)]
Fix incorrect variable scoping

refs #8074

10 years agoDocs: Fix gdb pretty printers
Michael Friedrich [Mon, 15 Dec 2014 10:26:22 +0000 (11:26 +0100)]
Docs: Fix gdb pretty printers

fixes #8048

10 years agoDocs: Update dependency state filter explaination
Michael Friedrich [Mon, 15 Dec 2014 10:08:34 +0000 (11:08 +0100)]
Docs: Update dependency state filter explaination

refs #7301

10 years agoRemove unnecessary includes
Gunnar Beutner [Mon, 15 Dec 2014 09:16:06 +0000 (10:16 +0100)]
Remove unnecessary includes

10 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

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

refs #8074

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

refs #8030

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

refs #8040

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

refs #8030

10 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

10 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

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

10 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

10 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

10 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

10 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

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

fixes #8065

10 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

10 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

10 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

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

fixes #8062

10 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

10 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

10 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

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

refs #8066

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

10 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

10 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

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

refs #7883

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

refs #8043

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

refs #8043

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