]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Fri, 10 Aug 2018 08:15:41 +0000 (10:15 +0200)]
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.
Michael Friedrich [Fri, 10 Aug 2018 08:39:17 +0000 (10:39 +0200)]
Mkclass: Only render setter if not declared pure virtual
Michael Friedrich [Thu, 9 Aug 2018 10:41:22 +0000 (12:41 +0200)]
Rename to Environment constant
Michael Friedrich [Thu, 9 Aug 2018 10:22:55 +0000 (12:22 +0200)]
Update doc anchors
Markus Frosch [Thu, 2 Aug 2018 12:09:21 +0000 (14:09 +0200)]
Refactor environment for API connections
* Const renamed to `ApiEnvironment`
* Handling moved to ApiListener
* Now a property of ApiListener
Michael Friedrich [Thu, 9 Aug 2018 11:11:23 +0000 (13:11 +0200)]
Merge pull request #6531 from Icinga/feature/zone-all_parents
Expose Zone#all_parents via API
Michael Friedrich [Thu, 9 Aug 2018 10:09:23 +0000 (12:09 +0200)]
Merge pull request #6511 from Icinga/feature/apilistener-dynamic-port
ApiListener: Add support for dynamic port handling
Michael Friedrich [Thu, 9 Aug 2018 09:55:05 +0000 (11:55 +0200)]
Update documentation for new constants
Michael Friedrich [Thu, 9 Aug 2018 09:54:34 +0000 (11:54 +0200)]
Implement ApiListener status file removal on shutdown
Markus Frosch [Thu, 2 Aug 2018 06:38:42 +0000 (08:38 +0200)]
ApiListener: Add support for dynamic port handling
Michael Friedrich [Wed, 8 Aug 2018 12:41:57 +0000 (14:41 +0200)]
Merge pull request #6530 from Icinga/bugfix/query-was-empty
IDO/MySQL: avoid empty queries
Alexander A. Klimov [Wed, 8 Aug 2018 12:15:01 +0000 (14:15 +0200)]
Expose Zone#all_parents via API
Alexander A. Klimov [Wed, 8 Aug 2018 11:59:43 +0000 (13:59 +0200)]
Rename Zone#GetAllParents() to Zone#GetAllParentsRaw()
Alexander A. Klimov [Wed, 8 Aug 2018 10:11:37 +0000 (12:11 +0200)]
IDO/MySQL: avoid empty queries
Michael Friedrich [Wed, 8 Aug 2018 07:48:30 +0000 (09:48 +0200)]
Merge pull request #6506 from Icinga/feature/improved-paths
Improve path handling in cmake and daemon
Michael Friedrich [Tue, 7 Aug 2018 16:44:08 +0000 (18:44 +0200)]
Update output for `--version`
This moves the system and build information before
the application paths which are normally not that important.
Michael Friedrich [Tue, 7 Aug 2018 16:33:59 +0000 (18:33 +0200)]
Take a note why the explicit configDir variable is needed on Windows
Michael Friedrich [Tue, 7 Aug 2018 16:09:52 +0000 (18:09 +0200)]
Update INSTALL.md a bit and kick RHEL 5 away
Michael Friedrich [Tue, 7 Aug 2018 15:58:22 +0000 (17:58 +0200)]
Refine log messages and code comments
Michael Friedrich [Tue, 7 Aug 2018 15:28:05 +0000 (17:28 +0200)]
Docs: Add a section to the 'upgrading' chapter
Michael Friedrich [Mon, 6 Aug 2018 13:09:27 +0000 (15:09 +0200)]
Docs: Improve the global constants section
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
Jean Flach [Tue, 7 Aug 2018 14:08:58 +0000 (16:08 +0200)]
Merge pull request #6528 from Icinga/bugfix/doc-user-enable_notifications
Document default of User#enable_notifications
Markus Frosch [Tue, 31 Jul 2018 09:59:09 +0000 (11:59 +0200)]
Improve path handling in cmake and daemon
Markus Frosch [Wed, 1 Aug 2018 07:40:48 +0000 (09:40 +0200)]
travis: Stop when one of the commands fail
Markus Frosch [Tue, 31 Jul 2018 14:46:11 +0000 (16:46 +0200)]
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
Alexander A. Klimov [Tue, 7 Aug 2018 11:37:57 +0000 (13:37 +0200)]
Document default of User#enable_notifications
Michael Friedrich [Tue, 7 Aug 2018 10:00:19 +0000 (12:00 +0200)]
Merge pull request #6521 from gunnarbeutner/feature/references
Implement references
Gunnar Beutner [Tue, 7 Aug 2018 08:05:18 +0000 (10:05 +0200)]
Merge pull request #6526 from Icinga/bugfix/wpessimizing-move-6524
icinga::PackObject(): shorten conversion to string
Alexander A. Klimov [Tue, 7 Aug 2018 07:57:08 +0000 (09:57 +0200)]
icinga::PackObject(): shorten conversion to string
refs #6524
Gunnar Beutner [Thu, 2 Aug 2018 08:17:04 +0000 (10:17 +0200)]
Implement references
Michael Friedrich [Fri, 3 Aug 2018 09:03:42 +0000 (11:03 +0200)]
Merge pull request #6427 from gunnarbeutner/fix/recursive-serialize
Improve error message for serializing objects with recursive references
Gunnar Beutner [Thu, 5 Jul 2018 12:04:04 +0000 (14:04 +0200)]
Improve error message for serializing objects with recursive references
Michael Friedrich [Thu, 2 Aug 2018 08:37:43 +0000 (10:37 +0200)]
Merge pull request #6504 from roccolord/fix/itl-exlcude-squashfs
squashfs ignored
Jean Flach [Thu, 2 Aug 2018 08:30:08 +0000 (10:30 +0200)]
Merge pull request #6508 from gunnarbeutner/feature/dictionary-clear
Implement the Dictionary#clear script function
Gunnar Beutner [Thu, 2 Aug 2018 06:45:19 +0000 (08:45 +0200)]
Implement the Dictionary#clear script function
Michael Friedrich [Wed, 1 Aug 2018 09:00:52 +0000 (11:00 +0200)]
Merge pull request #6505 from schinken/fix-clusterzonecheck-lag
Fix clusterzonecheck if not connected
Christopher Schirner [Tue, 31 Jul 2018 08:41:14 +0000 (10:41 +0200)]
Only check lag if connected
Christopher Schirner [Tue, 31 Jul 2018 08:40:54 +0000 (10:40 +0200)]
Invert connected check
Robert Lindgren [Mon, 30 Jul 2018 16:22:22 +0000 (18:22 +0200)]
squashfs ignored
Add squashfs to check_disk ignore list, used on Ubuntu for snaps.
Jean Flach [Fri, 27 Jul 2018 15:28:13 +0000 (17:28 +0200)]
Merge pull request #6498 from Icinga/bugfix/match-regex-match-any-regression
Fix regression with MatchAny false conditions on match/regex/cidr_match
Jean Flach [Fri, 27 Jul 2018 15:26:12 +0000 (17:26 +0200)]
Merge pull request #6497 from Icinga/bugfix/match-dictionary-error-handling
Improve error logging for match/regex/cidr_match functions and unsupported dictionary usage
Michael Friedrich [Fri, 27 Jul 2018 14:55:37 +0000 (16:55 +0200)]
Fix regression with MatchAny false conditions on match/regex/cidr_match
fixes #6496
Michael Friedrich [Fri, 27 Jul 2018 14:34:50 +0000 (16:34 +0200)]
Improve error logging for match/regex/cidr_match functions and unsupported dictionary usage
fixes #6442
Michael Friedrich [Fri, 27 Jul 2018 13:56:52 +0000 (15:56 +0200)]
Merge pull request #6410 from Icinga/remove-dead-code
Remove unused code
Michael Friedrich [Fri, 27 Jul 2018 13:47:02 +0000 (15:47 +0200)]
Merge pull request #6494 from Icinga/feature/object-packer-test
Test PackObject
Michael Friedrich [Wed, 6 Jun 2018 15:32:40 +0000 (17:32 +0200)]
Fix prefix in unit tests for object packer
Alexander A. Klimov [Wed, 6 Jun 2018 14:27:33 +0000 (16:27 +0200)]
Test PackObject
Michael Friedrich [Fri, 27 Jul 2018 10:49:28 +0000 (12:49 +0200)]
Merge pull request #6489 from Icinga/feature/object-packer
Implement object packer for consistent hashing
Michael Friedrich [Fri, 27 Jul 2018 09:50:56 +0000 (11:50 +0200)]
Merge pull request #6488 from Allandor/fix/service-template-typo-cert
Fix typo with the CheckCommand cert
Michael Friedrich [Fri, 27 Jul 2018 09:50:18 +0000 (11:50 +0200)]
Merge pull request #6491 from chrostek/feature/itl-vmware-health
Feature/itl vmware health
chrostek [Thu, 26 Jul 2018 18:43:04 +0000 (20:43 +0200)]
Add exclude/include to vmware-esx-soap-host-runtime docs
chrostek [Thu, 26 Jul 2018 18:41:56 +0000 (20:41 +0200)]
Add exclude/include to vmware-esx-soap-host-runtime
Michael Insel [Thu, 26 Jul 2018 18:33:49 +0000 (20:33 +0200)]
Fix heading level for ITL ssl_cert documentation
Use heading level four instead of three.
Alexander A. Klimov [Tue, 5 Jun 2018 13:01:43 +0000 (15:01 +0200)]
Implement object packer for consistent hashing
Michael Friedrich [Thu, 26 Jul 2018 15:19:04 +0000 (17:19 +0200)]
Merge pull request #6490 from Icinga/revert-6414-feature/icinga-envs
Revert "Implement support for the --env command-line argument"
Markus Frosch [Thu, 26 Jul 2018 15:09:06 +0000 (17:09 +0200)]
Revert "Implement support for the --env command-line argument"
Sebastian Eikenberg [Thu, 26 Jul 2018 13:00:56 +0000 (15:00 +0200)]
Fix typo with the CheckCommand cert
ITL plugin uses ssl_cert
Michael Friedrich [Thu, 26 Jul 2018 08:09:42 +0000 (10:09 +0200)]
Merge pull request #6414 from Icinga/feature/icinga-envs
Implement support for the --env command-line argument
Michael Friedrich [Thu, 26 Jul 2018 08:05:17 +0000 (10:05 +0200)]
Merge pull request #6110 from gunnarbeutner/feature/for-loop-var
Implement support for optionally specifying the 'var' keyword in 'for' loops
Michael Friedrich [Thu, 26 Jul 2018 08:03:57 +0000 (10:03 +0200)]
Merge pull request #6475 from dh-harald/master
lib->compat->statusdatawriter: fix notifications_enabled
Michael Friedrich [Thu, 26 Jul 2018 08:02:46 +0000 (10:02 +0200)]
Merge pull request #6386 from Icinga/fix/timeperiods-do-not-clear-after-restart
Fix that TimePeriod segments are not cleared on restart
Michael Friedrich [Thu, 26 Jul 2018 08:02:26 +0000 (10:02 +0200)]
Merge pull request #6408 from Icinga/bugfix/objectlock-unlock-m_lockowner
ObjectLock#Unlock(): don't reset m_Object->m_LockOwner too early
Michael Friedrich [Thu, 26 Jul 2018 08:01:46 +0000 (10:01 +0200)]
Merge pull request #6379 from Icinga/global-zone-validation
Throw config error when using global zones as parent
Michael Friedrich [Thu, 26 Jul 2018 08:01:06 +0000 (10:01 +0200)]
Merge pull request #6455 from Icinga/feature/filelogger-started
Log something when the Filelogger has been started
Michael Friedrich [Thu, 26 Jul 2018 07:59:53 +0000 (09:59 +0200)]
Merge pull request #6430 from Icinga/fix/workqueue-log-message
Fix negative 'empty in' value in WorkQueue log message
Michael Friedrich [Thu, 26 Jul 2018 07:59:20 +0000 (09:59 +0200)]
Merge pull request #6440 from Icinga/bugfix/typo
Fix typo
Michael Friedrich [Thu, 26 Jul 2018 07:58:59 +0000 (09:58 +0200)]
Merge pull request #6456 from Icinga/feature/logger-flush-dev
Keep notes for immediately log flushing
Michael Friedrich [Thu, 26 Jul 2018 07:57:19 +0000 (09:57 +0200)]
Merge pull request #6458 from Icinga/bugfix/configitem-debug-log
Fix debug build log entry for ConfigItem activation priority
Michael Friedrich [Thu, 26 Jul 2018 07:52:33 +0000 (09:52 +0200)]
Merge pull request #6487 from Icinga/bugfix/discard-warning-6485
Fix "Discard" message being warning
Jean Flach [Thu, 26 Jul 2018 07:39:03 +0000 (09:39 +0200)]
Fix "Discard" message being warning
Michael Friedrich [Tue, 24 Jul 2018 10:53:23 +0000 (12:53 +0200)]
Merge branch 'support/2.9'
Michael Friedrich [Tue, 24 Jul 2018 10:48:12 +0000 (12:48 +0200)]
Release version 2.9.1
Michael Friedrich [Tue, 24 Jul 2018 10:48:12 +0000 (12:48 +0200)]
Release version 2.9.1
dh.harald [Mon, 23 Jul 2018 21:28:09 +0000 (22:28 +0100)]
lib->compat->statusdatawriter: fix notifications_enabled
Michael Friedrich [Mon, 23 Jul 2018 15:59:45 +0000 (17:59 +0200)]
Merge pull request #6470 from sebastic/spelling-errors
Fix spelling errors.
Michael Friedrich [Mon, 23 Jul 2018 09:35:48 +0000 (11:35 +0200)]
Merge pull request #6467 from Icinga/bugfix/test-runner-does-not-clean-up-6461
Start and stop the timer thread lazily
Bas Couwenberg [Sat, 21 Jul 2018 08:38:09 +0000 (10:38 +0200)]
Fix spelling errors.
* occured -> occurred
* dosen't -> doesn't
Alexander A. Klimov [Fri, 20 Jul 2018 13:36:15 +0000 (15:36 +0200)]
Start and stop the timer thread lazily
refs #6461
Michael Friedrich [Thu, 19 Jul 2018 11:45:53 +0000 (13:45 +0200)]
Merge pull request #6457 from Icinga/bugfix/daemonize-timer-6445
Ensure that timer thread is initialized after Daemonize()
Michael Friedrich [Thu, 19 Jul 2018 11:34:12 +0000 (13:34 +0200)]
Add debug logging for daemonize/timers
The previous commit is 1:1 the same I've implemented
here already. Great teamwork with Alex :)
refs #6445
Alexander A. Klimov [Thu, 19 Jul 2018 10:49:27 +0000 (12:49 +0200)]
Re-introduce Timer::Initialize()
refs #6445
Dirk Goetz [Wed, 18 Jul 2018 06:49:24 +0000 (06:49 +0000)]
SELinux: allow systemd notify
fixes #6443
Michael Friedrich [Thu, 19 Jul 2018 10:53:28 +0000 (12:53 +0200)]
Fix debug build log entry for ConfigItem activation priority
This is not visible in release builds, minor fix.
Michael Friedrich [Thu, 19 Jul 2018 10:51:30 +0000 (12:51 +0200)]
Keep notes for immediately log flushing
Disabled, but kept for future debugging sessions.
Helps with things like #6455
Michael Friedrich [Thu, 19 Jul 2018 10:48:01 +0000 (12:48 +0200)]
Log something when the Filelogger has been started
Helps to see whether the logger object is active,
spotted during #6445
Michael Friedrich [Wed, 18 Jul 2018 12:08:13 +0000 (14:08 +0200)]
Merge pull request #6451 from Icinga/fix/initscripts
Fix initscripts
Jean Flach [Wed, 18 Jul 2018 11:36:37 +0000 (13:36 +0200)]
Load functions first
refs #6449
Jean Flach [Wed, 18 Jul 2018 11:35:27 +0000 (13:35 +0200)]
Use . instead of source
fixes #6450
Michael Friedrich [Wed, 18 Jul 2018 07:26:15 +0000 (09:26 +0200)]
Merge pull request #6444 from dgoetz/fix/selinux-systemd-notify-6443
SELinux: allow systemd notify
Dirk Goetz [Wed, 18 Jul 2018 06:49:24 +0000 (06:49 +0000)]
SELinux: allow systemd notify
fixes #6443
Michael Friedrich [Tue, 17 Jul 2018 12:27:32 +0000 (14:27 +0200)]
Release version 2.9.0
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
Alexander A. Klimov [Tue, 17 Jul 2018 12:23:20 +0000 (14:23 +0200)]
Fix typo
Michael Friedrich [Tue, 17 Jul 2018 12:13:51 +0000 (14:13 +0200)]
Merge pull request #6439 from Icinga/bugfix/systemd-safe-reload-sysconfig
Revert "Fix obsolete parameter in Systemd script"
Michael Friedrich [Tue, 17 Jul 2018 07:59:59 +0000 (09:59 +0200)]
Revert "Fix obsolete parameter in Systemd script"
This reverts commit
592fb22c7fe4d291e630a2b6126312d088ce60d7 .
We have the problem that Systemd doesn't expand shell variables
into our environment.
During the upgrade cycle this would maybe render a wrong PID file
location, thus resulting in wrong 'safe-reload' behaviour.
This is only for a clean upgrade path from 2.8.x to 2.9.0,
the proper fix is to ensure that the sysconfig file is empty
and keep our own defaults, or modified from the user.
refs #6434
Michael Friedrich [Mon, 16 Jul 2018 15:00:39 +0000 (17:00 +0200)]
Update AUTHORS
Michael Friedrich [Mon, 16 Jul 2018 14:45:57 +0000 (16:45 +0200)]
Merge pull request #6436 from Icinga/bugfix/docs-update-tested-elasticsearch-version
Update tested Elasticsearch version
Michael Friedrich [Mon, 16 Jul 2018 14:44:47 +0000 (16:44 +0200)]
Update tested Elasticsearch version
Michael Friedrich [Mon, 16 Jul 2018 12:25:12 +0000 (14:25 +0200)]
Merge pull request #6435 from Icinga/bugfix/docs-upgrading-sysconfig-systemd
Add note on sysconfig shell variables for Systemd to the Upgrading docs
Michael Friedrich [Mon, 16 Jul 2018 12:22:07 +0000 (14:22 +0200)]
Add note on sysconfig shell variables for Systemd to the Upgrading docs
refs #6434
Michael Friedrich [Mon, 16 Jul 2018 07:41:38 +0000 (09:41 +0200)]
Merge pull request #6433 from magnusbaeck/fix/basics-docs-typos
Docs: Fix typos in 03-monitoring-basics.md