Gunnar Beutner
eb091a87b0
Implement support for unity builds
...
fixes #7034
fixes #7035
2014-08-30 20:02:12 +02:00
Michael Friedrich
efafcecced
Implement load balancing for notifications
...
fixes #6203
2014-08-22 13:00:52 +02:00
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
Michael Friedrich
accd83693c
DB IDO: Fix missing schema bump to 1.11.7
...
refs #6827
refs #6203
2014-08-18 16:06:42 +02:00
Gunnar Beutner
65bec9e904
Clean up some parts of the code
2014-08-17 17:57:41 +02:00
Gunnar Beutner
3da5568eb3
Install DB schema files using cmake
...
fixes #6881
2014-08-17 13:37:50 +02:00
Michael Friedrich
1c98a3a9f7
DB IDO: Add failover_timeout attribute
...
refs #6827
2014-08-15 17:21:12 +02:00
Michael Friedrich
f6c24f8964
DB IDO: Delay connection in HA RunOnce mode
...
refs #6827
refs #6203
2014-08-15 17:21:12 +02:00
Michael Friedrich
d326678e76
DB IDO: Add 'enable_ha' configuration flag
...
This feature is true by default. If disabled all cluster nodes in a high
availability zone will write to their own local database.
TODO: documentation, tests.
refs #6827
refs #6203
2014-08-15 17:21:12 +02:00
Michael Friedrich
1f3c6b454f
DB IDO: Add endpoint_name to programstatus table
...
refs #6827
refs #6203
2014-08-15 17:21:12 +02:00
Gunnar Beutner
3048a02064
Add context information for Graphite error messages
...
fixes #6898
2014-08-14 17:08:11 +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
731ee15d4d
Exit application when IDO version doesn't match expected version
...
fixes #6850
2014-08-06 10:54:54 +02:00
Gunnar Beutner
595728d024
Add missing spaces in some error messages
...
fixes #6840
2014-08-06 10:37:47 +02:00
Gunnar Beutner
089fdb1b20
Don't write new-lines to the Graphite socket to test if it's still connected
...
fixes #6549
2014-08-06 09:59:38 +02:00
Michael Friedrich
963125f746
ExternalCommandListener: Use threads per client connection
...
fixes #6589
2014-08-05 18:01:01 +02:00
Gerd von Egidy
de5485060e
Beautify GraphiteWriter debug logging
...
refs #6550
2014-08-05 11:23:41 +02:00
Gerd von Egidy
a4b7984719
Add warning messages when performance data could not be parsed or not be sent to Graphite
...
refs #6550
2014-08-05 11:23:36 +02:00
Michael Friedrich
1e4ddc2a1a
Fix customvariables in DB IDO MySQL are not case sensitive
...
fixes #6608
2014-07-23 18:06:57 +02:00
Michael Friedrich
88d108159d
Rename upgrade sql files
...
refs #6646
2014-07-23 10:48:33 +02:00
Gunnar Beutner
1a361d834a
Add MySQL/pgSQL upgrade files which fix name2 in the icinga_objects table
...
fixes #6646
2014-07-23 10:25:26 +02:00
Gunnar Beutner
a49a598eef
Make location of the /run directory configurable
...
fixes #6627
2014-07-22 13:26:37 +02:00
Gunnar Beutner
f86068d5e0
Use NULL instead of empty strings for name2 in the icinga_objects table
...
fixes #6646
2014-07-22 10:29:09 +02:00
Gunnar Beutner
23986c9cf4
Clean up constructors in the livestatus module
2014-07-21 13:33:51 +02:00
Ildar Hizbulin
7ce61309b4
GraphiteWriter: Fix malformatted integer values
...
fixes #6756
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-07-18 09:26:34 +02:00
Michael Friedrich
f19cc514b9
DB IDO: Reset reconnect timer before pausing the connection
...
refs #6414
2014-07-08 13:48:11 +02:00
Gunnar Beutner
fa4161853d
Increase command buffer to 128kB
...
fixes #6662
2014-07-08 08:32:42 +02:00
Gunnar Beutner
5518826a29
Build fix for Debian unstable
...
refs #5312
2014-06-25 12:24:02 +02:00
Gunnar Beutner
876c482ab8
Fix support for the Check_MK frontend
...
fixes #5312
2014-06-25 12:10:42 +02:00
Gunnar Beutner
726a55fedb
Replace FindMYSQL.cmake with another script which has a compatible license
...
fixes #6493
2014-06-25 10:21:38 +02:00
Gunnar Beutner
ac6f3f8acf
Fix PostgreSQL warnings about escaped strings
...
fixes #5577
2014-06-25 09:47:20 +02:00
Gunnar Beutner
6bf47fd221
Fix Livestatus queries where the second operand is omitted
...
fixes #6494
2014-06-24 12:51:56 +02:00
Michael Friedrich
c4bfff27c7
Notifications: Check if disabled when sending reminder
...
refs #6510
2014-06-20 10:34:00 +02:00
Michael Friedrich
0ad779e4a5
DB IDO: Remove old 0.0.x upgrade sqls not required for 2.0.0
...
fixes #6478
2014-06-13 11:21:15 +02:00
Michael Friedrich
9e026959db
Fix wrong logging in ExternalCommandListener
2014-06-12 22:51:20 +02:00
Michael Friedrich
627f96d85d
Livestatus: Add 'host_name' and 'service_description' columns for NagVis
...
These columns are used for filtering and seem to be not documented nor
supported. Only added for compatibility reasons.
fixes #6474
2014-06-12 11:59:21 +02:00
Michael Friedrich
8d344ebb3a
Livestatus: Fix 'OutputFormat:json' w/o space is valid (NagVis bug)
...
Fixes #6470
2014-06-11 22:53:56 +02:00
Michael Friedrich
ed4931932e
DB IDO: Bump required schema to 1.11.3
...
Fixes #6422
2014-06-06 10:42:10 +02:00
Michael Friedrich
93992373be
Error messages: Properly catch and log DB IDO errors.
...
Refs #6070
2014-06-05 18:26:38 +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
0c021d94cb
Error Messages: Catch and log all Socket class exceptions.
...
Refs #6070
2014-06-05 16:17:53 +02:00
Michael Friedrich
6a080edf80
Error Messages: Catch boost::regex exceptions.
...
Refs #6070
2014-06-05 16:13:28 +02:00
Michael Friedrich
f1e77a0579
Error Messages: Deal with socket exceptions.
...
Refs #6070
2014-06-05 14:36:50 +02:00
Gunnar Beutner
24035ab390
Use AF_UNSPEC for Bind() calls.
...
Fixes #6375
2014-06-01 08:51:06 +02:00
Michael Friedrich
4c8d7eea14
Rename livestatus classes.
...
Refs #6346
2014-05-28 14:42:00 +02:00