Commit Graph

3426 Commits

Author SHA1 Message Date
Gunnar Beutner 50b878c3f3 Merge branch 'feature/improve-daemon-start-5788' into next
Fixes #5788
2014-04-29 10:34:08 +02:00
Gerd von Egidy 1e321f0959 Fix possible race when the reload-process determines it's parent pid and the true parent has ended
Now transfers the true parent pid as parameter to --reload-internal.

Refs #5788
2014-04-29 10:34:02 +02:00
Gerd von Egidy 9f56b6ee74 Fix handling of m_RequestRestart in RunEventLoop, improve reload timeout
Refs #5788
2014-04-29 10:34:02 +02:00
Gerd von Egidy 3ece2ba643 Fix logging during shutdown procedure.
Refs #5788
2014-04-29 10:34:02 +02:00
Gerd von Egidy 3a294bbd5d Fork new process from previous daemon on reload.
The previously planned logic of forking a new daemon from the reload-process didn't work with
systemd: systemd does not allow long-running processes started from within the reload command.

Replaces parameter --reload with --reload-internal which is used when starting the new daemon.

Refs #5788
2014-04-29 10:34:01 +02:00
Gerd von Egidy 33bd909b71 Add --reload command-line parameter.
Refs #5788
2014-04-29 10:34:01 +02:00
Gerd von Egidy 19afcd894a Split ConfigItem::ActivateItems() into ConfigItem::ValidateItems() and ConfigItem::ActivateItems().
Also removes the -Z commandline parameter: won't be needed when this feature is done.

Refs #5788
2014-04-29 10:34:01 +02:00
Gunnar Beutner 17d277ff16 Implement the "order" attribute for command arguments.
Refs #5933
2014-04-29 10:33:09 +02:00
Gunnar Beutner f6ad6670e9 Fix the IDO test.
Refs #5223
2014-04-28 13:16:24 +02:00
Gunnar Beutner ea24147d0d Add uptime information to the "icinga" check type.
Fixes #6064
2014-04-28 09:23:52 +02:00
Gunnar Beutner d500097e4b Fix support for StatsOr and StatsAnd.
Fixes #6062
2014-04-27 15:16:57 +02:00
Gunnar Beutner ba20797e76 Turn off column headers for Stats queries.
Fixes #6061
2014-04-27 12:07:19 +02:00
Gunnar Beutner 0c60799b6a Set Icinga service to start automatically.
Fixes #6050
2014-04-26 23:22:12 +02:00
Gunnar Beutner 9b9ee5c425 Add ssh_port parameter for the ssh check command.
Refs #5933
2014-04-26 18:31:49 +02:00
Gunnar Beutner be4324c606 Add version information to the "icinga" check task.
Refs #4865
2014-04-26 16:43:38 +02:00
Gunnar Beutner 1631d795b0 Add missing $ sign in a macro.
Refs #5933
2014-04-26 16:40:30 +02:00
Gunnar Beutner d617c7b1f6 Implement support for optional command arguments.
Fixes #5933
2014-04-26 15:03:38 +02:00
Gunnar Beutner 8105f51608 Merge branch 'feature/cluster-5467' into next
Fixes #5467
2014-04-25 15:07:19 +02:00
Gunnar Beutner e6fb8caace Implement loop detection for cluster links.
Refs #5467
2014-04-25 15:07:13 +02:00
Gunnar Beutner 83fd836c7b Fix incorrect type for notification timestamps.
Refs #5467
2014-04-25 15:07:13 +02:00
Gunnar Beutner 737441f201 Fix deadlock in TlsStream::{Read,Write}.
Refs #5467
2014-04-25 15:07:13 +02:00
Gunnar Beutner 24bfc6d084 Clean up ClusterListener::Supports{Checks,Notifications}.
Refs #5467
2014-04-25 15:07:13 +02:00
Michael Friedrich 2b70b282ad Add {Host,Service}Group attributes: notes, notes_url, action_url.
Fixes #6057
2014-04-24 14:48:57 +02:00
Gunnar Beutner 097e0bf4f4 Fix duplicate service contacts.
Fixes #6058
2014-04-23 22:41:51 +02:00
Michael Friedrich d0af8a226b Fix headers. 2014-04-23 15:57:58 +02:00
Michael Friedrich 7a147d268e Add group assign/ignore rules.
Fixes #5910
2014-04-23 15:50:00 +02:00
Michael Friedrich c239f84fd7 Revert "Add group apply (creates object only once and sets membership)."
This reverts commit 559a4fef67.

