Gunnar Beutner
630a1a28e2
Make Application::ReadPidFile work on Windows.
...
Refs #5788
2014-05-01 20:09:38 +02:00
Gunnar Beutner
e9fddcc575
Build fix for Windows.
...
Refs #5788
2014-05-01 11:27:43 +02:00
Gunnar Beutner
f989bbd678
Make sure that WQ threads are started after Daemonize().
...
Fixes #6063
2014-04-29 13:17:08 +02:00
Gunnar Beutner
b119c3285b
Change log level for some messages.
...
Fixes #6072
2014-04-29 11:01:28 +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
Gunnar Beutner
ea24147d0d
Add uptime information to the "icinga" check type.
...
Fixes #6064
2014-04-28 09:23:52 +02:00
Gunnar Beutner
e6fb8caace
Implement loop detection for cluster links.
...
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
Michael Friedrich
d0af8a226b
Fix headers.
2014-04-23 15:57:58 +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
Gunnar Beutner
951c61ed16
Use fewer threads by default.
...
Refs #6053
2014-04-22 20:53:46 +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
088b15e964
Build fix for Clang >= 3.4.
...
Fixes #5360
2014-04-20 14:12:20 +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
9905a4e09b
Fix crash in Timer::AdjustTimers.
...
Refs #4865
2014-04-20 07:21:38 +02:00
Gunnar Beutner
e19948fc95
Add agent setup wizard for Windows.
...
Refs #4865
2014-04-18 12:39:50 +02:00
Gunnar Beutner
0fb55f3404
Fix NSIS installer and Windows service.
...
Refs #4865
2014-04-18 12:15:01 +02:00
Michael Friedrich
5b359ea518
Add CompatUtility::GetModifiedAttributesList() for Livestatus.
...
Fixes #6042
2014-04-17 16:01:44 +02:00
Michael Friedrich
72f7537fa6
Add modified attributes for user and command vars.
...
Fixes #6043
2014-04-17 15:20:28 +02:00
Michael Friedrich
8cfce66604
Fix custom var override.
...
Refs #5956
Refs #5962
2014-04-16 17:52:12 +02:00
Michael Friedrich
7c0d93ea0a
Add modified attributes for vars dictionary.
...
- new external commands
- raw values for 'vars'
- OnVarsChanged() signal for db_ido customvariablestatus updates
- refactor db_ido customvariable config updates
Refs #5956
Refs #5962
2014-04-16 17:52:12 +02:00
Gunnar Beutner
ed057de512
Add missing ::Stop calls.
...
Refs #4865
2014-04-16 15:01:31 +02:00
Michael Friedrich
559a4fef67
Add group apply (creates object only once and sets membership).
...
Refs #5910
2014-04-15 14:55:29 +02:00
Gunnar Beutner
9fc5e6217a
Build fix for Windows.
...
Refs #6008
2014-04-14 09:59:00 +02:00
Gunnar Beutner
8c771d51e4
Fix another exception issue with FreeBSD.
...
Refs #6008
2014-04-14 03:02:33 +02:00
Gunnar Beutner
0ea144a64d
Set OpenSSL locking callback.
...
Refs #4865
2014-04-12 21:22:59 +02:00
Gunnar Beutner
06fdaeb2b2
Fix file descriptors not getting closed properly
...
Refs #4865
2014-04-12 08:16:57 +02:00
Gunnar Beutner
5dbf8f95de
Another build fix for Windows.
...
Refs #5987
2014-04-09 12:44:35 +02:00
Gunnar Beutner
c2b18d4f35
Windows build fix.
...
Refs #5987
2014-04-09 12:38:26 +02:00
Gunnar Beutner
a16ef350e2
Avoid unnecessary copies for DynamicType::GetObjects.
...
Fixes #5987
2014-04-09 12:22:23 +02:00
Gunnar Beutner
ec7c90d5d7
Allow dictionaries to contain null values.
...
Fixes #5986
2014-04-09 10:52:13 +02:00
Gunnar Beutner
1c115297f9
Rename the service state constants.
...
Fixes #5964
2014-04-08 09:11:54 +02:00
Gunnar Beutner
2ab208e452
Fix invalid timeout for poll().
...
Fixes #5963
2014-04-08 07:11:38 +02:00
Michael Friedrich
9ab4b3dd16
Remove the 'Icinga' prefix for global constants.
...
Fixes #5960
2014-04-07 21:42:23 +02:00
Gunnar Beutner
ad42367999
Refactor name helper classes a bit.
...
Refs #5925
2014-04-06 08:15:07 +02:00
Gunnar Beutner
70062b5884
Make sure that Utility::GlobRecursive doesn't recurse into . and ..
...
Fixes #5946
2014-04-05 23:23:42 +02:00
Gunnar Beutner
00fd51e628
Implement relative object names.
...
Fixes #5925
2014-04-05 22:17:37 +02:00
Gunnar Beutner
c42a582307
Rename "short_name", "host" and "sevice" attributes.
...
Fixes #5857
2014-04-05 09:15:40 +02:00
Gunnar Beutner
23e9630682
Implement host checks.
...
Refs #5919
2014-04-04 15:57:54 +02:00
Michael Friedrich
5c58eb368c
Merge 'macros' and 'custom' attributes into 'vars', part 1.
...
Refs #5855
2014-04-03 11:35:25 +02:00
Gunnar Beutner
5c72e52903
Implement operator - for arrays.
...
Fixes #5923
2014-04-02 17:39:36 +02:00
Gunnar Beutner
0683fca535
Allow anonymous functions to be garbage-collected.
...
Fixes #5921
2014-04-02 17:27:04 +02:00
Gunnar Beutner
ebf8ed3019
Remove support for external scripting languages.
...
Fixes #5920
2014-04-02 17:27:04 +02:00