Commit Graph

783 Commits

Author SHA1 Message Date
Gunnar Beutner 112f26dc19 Replace check result dictionaries with a class.
Refs #5039
2013-11-09 15:26:01 +01:00
Gunnar Beutner e546cd854d Clean up the DynamicType class.
Refs #5036
2013-11-08 16:07:21 +01:00
Gunnar Beutner 0a67e760bd Optimize GraphiteWriter::SendMetric.
Fixes #5037
2013-11-08 15:43:14 +01:00
Gunnar Beutner a84536bea3 Implement serializer support for arbitrary classes.
Fixes #5024
2013-11-08 14:08:59 +01:00
Michael Friedrich 46548d8e56 Fix columns not fetched when using stats output.
Fixes #5015
2013-11-07 17:53:55 +01:00
Michael Friedrich 7d28e95dba Livestatus: Add servive_checks(_rate) columns to status table.
Refs #4655
Refs #2762
2013-11-07 17:29:45 +01:00
Gunnar Beutner 5aba175e18 Use PluginUtility::{Parse,Format}Perfdata for check results.
Refs #2710
2013-11-07 16:07:52 +01:00
Michael Friedrich 5caec8c570 Livestatus: Add compat_log_path config option for historical tables.
Fixes #5017
2013-11-07 14:16:10 +01:00
Gunnar Beutner 6acc017707 Remove namespace qualifiers for boost::make_shared and boost::enable_shared_from_this.
Fixes #5012
2013-11-07 08:28:33 +01:00
Michael Friedrich 686446584c Livestatus: Fix crash when socket exception is thrown during query reponse.
Fixes #4619
2013-11-06 18:54:01 +01:00
Michael Friedrich c48bb9c3dc Livestatus: Fix filter stack counter problem (and, or) causing empty query results.
Fixes #5016
2013-11-06 18:53:51 +01:00
Michael Friedrich 90cf04f088 Additional fixes for log table including test queries.
Refs #4433
2013-11-06 18:45:22 +01:00
Michael Friedrich 835e395fd6 Livestatus: Add statehist table.
Fixes #4434
2013-11-06 15:29:04 +01:00
Gunnar Beutner 27f527d0ad Implement String::GetData.
Fixes #5008
2013-11-05 18:59:39 +01:00
Michael Friedrich 20a2fd2388 Add event commands to CompatLogger.
Fixes #4362
2013-11-05 18:33:57 +01:00
Michael Friedrich 5718cbebe4 Fix filter parsing for values containing white spaces.
Refs #4433
2013-11-05 17:14:29 +01:00
Michael Friedrich 74f9106243 Implement regex match attribute filters (~, ~~)
Requires the boost regex library.

Refs #5007

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2013-11-05 17:13:40 +01:00
Gunnar Beutner 5be3139b5e Use boost::bind for WorkQueue::SetExceptionCallback.
Refs #5002
2013-11-05 13:59:30 +01:00
Michael Friedrich 97a2771a08 Livestatus: Fix default column accessor type for comments.
refs #5005
2013-11-05 13:40:41 +01:00
Gunnar Beutner 2617521ce3 Fix exception in Exception in IdoPgsqlConnection::Query.
Fixes #5002
2013-11-05 13:35:59 +01:00
Gunnar Beutner de6cac6e4a Create RPM package for ido-pgsql.
Fixes #4999
2013-11-05 10:37:36 +01:00
Gunnar Beutner b1ddc71925 Merge ReflectionObject methods into the Object class.
Refs #4996
2013-11-05 08:56:30 +01:00
Gunnar Beutner 264fdf40d5 Implement PostgreSQL adapter for IDO.
Fixes #4777
2013-11-04 16:05:24 +01:00
Gunnar Beutner 871f6febc7 Move methods to a separate library.
Refs #4959
2013-11-04 15:29:18 +01:00
Gunnar Beutner f2307c4242 Add cmake build files.
Refs #4962
2013-11-03 13:45:26 +01:00
Gunnar Beutner 2c143fbdf8 Remove unused files.
Refs #4962
2013-11-03 11:12:47 +01:00
Gunnar Beutner fcc96cfe8f Fix compilation with Visual Studio 2013.
Refs #4987
2013-11-01 00:13:30 +01:00
Michael Friedrich 1e3ef346c9 Set default values for IdoMysqlConnection config attributes. 2013-10-31 16:12:30 +01:00
Michael Friedrich d21d79a36c CompatUtility: Use functionality in compat/ido/livestatus.
refs #4735
2013-10-31 16:08:55 +01:00
Michael Friedrich 75b69411b9 Livestatus: Add log table.
refs #4433
2013-10-31 13:39:16 +01:00
Gunnar Beutner e020a80bf8 Clean up DbConnection / IdoMysqlConnection.
Refs #4969
2013-10-30 14:07:26 +01:00
Gunnar Beutner ce06aa3b56 Implement work queue support for db_ido_mysql.
Refs #4758
2013-10-30 13:32:01 +01:00
Gunnar Beutner 4ce0f1e7bb Implement WorkQueue::GetThreadId.
Refs #4758
2013-10-30 13:13:09 +01:00
Gunnar Beutner ef55412855 Fix libdl detection on FreeBSD.
Refs #4977
2013-10-30 13:01:50 +01:00
Gunnar Beutner dc21088680 Fix make dist.
Refs #4976
2013-10-30 12:18:08 +01:00
Gunnar Beutner 9f1c4539dc Remove libltdl dependency.
Refs #4964
2013-10-30 12:00:55 +01:00
Gunnar Beutner c69a0c39ef Remove unused methods from IdoMysqlConnection.
Refs #4782
2013-10-30 10:20:00 +01:00
Gunnar Beutner 8c5bff3f75 Implement data processing options (DbConnection::categories).
Refs #4782
2013-10-30 10:19:56 +01:00
Gunnar Beutner f39eff323e Implement DbQuery::Category field.
Refs #4782
2013-10-30 09:58:55 +01:00
Gunnar Beutner db4b3b78d6 Implement class compiler.
Refs #4963
2013-10-28 14:27:36 +01:00
Gunnar Beutner 6db5136a5a Update MySQL schema. 2013-10-22 11:42:45 +02:00
Michael Friedrich 10b2740dbe Sanitize dots in metric names too. 2013-10-21 13:55:23 +02:00
Michael Friedrich 3c6226a223 Don't sanitize dots in metrics. 2013-10-18 20:53:57 +02:00
Michael Friedrich bc3411fe8d GraphiteWriter: Refactor perfdata parsing. 2013-10-18 16:27:57 +02:00
Gunnar Beutner 0c2bd2cb09 Refactor check scheduler some more. 2013-10-18 14:10:31 +02:00
Gunnar Beutner b517943012 Refactor check scheduler. 2013-10-18 13:46:22 +02:00
Gunnar Beutner dc566bf145 Revert Endpoint::SetClient() change. 2013-10-18 12:02:35 +02:00
Gunnar Beutner 4ef5682354 Set thread name for Endpoint threads. 2013-10-18 10:41:09 +02:00
Gunnar Beutner 89d313008d Fix: GraphiteWriter: reconnect on broken socket.
Fixes #4883
2013-10-18 09:11:21 +02:00
Gunnar Beutner 20e7536b0d Change log severity for a debug message. 2013-10-17 16:03:44 +02:00