Gunnar Beutner
7d93788650
Fix crash in the unit tests
...
fixes #7769
2014-12-04 21:50:22 +01:00
Gunnar Beutner
6cadde82bd
Avoid rebuilding libbase when the version number changes
...
fixes #7647
2014-11-20 10:02:34 +01:00
Gunnar Beutner
9386a58bf2
Implement an experimental variable to limit the number of threads
2014-11-16 13:14:42 +01:00
Gunnar Beutner
f20d9010c0
Fix deadlock in ThreadPool::Stop
2014-11-13 10:00:49 +01:00
Gunnar Beutner
f592a13481
Make sure all threads are dead before calling fork()
...
fixes #7653
2014-11-12 21:27:36 +01:00
Gunnar Beutner
a2c5887e51
Fix crash when daemonizing Icinga
...
refs #7648
2014-11-12 12:44:14 +01:00
Gunnar Beutner
02c559eff9
Fix crash in the unit tests
...
fixes #7648
2014-11-12 09:33:13 +01:00
Gunnar Beutner
478f03b49a
Replace boost::shared_ptr with boost::intrusive_ptr
...
refs #7622
2014-11-09 16:54:41 +01:00
Gunnar Beutner
9c7d97b8bc
Update the Windows agent wizard
...
refs #7241
2014-10-21 16:07:39 +02:00
Gunnar Beutner
2972c6bfe8
Implement the "variable" CLI command
...
fixes #7370
2014-10-20 21:14:56 +02:00
Gunnar Beutner
2d5e9514a5
Refactor logging code
2014-10-19 17:52:17 +02:00
Gunnar Beutner
f433679b13
Implement the "pki request" and "pki ticket" commands
...
refs #7244
2014-10-16 12:27:34 +02:00
Gunnar Beutner
a01fb6d6e6
Make sure we're using the right user/group for CLI commands
...
refs #7246
2014-10-13 13:44:45 +02:00
Gunnar Beutner
a4081f1445
Implement support for CLI commands
...
fixes #7246
2014-10-08 15:33:10 +02:00
Gunnar Beutner
308ba45102
Improve error message for duplicate objects
...
refs #6070
2014-09-09 14:49:21 +02:00
Gunnar Beutner
f7f8bd9b00
Use const-ref specifier when catching exceptions
...
refs #6070
2014-08-25 08:36:30 +02:00
Gunnar Beutner
0443c85bf5
Implement support for writing the icinga2.debug file
...
refs #6702
2014-08-15 21:00:26 +02:00
Gunnar Beutner
a5d25871a1
Flush loggers in Application::Exit
...
fixes #6861
2014-08-07 08:34:38 +02:00
Gunnar Beutner
89b94ab8ab
Make --no-stack-rlimit the first argument
...
fixes #6765
2014-08-06 10:35:27 +02:00
Michael Friedrich
53d3a4af5f
Flush stdout before _exit()
...
fixes #6852
refs #6820
2014-08-05 13:52:24 +02:00
Michael Friedrich
fd233ae901
Use Application::Exit() for main app termination
...
refs #6682
2014-08-04 17:23:41 +02:00
Michael Friedrich
55c306796b
Add Application::Exit()
...
refs #6682
2014-08-04 17:23:41 +02:00
Michael Friedrich
7b8dc1d97e
Fix non-existing endpoint on ApiListener error
...
refs #6724
2014-08-04 17:23:41 +02:00
Gunnar Beutner
7610cc95fe
Update formatting for the version message
...
refs #6783
2014-07-23 13:06:00 +02:00
Gunnar Beutner
4724869e1c
Print application paths for --version
...
fixes #6783
2014-07-23 09:30:56 +02:00
Gunnar Beutner
a49a598eef
Make location of the /run directory configurable
...
fixes #6627
2014-07-22 13:26:37 +02:00
Gunnar Beutner
5dcf1a777b
Fix stack rlimit problem
...
fixes #6450
2014-07-21 13:33:01 +02:00
Gunnar Beutner
62896cb9a5
Increase default stack size
...
fixes #6588
2014-06-27 08:18:32 +02:00
Michael Friedrich
1064dc28fc
Error messages: Gracefully handle PID file errors.
...
Refs #6070
2014-06-05 17:44:41 +02:00
Michael Friedrich
076d297931
Change log message identifier for libbase.
...
Refs #6346
2014-05-28 14:42:00 +02:00
Gunnar Beutner
f9512dd495
Make sure Application::InitializeBase() when RLIMIT_NOFILE is set to "unlimited".
...
Refs #6257
2014-05-26 07:40:47 +02:00
Gunnar Beutner
632026cd9f
Rename C++ header files.
...
Fixes #6291
2014-05-25 16:27:14 +02:00
Gunnar Beutner
16a2d36bdc
Rename --debug to --log-level.
...
Refs #6276
2014-05-23 18:11:21 +02:00
Michael Friedrich
5ec300f68e
Add debug log severity for console logger.
...
Fixes #6276
2014-05-23 11:57:08 +02:00
Gunnar Beutner
2e18407270
Close inherited FDs.
...
Fixes #6257
2014-05-23 06:31:52 +02:00
Michael Friedrich
1df7518b35
Move more log messages to 'notice' severity.
...
Refs #6070
2014-05-22 23:47:03 +02:00
Michael Friedrich
4296ec3987
Change the most chatting log messages to 'notice' severity.
...
Refs #6070
2014-05-22 16:07:57 +02:00
Gunnar Beutner
2350593ef0
Fix logrotate config.
...
Fixes #6229
2014-05-22 11:22:30 +02:00
Gerd von Egidy
541de0de78
Add Process::GetPID and make it work on Unix and Windows.
...
Refs #6118
2014-05-18 18:44:57 +02:00
Gerd von Egidy
e0d4b9fb80
Unlink the pidfile when we really shutdown (not reload).
...
Refs #6118
2014-05-18 18:44:54 +02:00
Gerd von Egidy
e93a22b440
Proof of concept how a real reload-handling with systemd could work.
...
Refs #6118
2014-05-18 18:39:35 +02:00
Gunnar Beutner
0d36cc8d5f
Implement support for the zones.d config directory.
...
Refs #6191
2014-05-13 13:19:43 +02:00
Gunnar Beutner
9c3e399188
Remove unnecessary includes.
...
Fixes #6189
2014-05-11 18:11:32 +02:00
Michael Friedrich
d06d4f2540
Include monitoring plugin commands seperately.
...
Fixes #6130
2014-05-10 19:02:51 +02:00
Gunnar Beutner
45270f1bb8
Refactor the agent and cluster components.
...
Refs #6107
2014-05-08 09:13:04 +02:00
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
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
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