9770 Commits

Author SHA1 Message Date
Michal Petko
9d66f3c73c Add ceph plugin to itl 2018-08-21 12:09:43 +02:00
Michael Friedrich
060a1ebbd9
Merge pull request #6512 from Icinga/feature/sni-environment
Refactor environment for API connections
2018-08-10 13:15:48 +02:00
Michael Friedrich
2ee6dfaf93 Re-add environment to IcingaApplication feature stats 2018-08-10 13:01:53 +02:00
Michael Friedrich
02009525a1 Update documentation and add upgrading notes 2018-08-10 12:53:06 +02:00
Michael Friedrich
97513965e6 Introduce IcingaApplication#environment
Precedence as follows:

- DEnvironment=...
- const Environment = ...
- object IcingaApplication "app" { environment = "..." }

The wrapped script constant handling is required
since we cannot directly link from libremote (SNI handling)
to libicinga where the object resides. Instead we'll
use the Application class helpers for hiding the ScriptGlobal
calls.
2018-08-10 12:49:48 +02:00
Michael Friedrich
caefa58cf6 Mkclass: Only render setter if not declared pure virtual 2018-08-10 10:55:42 +02:00
Michael Friedrich
42ec30042e
Merge pull request #6539 from Icinga/bugfix/centos-7-non-unity-build-fix
Build fix for CentOS 7 and non-unity builds
2018-08-09 17:06:45 +02:00
Michael Friedrich
a4c689e5cf Build fix for CentOS 7 and non-unity builds 2018-08-09 16:23:24 +02:00
Michael Friedrich
b350512b11 Rename to Environment constant 2018-08-09 13:19:33 +02:00
Michael Friedrich
cd94b7731e Update doc anchors 2018-08-09 13:19:33 +02:00
Markus Frosch
eb02d9041d Refactor environment for API connections
* Const renamed to `ApiEnvironment`
* Handling moved to ApiListener
* Now a property of ApiListener
2018-08-09 13:19:33 +02:00
Michael Friedrich
f1e7e635a2
Merge pull request #6531 from Icinga/feature/zone-all_parents
Expose Zone#all_parents via API
2018-08-09 13:11:23 +02:00
Michael Friedrich
3cc8bd2fcc
Merge pull request #6511 from Icinga/feature/apilistener-dynamic-port
ApiListener: Add support for dynamic port handling
2018-08-09 12:09:23 +02:00
Michael Friedrich
7012ce4129 Update documentation for new constants 2018-08-09 11:55:05 +02:00
Michael Friedrich
ecb73e08ed Implement ApiListener status file removal on shutdown 2018-08-09 11:54:34 +02:00
Markus Frosch
20269a89d0 ApiListener: Add support for dynamic port handling 2018-08-08 17:42:57 +02:00
Michael Friedrich
ba21a54443
Merge pull request #6530 from Icinga/bugfix/query-was-empty
IDO/MySQL: avoid empty queries
2018-08-08 14:41:57 +02:00
Alexander A. Klimov
ea5614f7df Expose Zone#all_parents via API 2018-08-08 14:38:02 +02:00
Alexander A. Klimov
7bcbd9b497 Rename Zone#GetAllParents() to Zone#GetAllParentsRaw() 2018-08-08 14:38:02 +02:00
Alexander A. Klimov
7a31cd4fe7 IDO/MySQL: avoid empty queries 2018-08-08 12:11:37 +02:00
Michael Friedrich
a80c825921
Merge pull request #6506 from Icinga/feature/improved-paths
Improve path handling in cmake and daemon
2018-08-08 09:48:30 +02:00
Michael Friedrich
9be3ee1a1a Update output for --version
This moves the system and build information before
the application paths which are normally not that important.
2018-08-07 18:46:18 +02:00
Michael Friedrich
a2a1f5c8d2 Take a note why the explicit configDir variable is needed on Windows 2018-08-07 18:33:59 +02:00
Michael Friedrich
857c812227 Update INSTALL.md a bit and kick RHEL 5 away 2018-08-07 18:09:52 +02:00
Michael Friedrich
81faf9b7c3 Refine log messages and code comments 2018-08-07 17:58:22 +02:00
Michael Friedrich
e529d5e285 Docs: Add a section to the 'upgrading' chapter 2018-08-07 17:33:42 +02:00
Michael Friedrich
542775294e Docs: Improve the global constants section
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2018-08-07 17:15:14 +02:00
Jean Flach
8c4cb03516
Merge pull request #6528 from Icinga/bugfix/doc-user-enable_notifications
Document default of User#enable_notifications
2018-08-07 16:08:58 +02:00
Markus Frosch
9fbc40615a Improve path handling in cmake and daemon 2018-08-07 14:10:26 +02:00
Markus Frosch
a7a012272f travis: Stop when one of the commands fail 2018-08-07 14:09:49 +02:00
Markus Frosch
1e4ee94f07 cmake: Improve InstallConfig for stable path handling
* similar to install() a non absolute path is prefixed with CMAKE_INSTALL_PREFIX on runtime
* in case of CPack path with be prefixed with share/skel/
* DESTDIR is prefixed as well

