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 Insel
eea42c6807
Fix windows build
2018-08-05 20:17:43 +02:00
Michael Insel
51b900b307
Reset terminal on erroneous console exit
...
This ensures that the terminal is resetted on an erroneous exit when using the Icinga 2 console.
refs #6382
2018-08-05 16:30:36 +02:00
Markus Frosch
b6c674e716
Update windows build scripts
2018-08-03 11:11:39 +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
Christopher Schirner
2831991db4
Only check lag if connected
...
refs #6505
2018-08-01 11:02:04 +02:00
Christopher Schirner
7231e9db9f
Invert connected check
...
refs #6505
2018-08-01 11:01:40 +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
Michael Friedrich
b9f26bc59f
Fix regression with MatchAny false conditions on match/regex/cidr_match
...
fixes #6496
refs #6498
2018-07-30 14:22:21 +02:00
Peter Eckel
b5a7af126d
Fixed indentation
2018-07-29 15:39:02 +02:00
Peter Eckel
f788795415
Reduce the log level for missing env macros to debug
...
refs #6460
2018-07-29 15:17:50 +02:00