Jean Flach
afb9bea74d
Move objectlistcommands printObject to objectlistuility
...
PrintObject() is now public and now everybody can use pretty object printing
2015-02-18 10:23:27 +01:00
Gunnar Beutner
33e747ae2e
Don't require tickets for clients which already have a trusted certificate
...
fixes #8465
2015-02-18 08:13:44 +01:00
Jean Flach
377f66c403
Add some failsafes to the windows plugins
2015-02-17 15:54:23 +01:00
Gunnar Beutner
667b62cc3c
Improve log messages for ApiListener::ApiTimerHandler
2015-02-17 15:46:29 +01:00
Jean Flach
b7e991b1cc
Improve check_service' reporting and performance
...
fixes #8186
2015-02-17 15:20:30 +01:00
Gunnar Beutner
d5c33d84f7
Fix a deadlock in ApiClient::~ApiClient
...
fixes #8462
2015-02-17 14:31:10 +01:00
Gunnar Beutner
31786fdaa1
Fix crash in SocketEvents::ChangeEvents
...
refs #6109
2015-02-17 13:21:43 +01:00
Gunnar Beutner
f57bd0b38c
Fix incorrect callback method name
...
fixes #8451
2015-02-17 12:40:19 +01:00
Michael Friedrich
0b273a0450
Fix livestatus query on commands table with custom vars
...
fixes #8452
2015-02-16 14:16:45 +01:00
Gunnar Beutner
8d5b270812
Fix another crash in SocketEvents::OnEvent
...
fixes #8446
2015-02-16 11:41:11 +01:00
Michael Friedrich
e4c5c9fe76
DB IDO: Fix PostgreSQL schema file
...
refs #7765
2015-02-16 11:38:00 +01:00
Jean Flach
27788d1fdc
Move execvpe and socketpair builds to the Lib folder
2015-02-16 10:59:05 +01:00
Gunnar Beutner
3c6ca2957b
Fix a crash in SocketEvents::OnEvent
...
fixes #8446
2015-02-15 18:50:25 +01:00
Michael Friedrich
c3b365dc62
Livestatus: Add sanity checks for empty values
2015-02-15 16:49:29 +01:00
Michael Friedrich
f201886865
Cli: Fix NetString::ReadStringFromStream() usage
...
refs #6109
2015-02-15 14:42:53 +01:00
Michael Friedrich
2036b87943
Fix NetString::ReadStringFromStream() EoF case in 'object list' command
...
refs #6109
2015-02-15 14:37:16 +01:00
Gunnar Beutner
608ec97ece
Fix incorrect license header
2015-02-15 13:52:56 +01:00
Gunnar Beutner
9344ae30d0
Build fix
2015-02-15 13:09:53 +01:00
Jean Flach
cc5a8da6e8
CLI: Add 'troubleshoot collect' command
...
By calling `icinga2 troubleshoot collect [--console]` a small file
containing basic application information and a tail of all found logs
and the latest crash report will be created [or displayed].
It does not collect config files at the moment.
refs #3446
2015-02-15 12:38:28 +01:00
Michael Friedrich
4a64d4991b
DB IDO: Fix {host,service}checks command_line value is "Object of type 'icinga::Array'"
...
fixes #8438
2015-02-15 00:24:05 +01:00
Michael Friedrich
7a93cf8cce
Don't attempt to restore program state from non-existing state file
...
fixes #8444
2015-02-14 23:39:10 +01:00
Gunnar Beutner
8903c7e379
Close TLS connections more aggressively
...
refs #6109
2015-02-14 19:14:45 +01:00
Gunnar Beutner
1c7a0d03a1
Fix a case where NetString::ReadStringFromStream might incorrectly return StatusEof
...
refs #6109
2015-02-14 18:48:33 +01:00
Gunnar Beutner
9e936cbea4
Fix unit tests for the Stream class
...
refs #6109
2015-02-14 17:40:29 +01:00
Gunnar Beutner
f097e48889
Don't use separate threads for each ApiClient object
...
fixes #6109
2015-02-14 16:34:36 +01:00
Gunnar Beutner
e0bbfb175c
Move most of the socket I/O to a separate thread
...
fixes #8300
fixes #8243
2015-02-14 09:42:11 +01:00
Gunnar Beutner
26c9bcdac1
Update documentation links
2015-02-13 20:56:37 +01:00
Gunnar Beutner
a05545a55e
Fix incorrect file name
2015-02-13 20:55:56 +01:00
Michael Friedrich
2ed78e82a8
Validate configured TimePeriod ranges
...
Requires re-throwing the hidden exceptions inside the existing
timeperiod code and validating the configured time range
strings then.
fixes #7576
2015-02-13 17:10:58 +01:00
Gunnar Beutner
1f05cc23d1
Wrap IPv6 addresses in udp6:[<addr>] for check_snmp
...
refs #8259
2015-02-13 12:11:53 +01:00
Gunnar Beutner
bb033b5ce3
Fall back to using address6 when the address attribute is not set
...
fixes #8259
2015-02-13 11:52:50 +01:00
Michael Friedrich
2cab6fbb9d
Make the argments for the stats functions const-ref
...
fixes #8433
2015-02-13 11:29:15 +01:00
Gunnar Beutner
d8203f4bb5
Build fix for OpenBSD
...
fixes #8434
2015-02-13 11:21:20 +01:00
Gunnar Beutner
0f2598b43b
Fix exception handler for --library on OS X
...
refs #8227
2015-02-13 09:19:01 +01:00
James Pharaoh
9fe52d0dc1
Make checks using 'command_endpoint' work inside HA zones
...
Previously there was no local processing of the executed
check result, which is mandatory inside a HA cluster.
Additionally this patch splits the command execution and
check result processing into more logical parts, executing
local checks, checks on the same command endpoint, and
remote checks.
More details in the referenced issue.
fixes #8249
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-02-12 17:53:50 +01:00
Gunnar Beutner
82e82b5dd8
Add the changelog.py script
2015-02-12 15:52:21 +01:00
Michael Friedrich
8c8e80bbb0
Don't spam the log with reminder notifications not being sent
...
fixes #7731
2015-02-12 14:51:17 +01:00
Michael Friedrich
1c4501da19
DB IDO: Require schema version 1.13.0
...
refs #8425
2015-02-12 14:22:24 +01:00
Michael Friedrich
37bf9d4819
DB IDO: Fix header in sql files
2015-02-12 13:59:19 +01:00
Michael Friedrich
48fa1a1418
DB IDO: Fix duplicate entries in scheduleddowntime table
...
fixes #8425
2015-02-12 13:19:27 +01:00
Michael Friedrich
9d97094390
DB IDO: Fix duplicate entries in {host,service}depencencies table
...
fixes #7765
2015-02-12 13:19:27 +01:00
Gunnar Beutner
cfe986e9c5
Update documentation
2015-02-12 10:29:21 +01:00
Gunnar Beutner
e3edcfddde
Fix incorrect macro name in the disk check command
...
refs #8316
2015-02-12 09:24:28 +01:00
Gunnar Beutner
c2e597b494
Add a few more file system types which are ignored by default
...
refs #8316
2015-02-12 09:15:46 +01:00
Michael Friedrich
42031b5faa
Documentation: Update Configuring Icinga 2
2015-02-11 17:16:44 +01:00
Michael Friedrich
06e6da081a
Documentation: Move Debug from Troubleshooting into a separate section
2015-02-11 16:58:15 +01:00
Michael Friedrich
2ae06b7a52
Implement {EN,DIS}ABLE_HOST_SVC_NOTIFICATIONS commands
...
fixes #7784
2015-02-11 16:45:52 +01:00
Michael Friedrich
24852e05c7
Move ValidateMacroString into the MacroProcessor class
...
refs #7311
2015-02-11 16:14:59 +01:00
Michael Friedrich
0d18b96c39
Resolve macros in dictionary values
...
refs #7311
2015-02-11 15:58:59 +01:00
Michael Friedrich
2cd5f3516d
Fix compiler warning
2015-02-11 15:58:07 +01:00