Refs #5910
2014-04-23 14:59:48 +02:00
Michael Friedrich 0e42a5724b Add apply ping{4,6} to generic-host example config again.
Fixes #6056
2014-04-23 14:58:44 +02:00
Michael Friedrich cdd5c0a716 DB IDO: Add missing dependency attributes.
Fixes #5745
2014-04-23 10:33:30 +02:00
Gunnar Beutner 951c61ed16 Use fewer threads by default.
Refs #6053
2014-04-22 20:53:46 +02:00
Gunnar Beutner 63f22b055b Properly deal with exceptions in CheckerComponent::ExecuteCheckHelper.
Refs #4865
2014-04-22 19:03:01 +02:00
Michael Friedrich c8b3fde2ef Drop unused statusmap_image & coords attributes entirely.
Fixes #6044
2014-04-22 13:48:06 +02:00
Michael Friedrich fe1a83ff34 Revert "Add statusmap_image and coords host attributes."
This reverts commit 252980a6bd.

Refs #6044
2014-04-22 12:09:24 +02:00
Gunnar Beutner e489c98e6d Make the debug log less spammy.
Refs #4865
2014-04-22 07:47:10 +02:00
Gunnar Beutner 66faec2689 Build fix for OS X. 2014-04-22 07:13:16 +02:00
Gunnar Beutner 6b55e7827d Implement support for environment variables on Windows.
Fixes #6049
2014-04-21 20:15:03 +02:00
Gunnar Beutner 6d6e91cd2d Implement Windows support for the Process class.
Fixes #3684
2014-04-21 15:44:36 +02:00
Gunnar Beutner bb0b618e71 Make print_number work for non-finite numbers again.
Refs #4865
2014-04-20 19:21:55 +02:00
Gunnar Beutner 6482fcec59 Make print_number work for negative numbers again.
Refs #4865
2014-04-20 19:06:54 +02:00
Gunnar Beutner 08cdb3676d Fix buffer overflow in print_number().
Refs #4865
2014-04-20 18:30:24 +02:00
Gunnar Beutner 466cac1f52 Wait until the service has stopped in the uninstaller.
Refs #4865
2014-04-20 15:47:57 +02:00
Gunnar Beutner ad894c367a Stop the Icinga service before uninstalling the files.
Refs #4865
2014-04-20 15:35:51 +02:00
Gunnar Beutner 088b15e964 Build fix for Clang >= 3.4.
Fixes #5360
2014-04-20 14:12:20 +02:00
Gunnar Beutner 7ece6dd2b9 Remove debug output for CPack.
Refs #4865
2014-04-20 14:06:09 +02:00
Gunnar Beutner e749f6eae5 Make sure the installer doesn't overwrite config files.
Refs #4865
2014-04-20 11:22:15 +02:00
Gunnar Beutner bddbe241ac Fix incorrect #endif in icinga-app.cpp.
Refs #4865
2014-04-20 07:22:04 +02:00
Gunnar Beutner 9905a4e09b Fix crash in Timer::AdjustTimers.
Refs #4865
2014-04-20 07:21:38 +02:00
Gunnar Beutner b7d4593b8c Fix OpenSSL path.
Refs #4865
2014-04-19 12:25:33 +02:00
Gunnar Beutner f6953d76ef Add OpenSSL libs to the Windows installer package.
Refs #4865
2014-04-19 10:45:50 +02:00
Gunnar Beutner 0bb5b6f584 Install runtime libraries in sbin on Windows.
Refs #4865
2014-04-19 02:05:54 +02:00