Commit Graph

297 Commits

Author SHA1 Message Date
Gunnar Beutner 80762a0360 Revert "Use threads for external commands"
This reverts commit e1b8b05ef3.
2014-08-21 09:36:05 +02:00
Gunnar Beutner 071ac754ca Revert "Fix a potential crash in ExternalCommandListener::CommandPipeThread"
This reverts commit 0d4768528d.
2014-08-21 09:36:00 +02:00
Gunnar Beutner 0d4768528d Fix a potential crash in ExternalCommandListener::CommandPipeThread
refs #6589
2014-08-20 23:35:11 +02:00
Gunnar Beutner e1b8b05ef3 Use threads for external commands
refs #6589
fixes #6942
2014-08-20 13:45:31 +02:00
Gunnar Beutner dae120beb6 Revert "ExternalCommandListener: Use threads per client connection"
This reverts commit accd83693c
2014-08-20 13:37:59 +02:00
Gunnar Beutner f6a7f84ed5 Revert "Fix external command pipe: Too many open files"
This reverts commit 1a3f7d774c.
2014-08-20 13:32:07 +02:00
Gunnar Beutner 65bec9e904 Clean up some parts of the code 2014-08-17 17:57:41 +02:00
Michael Friedrich 1a3f7d774c Fix external command pipe: Too many open files
fixes #6916
2014-08-14 16:15:01 +02:00
Gunnar Beutner 595728d024 Add missing spaces in some error messages
fixes #6840
2014-08-06 10:37:47 +02:00
Michael Friedrich 963125f746 ExternalCommandListener: Use threads per client connection
fixes #6589
2014-08-05 18:01:01 +02:00
Gunnar Beutner a49a598eef Make location of the /run directory configurable
fixes #6627
2014-07-22 13:26:37 +02:00
Gunnar Beutner fa4161853d Increase command buffer to 128kB
fixes #6662
2014-07-08 08:32:42 +02:00
Michael Friedrich 9e026959db Fix wrong logging in ExternalCommandListener 2014-06-12 22:51:20 +02:00
Michael Friedrich efa8fdcb8e Error messages: Properly handle livestatus/cmd pipe errors.
Refs #6070
2014-06-05 17:43:34 +02:00
Michael Friedrich 0f9d76d40b Change log message identifier for components/*.
Refs #6346
2014-05-28 14:42:00 +02:00
Michael Friedrich e070db65c8 Fix check statistics are mixing host/service checks.
Fixes #6313
2014-05-26 20:56:59 +02:00
Gunnar Beutner 632026cd9f Rename C++ header files.
Fixes #6291
2014-05-25 16:27:14 +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 fceeeba05e Fix compiler warnings.
Fixes #5823
2014-05-22 10:28:21 +02:00
Michael Friedrich 601e10cb46 Use CustomVarObject instead of DynamicObject for all libicinga objects.
Fixes #6187
2014-05-19 17:57:58 +02:00
Michael Friedrich aa97c3c670 Add command namespace {check_,event_,notification_} to legacy interfaces.
Fixes #5927
2014-05-12 16:18:03 +02:00
Gunnar Beutner c7b5e4c31e Fix some compiler warnings.
Refs #5823
2014-05-11 06:04:43 +02:00
Michael Friedrich 1e26d04bd6 StatusDataWriter: Add 'is_reachable' {host,service}status attribute.
Refs #6094
2014-05-10 21:21:29 +02:00
Michael Friedrich cfa382f0dd StatusDataWriter: Fix dependency relations.
Fixes #6131
2014-05-06 16:10:33 +02:00
Michael Friedrich ddfccf3188 Add debug log entries for dependencies.
Refs #5872
2014-05-03 21:04:56 +02:00
Michael Friedrich 5aa578c4e4 Implement CompatUtility::GetCheckableCommandArgs() for DB IDO, Livestatus, StatusDataWriter.
Fixes #5926
2014-05-03 03:18:37 +02:00
Michael Friedrich adc684289a StatusDataWriter: Fix missing host dependencies.
Fixes #6102
2014-05-01 20:54:09 +02:00
Gunnar Beutner b119c3285b Change log level for some messages.
Fixes #6072
2014-04-29 11:01:28 +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
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
Michael Friedrich 252980a6bd Add statusmap_image and coords host attributes.
They are as important as action_url, etc.

coords is made a dictionary consisting of x_2d and y_2d as keys.

Fixes #6044
2014-04-17 16:48:59 +02:00
Michael Friedrich c7659337b7 Use legacy attribute getters in interfaces.
Fixes #6041
2014-04-17 13:50:26 +02:00
Michael Friedrich 0dedd7cf19 Add global Enable{Host,Service}Checks. Update interfaces and external commands.
Fixes #6037
Fixes #5975
2014-04-17 11:29:47 +02:00
Michael Friedrich 3b2f931dcb Compat: Only dump host address{,6}, alias if set.
Fixes #6013
2014-04-14 21:50:52 +02:00
Gunnar Beutner 80778bad1d Update components to use the new address fields.
Refs #5856
2014-04-08 13:34:48 +02:00
Gunnar Beutner e560e1e00c Remove the HostUnreachable state.
Fixes #5944
2014-04-08 08:54:49 +02:00
Gunnar Beutner 5de03cac18 Fix crash in the CompatLogger class.
Fixes #5961
2014-04-07 21:19:24 +02:00
Michael Friedrich 34092f0a52 Fix legacy attributes by object type. 2014-04-05 17:13:05 +02:00
Michael Friedrich 19434dc73d StatusDataWriter: Dump command and application custom variables.
Refs #5855
2014-04-04 17:35:56 +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 54063f0b9f Rename __name and __type properties.
Refs #5870
2014-03-28 14:17:55 +01:00
Michael Friedrich 23c47dd430 Make host 'check' attribute available in legacy interfaces.
Fixes #5764
2014-03-21 17:57:24 +01:00
Michael Friedrich f6067d357d Set check source to node name as authority, if empty.
Fixes #5805
2014-03-20 10:32:52 +01:00
Michael Friedrich ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich cb85a5c696 Fix host, service sort order in StatusDataWriter.
Fixes #5775
2014-03-16 14:59:19 +01:00
Michael Friedrich 1279d27720 Fix enable_perfdata attribute in compat features.
Fixes #5693
2014-03-12 15:21:56 +01:00
Gunnar Beutner bfc5d2a4be Use fewer threads for plugin-based checks.
Fixes #5748
2014-03-12 10:25:06 +01:00