Commit Graph

4714 Commits

Author SHA1 Message Date
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
Michael Friedrich e398b7eccf Docs: Fix wrong command reference
refs #7867
2014-11-27 18:21:06 +01:00
Michael Friedrich 6332921fb6 Cli: Ensure that repository path is created on 'node add' command
fixes #7743
2014-11-27 18:15:14 +01:00
Michael Friedrich 6961a922b6 Update man page for icinga2
$ help2man 'icinga2 daemon' > doc/icinga2.8

fixes #7735
2014-11-27 17:28:49 +01:00
Michael Friedrich 842b3a9cd7 Documentation: Explain macro array support, repeat_key, add icmp example
fixes #7868
fixes #7867
2014-11-27 16:59:17 +01:00
Tim Hardeck 3c84824883 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
2014-11-27 15:22:52 +01:00
Gunnar Beutner 7ee0eef562 Move the icinga2-prepare-dirs script to /usr/lib
fixes #7786
2014-11-27 14:47:51 +01:00
Gunnar Beutner 9dfa3d22d4 Implement support for arrays in command arguments
fixes #6709
2014-11-27 13:24:07 +01:00
Christian Jonak f1d37f6aa4 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>
2014-11-27 11:08:51 +01:00
Gunnar Beutner 3cfe877feb Remove the BuildRequires for yajl-devel (on RHEL 6) because their package is broken
refs #7463
2014-11-27 09:53:37 +01:00
Gunnar Beutner e05cd3144f Fix incorrect operators in GelfWriter::NotificationToUserHandler
fixes #7866
2014-11-27 09:40:27 +01:00
Gunnar Beutner a8b7710800 Fix crash in CreateCert
fixes #7862
2014-11-27 09:35:24 +01:00
Gunnar Beutner 358d91e912 Remove the __parent field in the DynamicObject class
refs #7748
2014-11-27 06:32:12 +01:00
Carlos Cesario 443ae0f298 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>
2014-11-26 20:40:55 +01:00
Carlos Cesario 4c9fe5fd5b 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>
2014-11-26 18:26:19 +01:00
Gunnar Beutner 8254c98e12 Update AUTHORS 2014-11-26 17:40:24 +01:00
Yohan Jarosz b368f8d379 Adding missing command
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-11-26 17:39:28 +01:00
Gunnar Beutner 16b044bda4 Add build dependency for yajl in the spec file
fixes #7463
2014-11-26 16:40:05 +01:00
Gunnar Beutner 9f0e0aac86 Fix the init script
refs #7613
2014-11-26 08:16:13 +01:00
Michael Friedrich 5752654cee Documentation: Add a note on unique template/object names
fixes #7671
2014-11-25 18:51:53 +01:00
Michael Friedrich 9818477a44 Make sure that user/group exists when starting Icinga 2
fixes #7173
fixes #7613
2014-11-25 18:44:25 +01:00
Gunnar Beutner cee13fbec0 Implement the %, ^, %=, ^=, &= and |= operators
fixes #7813
2014-11-25 17:16:34 +01:00
Gunnar Beutner 1e5751c540 Build fix for GCC
refs #7822
2014-11-25 12:36:13 +01:00