Commit Graph

4886 Commits

Author SHA1 Message Date
Michael Friedrich 8b8bed6744 spec: Fix icinga2-ido-* description 2014-12-09 17:17:53 +01:00
Michael Friedrich a9c16fa551 Docs: Replace unixcat with nc -U
fixes #8039
2014-12-09 17:16:55 +01:00
Gunnar Beutner 52fb177461 Implement more unit tests for typeof()
refs #8028
2014-12-09 16:46:29 +01:00
Gunnar Beutner 44b87aeff6 Fix typeof() for numbers
fixes #8028
2014-12-09 16:43:09 +01:00
Jean Flach a59bcdc26c Fix major bugs in windows plugins check_load and check_service
fixes #7881 #7992
2014-12-09 15:38:23 +01:00
Gunnar Beutner 4a81dbb6fc Build fix for Windows 2014-12-09 15:07:49 +01:00
Gunnar Beutner 98375df4d7 Fix config validation in RepositoryUtility::AddObject
refs #7701
2014-12-09 14:55:29 +01:00
Gunnar Beutner 4d657163c3 Implement heartbeat messages for the cluster
fixes #7745
2014-12-09 13:17:27 +01:00
Gunnar Beutner be4166b99e Fix incorrect brace placement 2014-12-08 11:43:33 +01:00
Gunnar Beutner 37ffda131e Add unit tests for the typeof() operator
refs #8002
2014-12-08 11:03:50 +01:00
Gunnar Beutner a2bd3a9576 Add missing Flush() call in the CompatLogger class
fixes #7511
2014-12-08 09:55:40 +01:00
Gunnar Beutner cf2b6e7ccc Improve output of ToString for type objects
fixes #8020
2014-12-08 09:12:40 +01:00
Gunnar Beutner 57f84741b9 Register type objects as global variables
fixes #8019
2014-12-08 08:49:32 +01:00
Gunnar Beutner 04ca634a16 Fix typeof incorrectly returning null for arrays and dictionaries
fixes #8002
2014-12-08 08:36:03 +01:00
Gunnar Beutner b5c7e2de4e Make the ThreadPool spawn fewer threads 2014-12-06 19:23:27 +01:00
Gunnar Beutner 3cb2afd454 Fix minor memory leak in the config parser 2014-12-06 10:23:25 +01:00
Gunnar Beutner d60211d693 Use relative paths for the OpenSSL DLLs 2014-12-06 08:07:54 +01:00
Michael Friedrich 67c0ea6281 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
2014-12-05 20:38:14 +01:00
Michael Friedrich b81035e352 Livestatus: Fix missing host downtimes/comments
fixes #7064
2014-12-05 16:32:14 +01:00
Michael Friedrich 9f66587d84 Rename static timer variables 2014-12-05 16:32:14 +01:00
Gunnar Beutner cefa469ee6 ScriptUtils: Make sure arguments aren't null
fixes #8003
2014-12-05 14:59:12 +01:00
Gunnar Beutner e583eced58 Use the boost packages from packages.icinga.org 2014-12-05 14:21:27 +01:00
Gunnar Beutner ec99efbc28 Implement validator for the check_interval attribute
fixes #7591
2014-12-05 13:00:41 +01:00
Michael Friedrich cc8fe684fe Execute checks locally if command_endpoint == local endpoint
fixes #7863
2014-12-05 11:35:00 +01:00
Gunnar Beutner 795b5b87d6 Fix warnings when using CMake 3.1.0
fixes #7894
2014-12-04 22:02:44 +01:00
Gunnar Beutner 7d93788650 Fix crash in the unit tests
fixes #7769
2014-12-04 21:50:22 +01:00
Gunnar Beutner a134882567 Fix unity builds on Windows
fixes #7644
2014-12-04 21:47:53 +01:00
Michael Friedrich d21b3aba52 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
2014-12-04 17:56:28 +01:00
Tim Hardeck ac6768d870 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
2014-12-03 17:03:04 +01:00
Gunnar Beutner fc42cb575c Add missing validator for the socket_path attribute
refs #7901
2014-12-02 13:43:36 +01:00
Lars Engels ba5f20224e Remove bashisms from some of the shell scripts
fixes #7685

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-12-02 09:59:56 +01:00
Gunnar Beutner 078125bdec Implement socket_path attribute for the IdoMysqlConnection class
fixes #7901
2014-12-02 08:42:53 +01:00
Tim Hardeck 6c1ec9e8c0 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
2014-12-02 08:33:14 +01:00
Gunnar Beutner 01f8706ed6 Merge remote-tracking branch 'origin/fix/usr-lib-icinga2_is_not_owned_by_a_package-7913'
fixes #7913
2014-12-02 08:32:21 +01:00
Tim Hardeck 198417043b Add missing /usr/lib/icinga2 directory to rpm spec
Make sure that the _libexec directory is part of the rpm package
"common".

refs #7913
2014-12-01 19:54:41 +01:00
Tim Hardeck 2615425449 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
2014-12-01 19:53:11 +01:00
Gunnar Beutner a5c206cbe2 Fix problem with macro arguments which are not separated by whitespace
fixes #7314
2014-12-01 15:53:23 +01:00
Michael Friedrich 2a41e0e18e Update documentation
refs #7903
2014-12-01 13:29:42 +01:00
Gunnar Beutner 63df189ffe Update documentation for 2.2.1
fixes #7903
2014-12-01 13:24:06 +01:00
Michael Friedrich 06e79fe6fd Don't execute built-in commands on the master in remote command execution mode
fixes #7708
2014-12-01 13:19:56 +01:00
Michael Friedrich a07600a469 Fix missing lock in ConfigUpdateHandler() 2014-12-01 13:19:55 +01:00
Gunnar Beutner 1c07f5111a Fix a memory leak in the ReadLineContext class
fixes #7602
2014-12-01 10:36:38 +01:00
Gunnar Beutner 00885f10d0 Add support for Apache 2.4 in the Classic UI config file
fixes #7739
2014-12-01 10:00:05 +01:00
Gunnar Beutner e82b53e576 Update AUTHORS 2014-11-29 20:17:06 +01:00
Malte Rabenseifner 76d774d396 Fix group permission in prepare-dirs
fixes #7890

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2014-11-29 20:14:34 +01:00
Gunnar Beutner d19821c900 Properly reset the ThreadPool status in Stop
refs #7822
2014-11-28 11:32:37 +01:00
Gunnar Beutner d013df06f7 Fix the Expression unit tests
refs #7822
2014-11-28 07:31:37 +01:00
Gunnar Beutner b5b1be95a2 Make the config lexer return an error for unterminated string literals
fixes #7808
2014-11-28 06:49:06 +01:00
Gunnar Beutner ab63fca3d5 Make the config parser thread-safe
fixes #7822
2014-11-28 06:48:27 +01:00
Gunnar Beutner b61f803d60 Show source line information for the "repl" command
refs #7805
2014-11-28 06:29:38 +01:00