Also see https://cmake.org/cmake/help/latest/command/install.html
2018-08-07 14:09:49 +02:00
Alexander A. Klimov
8c3d9ca111 Document default of User#enable_notifications 2018-08-07 13:37:57 +02:00
Michael Friedrich
8bac1dc99e
Merge pull request #6521 from gunnarbeutner/feature/references
Implement references
2018-08-07 12:00:19 +02:00
Gunnar Beutner
24de1963b1
Merge pull request #6526 from Icinga/bugfix/wpessimizing-move-6524
icinga::PackObject(): shorten conversion to string
2018-08-07 10:05:18 +02:00
Alexander A. Klimov
137f5363c4 icinga::PackObject(): shorten conversion to string
refs #6524
2018-08-07 09:57:08 +02:00
Gunnar Beutner
8bfd419702 Implement references 2018-08-07 07:44:48 +02:00
Michael Friedrich
33492420f3
Merge pull request #6427 from gunnarbeutner/fix/recursive-serialize
Improve error message for serializing objects with recursive references
2018-08-03 11:03:42 +02:00
Gunnar Beutner
56cf64f590 Improve error message for serializing objects with recursive references 2018-08-02 11:06:24 +02:00
Michael Friedrich
80c8f12b3a
Merge pull request #6504 from roccolord/fix/itl-exlcude-squashfs
squashfs ignored
2018-08-02 10:37:43 +02:00
Jean Flach
065bc23d9a
Merge pull request #6508 from gunnarbeutner/feature/dictionary-clear
Implement the Dictionary#clear script function
2018-08-02 10:30:08 +02:00
Gunnar Beutner
a5a0119799 Implement the Dictionary#clear script function 2018-08-02 08:45:19 +02:00
Michael Friedrich
9f4f930559
Merge pull request #6505 from schinken/fix-clusterzonecheck-lag
Fix clusterzonecheck if not connected
2018-08-01 11:00:52 +02:00
Christopher Schirner
b870e84904 Only check lag if connected 2018-07-31 10:41:14 +02:00
Christopher Schirner
35038f72d6 Invert connected check 2018-07-31 10:40:54 +02:00
Robert Lindgren
acfef7c10d squashfs ignored
Add squashfs to check_disk ignore list, used on Ubuntu for snaps.
2018-07-30 18:22:22 +02:00
Jean Flach
2e3a1ff0c6
Merge pull request #6498 from Icinga/bugfix/match-regex-match-any-regression
Fix regression with MatchAny false conditions on match/regex/cidr_match
2018-07-27 17:28:13 +02:00
Jean Flach
a5afaf5b40
Merge pull request #6497 from Icinga/bugfix/match-dictionary-error-handling
Improve error logging for match/regex/cidr_match functions and unsupported dictionary usage
2018-07-27 17:26:12 +02:00
Michael Friedrich
72c0f07661 Fix regression with MatchAny false conditions on match/regex/cidr_match
fixes #6496
2018-07-27 16:55:37 +02:00
Michael Friedrich
8e682ce9b1 Improve error logging for match/regex/cidr_match functions and unsupported dictionary usage
fixes #6442
2018-07-27 16:34:50 +02:00
Michael Friedrich
1d22b6e176
Merge pull request #6410 from Icinga/remove-dead-code
Remove unused code
2018-07-27 15:56:52 +02:00