Commit Graph

1036 Commits

Author SHA1 Message Date
Zoltan Nagy 1110f925ee Fix reading perfdata in compat/checkresultreader
fixes #7369

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-10-11 18:45:55 +02:00
Michael Friedrich 61ca24ab8a GraphiteWriter: Add crit/warn/min/max perfdata values
fixes #7366
2014-10-11 17:02:38 +02:00
Michael Friedrich 51589d82b5 GraphiteWriter: Add downtime depth as additional metric
fixes #6946
2014-10-11 17:01:52 +02:00
Gunnar Beutner bb4c4cb952 Fix another null pointer deref in GraphiteWriter::SendPerfdata
refs #7268
2014-09-17 16:35:42 +02:00
Gunnar Beutner 879684efcd Fix problems with PNP4Nagios
fixes #7268
2014-09-17 15:38:39 +02:00
Ildar Hizbulin 3700a33e7e Fix memory leak in the db_ido_pgsql module
fixes #7195

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-09-15 14:22:10 +02:00
Gunnar Beutner ac32d4b382 Improve thread spawning behavior
fixes #7186
2014-09-11 11:45:21 +02:00
Gunnar Beutner fbce8e430a Partially revert "Error messages: Properly handle livestatus/cmd pipe errors."
This reverts commit efa8fdcb8e.

refs #7160
2014-09-09 23:47:27 +02:00
Gunnar Beutner 04b026e612 Make GraphiteWriter ignore empty perfdata values
fixes #7072
2014-09-03 22:06:13 +02:00
Gunnar Beutner 6f2ea6bc08 Fix build problems with Oracle Solaris Studio
refs #6896
2014-09-02 13:09:17 +02:00
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