Commit Graph

1036 Commits

Author SHA1 Message Date
Michael Friedrich 0264e52211 DB IDO: Clean schema.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich fc7d7cc9eb DB IDO: Send endpoint authority for status updates.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich 097bb5ac97 DB IDO: Add endpoints/endpointstatus tables.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich bf9c89f625 DB IDO/Livestatus: Fix global enabled status values.
Fixes #5808
2014-03-20 11:33:59 +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
Gunnar Beutner 4d6088bee1 Stop checks during shutdown.
Fixes #5784
2014-03-17 09:04:19 +01:00
Michael Friedrich cb85a5c696 Fix host, service sort order in StatusDataWriter.
Fixes #5775
2014-03-16 14:59:19 +01:00
Gunnar Beutner 74209bde40 Reschedule services before running checks.
Fixes #5754
2014-03-13 14:13:55 +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
Michael Friedrich d98b61bba2 Remove unnecessary sort in GetClusterStatus().
Fixes #5664
2014-03-11 10:17:57 +01:00
Michael Friedrich 09d6b6fefa Health Check: Sanitize perfdata.
Refs #5664
2014-03-10 18:01:26 +01:00
Michael Friedrich 324a2c25e8 Prepare schema for endpoint object id (tbd).
Refs #5636
2014-03-10 17:15:03 +01:00
Gunnar Beutner e8759a12a5 Fix: Don't try to execute empty Livestatus queries.
Fixes #5484
2014-03-10 09:44:53 +01:00
Michael Friedrich aa2c45f83e DB IDO: Fix agent_version column.
Fixes #5729
2014-03-08 15:03:59 +01:00
Michael Friedrich e8aa87d372 DB IDO: Clean schema.
Refs #5636
Refs #5730

Conflicts:
	components/db_ido_mysql/schema/mysql.sql
	components/db_ido_pgsql/schema/pgsql.sql
2014-03-08 14:44:54 +01:00
Gunnar Beutner 7341d1a568 Fix DomainPrivCheckResult has no effect.
Fixes #5727
2014-03-07 14:49:08 +01:00
Michael Friedrich 3b8c1a0c7d DB IDO: Schema update for 0.0.8 provides 1.11.0 version.
Refs #5635
2014-03-07 11:11:28 +01:00
Michael Friedrich 33a8e504ca Document DB IDO schema changes for 0.0.8
Fixes #5635
2014-03-07 10:40:30 +01:00
Gunnar Beutner 22d53cf3b5 Implement a new object type for service dependencies.
Fixes #2799
2014-03-05 09:57:29 +01:00
Michael Friedrich f890a7ae8c Refactor status/perfdata stats registry.
Fixes #5622
2014-02-20 15:25:58 +01:00
Michael Friedrich d3cdbb5156 Implement IcingaStatusWriter object dumping local and feature stats.
Refactored the cluster listener health check too.

Refs #5622
Refs #5444
2014-02-17 18:51:16 +01:00
Michael Friedrich 84be5e3413 Implement StatsFunction Registry for features.
Refs #5622
2014-02-17 17:53:41 +01:00
Michael Friedrich 66aa874f7d Refactor ClusterCheckTask based on cluster status.
Refs #5444
2014-02-13 19:23:38 +01:00
Michael Friedrich f5d40bab2d Cluster: Periodically dump status json.
Refs #5444
2014-02-13 16:34:15 +01:00
Michael Friedrich 2be318b93a DB IDO: Fix deleted config objects not marked is_active=0.
Fixes #5643
2014-02-12 16:04:17 +01:00
Michael Friedrich 3246ee602b Move ClusterCheckTask into the cluster component.
Refs #5438
2014-02-12 09:33:04 +01:00
Gunnar Beutner 42f664e4c6 Implement recursive includes for the cluster component.
Fixes #5304
2014-02-11 09:42:48 +01:00
Michael Friedrich babfc128ba Livestatus: Set host checks / freshness to 1 for compatibility reasons.
Fixes #5629
2014-02-10 14:02:17 +01:00
Gunnar Beutner 5242a86e2f Fix: PostgreSQL's GetAffectedRows() function always returned 0.
Fixes #5628
2014-02-10 10:25:12 +01:00
Michael Friedrich 5f26bb9147 Add check source to external commands / check result reader.
Fixes #5615
2014-02-07 09:48:15 +01:00
Michael Friedrich 4aeaf9a947 DB IDO: Add icinga_node to *history tables.
Refs #5470
2014-02-06 16:44:46 +01:00
Michael Friedrich 07615f14e8 DB IDO: Add check_source to statehistory table.
Refs #5470
2014-02-06 16:01:03 +01:00
Gunnar Beutner e6d405b4a4 Fix stack overflow in IdoPgsqlConnection::InternalExecuteQuery.
Fixes #5610
2014-02-05 14:59:11 +01:00
Michael Friedrich 9dd904942a Compat: Fix notification type string.
Fixes #5420
2014-02-04 10:54:38 +01:00
Gunnar Beutner 856f01198d Re-use IDs where possible.
Refs #5565
2014-02-04 09:37:56 +01:00
Gunnar Beutner 3a23f0110b Move the ClearConfigTables function into the DbConnection class.
Refs #5565
2014-02-04 09:19:11 +01:00
Michael Friedrich d31ca31e90 DB IDO: Implement notification object insert id cache.
Refs #5103
2014-01-29 17:38:02 +01:00
Michael Friedrich f30eca5a73 DB IDO: Refactor notification signal handling.
Refs #5103
Fixes #5265
2014-01-28 15:53:12 +01:00
Gunnar Beutner 08303f9aca Incrementally fetch MySQL/PGsql rows.
Fixes #5374
2014-01-28 14:26:56 +01:00
Johannes Meyer 7e235a53c5 Fix hostcheck state conversion of the statusdatawriter
fixes #5449
2014-01-15 14:50:58 +01:00
Michael Friedrich 6ac77d7f5c Compat: Do not dump empty strings into objects.cache.
Fixes #5450
2014-01-14 16:31:28 +01:00
Michael Friedrich a4466ba880 Fix formatting of execution_time, latency.
Fixes #5427
2014-01-10 00:38:16 +01:00
Michael Friedrich 555d72150a Update copyright header.
Fixes #5424
2014-01-09 00:32:11 +01:00
Michael Friedrich be78579dea Livestatus: Call addRowFn directly in UpdateLogEntries().
Refs #5351
Refs #5369
2013-12-18 17:32:18 +01:00
Michael Friedrich 333ba6ee7e Livestatus: Move log entry parsing into FetchRows().
Refs #5351
2013-12-18 16:28:33 +01:00
Michael Friedrich 9a2153d4e0 Livestatus: Use HistoryTable for log/statehist tables.
Refs #5351
2013-12-18 16:06:39 +01:00
Gunnar Beutner 21fb0d9872 Implement "safe mode" for icinga::Deserialize.
Fixes #5035
2013-12-18 10:27:58 +01:00
Michael Friedrich 9f82274fce Fix some more compiler warnings.
Refs #5348
2013-12-17 18:34:05 +01:00
Michael Friedrich 88fa67c108 Livestatus: Refactor historical tables.
Refs #5351
Refs #5348
2013-12-17 18:34:05 +01:00
Johannes Meyer 772f319926 Fix that triggered_by field is not of type int in a livestatus response
fixes #5356
2013-12-17 15:15:39 +01:00
Gunnar Beutner ad563cf5d2 Use CompatUtility::GetCommandLine in StatusDataWriter::DumpCommand.
Fixes #5353
2013-12-17 10:20:28 +01:00
Gunnar Beutner 53c1434700 Fix compiler warnings in the CompatLogger class.
Refs #5349
2013-12-17 07:54:41 +01:00
Johannes Meyer 3aa21fb340 Fix aggregation of the type and is_service livestatus comment columns
refs #5332
2013-12-16 15:36:38 +01:00
Johannes Meyer 4a6fddadb8 Fix deadlock when querying comments or downtimes through livestatus
fixes #5332
2013-12-16 14:14:01 +01:00
Michael Friedrich f47f7fb8c5 Compat: Fix commands in objects.cache file.
Refs #5328
2013-12-13 17:36:31 +01:00
Michael Friedrich 47f814cc4d Improve StatusDataWriter performance.
Fixes #5328
2013-12-13 15:23:44 +01:00
Johannes Meyer 0d99f98354 Fix that the "ColumnHeaders" option has no effect for json output
Fixes another bug that the "Columns" option did not disable
ColumnHeaders at all.

refs #5317
2013-12-13 10:24:18 +01:00
Michael Friedrich 66765311c3 Refactor CompatUtility::* for DB IDO, Livestatus, StatusData.
Fixes #5241
2013-12-13 09:38:22 +01:00
Michael Friedrich 1119c2f17b Fix crash while reading livestatus query.
Refs #5316
2013-12-12 12:07:47 +01:00
Johannes Meyer ed4def7ee8 Fix livestatus keepalive handling
fixes #5314
2013-12-12 10:21:33 +01:00
Michael Friedrich 7e4da258fc Compat: Don't dump empty CV keys.
Fixes #5306
2013-12-11 17:18:01 +01:00
Michael Friedrich 83e20ba02e Livestatus: Fix check_command_expanded column.
Fixes #5296
2013-12-11 10:18:23 +01:00
Gunnar Beutner 0b41af7639 Just write objects.cache file once.
Fixes #5270
2013-12-09 10:27:45 +01:00
Gunnar Beutner 203cf73bf7 Improve error messages for the check result reader.
Fixes #5275
2013-12-09 09:52:09 +01:00
Gunnar Beutner 41ded2858c Implement scheduled downtimes.
Fixes #3584
2013-12-06 13:45:18 +01:00
Gunnar Beutner 02e0933e7c Make status.dat/objects.cache interval configurable.
Fixes #5262
2013-12-05 10:04:49 +01:00
Gunnar Beutner 77595f9b5a Add context information to PerfdataWriter::CheckResultHandler.
Fixes #4743
2013-12-02 13:34:23 +01:00
Gunnar Beutner f05858d3ad Avoid unnecessary copies when iterating over dictionaries.
Refs #5246
2013-12-02 11:07:38 +01:00
Gunnar Beutner cac4167e79 Fix initial check schedule.
Fixes #5240
2013-11-28 20:56:48 +01:00
Gunnar Beutner 48569b6205 Fix deadlock when rescheduling checks.
Fixes #5092
2013-11-28 20:56:48 +01:00
Gunnar Beutner 85fec966b8 Improve IDO query performance.
Refs #5235
2013-11-28 12:12:10 +01:00
Gunnar Beutner 6d53bd1c8f Make sure IDO reconnect attempts don't recurse.
Refs #5235
2013-11-28 10:36:43 +01:00
Gunnar Beutner b915494157 Avoid unnecessary updates for the is_active column.
Fixes #5124
2013-11-22 10:13:42 +01:00
Gunnar Beutner 0978e46d5a Implement file type flags for Utility::Glob.
Fixes #5123
2013-11-22 09:03:52 +01:00
Gunnar Beutner 45161fe66d Improve latency after start-up.
Fixes #5121
2013-11-21 16:09:21 +01:00
Gunnar Beutner 91338a7e49 Remove redundant checks.
Fixes #5071
2013-11-21 12:23:55 +01:00
Gunnar Beutner 92dd32eb68 Implement support for high-level stack traces.
Refs #5085
2013-11-21 09:42:27 +01:00
Gunnar Beutner 27e9cd71e7 Create temporary files for PerfdataWriter in a separate directory.
Fixes #5105
2013-11-21 07:17:34 +01:00
Gunnar Beutner 39dcf20a89 Implement support for stack traces for STL exceptions.
Fixes #5114
2013-11-20 21:55:14 +01:00
Gunnar Beutner 7b1d34dae7 Fix check result, downtime and comment message types.
Fixes #5113
2013-11-20 15:33:33 +01:00
Gunnar Beutner 933ac5f403 Clear ID cache when (re-)connecting.
Fixes #5108
2013-11-20 09:32:30 +01:00
Gunnar Beutner a4b2c2134d Update database schemas.
Refs #5080
2013-11-20 09:10:50 +01:00
Gunnar Beutner 64dc5e9d00 Change default directory for performance data to /var/spool/icinga2/perfdata.
Fixes #5089
2013-11-17 20:04:32 +01:00
Gunnar Beutner 37d9ccde94 Improve Graphite output for multi performance data.
Refs #5082
2013-11-17 13:03:24 +01:00
Gunnar Beutner b023e5af86 Merge branch 'feature/threadpool-bug-5050' into next
Fixes #5050
2013-11-15 15:29:15 +01:00
Gunnar Beutner ff807dabff Use a separate thread pool for checks.
Refs #5050
2013-11-15 12:18:40 +01:00
Michael Friedrich e6128a0a96 Livestatus: Fix invalid livestatus query crashes Icinga 2.
Fixes #5076
2013-11-15 10:56:14 +01:00
Gunnar Beutner a5e3c70bcc Implement support for CRLs.
Fixes #3657
2013-11-13 10:30:40 +01:00
Gunnar Beutner f3e849ba60 Fix library path for libpq on Windows.
Fixes #5066
2013-11-12 23:48:28 +01:00
Michael Friedrich f3f113efd6 Livestatus: Fix program start time in status table. 2013-11-11 15:19:47 +01:00
Michael Friedrich d1419a3067 Fix CompatUtility::{ConvertTimestamp,GetCheckResultOutput} should return std::pair.
Fixes #5045
2013-11-11 15:06:23 +01:00
Michael Friedrich bf94967ac4 Livestatus: Fix additional stats columns causing problems.
Fixes #5052
2013-11-11 13:58:25 +01:00
Gunnar Beutner 4f1cb83f31 Fix Convert::ToString.
Fixes #5054
2013-11-11 13:04:18 +01:00
Gunnar Beutner e4b5fe74ff Fix LivestatusListener config object.
Fixes #5053
2013-11-11 11:57:25 +01:00
Gunnar Beutner 92c8d71bf3 Implement one-time notification for escalation contacts.
Fixes #5011
2013-11-11 11:21:23 +01:00
Gunnar Beutner eb746b9929 Optimize DynamicObject::HasAuthority().
Refs #5049
2013-11-11 08:39:35 +01:00
Gunnar Beutner ca9b31d4f0 Add check statistics.
Refs #5049
2013-11-10 17:47:47 +01:00
Gunnar Beutner 9a764d8a08 Optimize signal calls.
Refs #5049
2013-11-10 16:53:57 +01:00
Gunnar Beutner e2292ce5f7 Refactor the Service::Is{Comment,Downtime}* methods.
Refs #5039
2013-11-09 22:20:49 +01:00
Gunnar Beutner ec1a7bbfcb Implement class for service downtimes.
Refs #5039
2013-11-09 22:08:26 +01:00
Gunnar Beutner cb526ddccc Implement class for service comments.
Refs #5039
2013-11-09 21:19:52 +01:00
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
Gunnar Beutner 9c817f2a49 Remove debug message. 2013-10-17 14:41:45 +02:00
Gunnar Beutner fa845775a2 Fix crashes when restarting Icinga. 2013-10-17 10:56:42 +02:00
Gunnar Beutner e3bf2960fa cluster: Add debug message. 2013-10-17 09:28:49 +02:00
Gunnar Beutner 204f04f295 Fix Service::GetEnablePerfdata(). 2013-10-16 18:36:14 +02:00
Michael Friedrich 8686305848 Fix enable_perfdata. 2013-10-16 17:18:21 +02:00
Gunnar Beutner ac9981fbcd Implement event_handler_enabled modified attribute. 2013-10-16 15:20:14 +02:00
Gunnar Beutner aed9b578f1 livestatus: Implement support for modified_attributes. 2013-10-16 14:30:13 +02:00
Gunnar Beutner 177e1a9000 Implement modified attributes for enable_active_checks and enable_passive_checks. 2013-10-16 11:46:54 +02:00
Gunnar Beutner 33cc106a14 Implement GetEnablePerfdata/GetEnableEventHandlers. 2013-10-16 10:47:02 +02:00
Gunnar Beutner 4d44d541f3 Re-implement ClusterListener::key_path. 2013-10-15 21:28:58 +02:00
Gunnar Beutner e7f1e3b2ef Add missing #include. 2013-10-15 20:37:58 +02:00
Gunnar Beutner f8c057d63a Windows build fix. 2013-10-15 20:29:09 +02:00
Michael Friedrich efbbeeaa3f GraphiteWriter: Bugfixes.
refs #4883
refs #3986
2013-10-15 20:10:03 +02:00
Michael Friedrich 4135578903 Add GraphiteWriter.
fixes #3986
2013-10-15 14:56:02 +02:00
Gunnar Beutner 1bce8cec97 Fix: ZlibStream doesn't work even if libssl supports zlib.
Fixes #4848
2013-10-15 12:59:49 +02:00
Gunnar Beutner def9b309a5 Add missing quotes. 2013-10-14 14:11:27 +02:00
Gunnar Beutner 8894a77a19 ido: Escape application version. 2013-10-14 09:46:44 +02:00
Michael Friedrich 4cdec1d8ca spec: Add schema to -ido-mysql doc.
fixes #4854
2013-10-11 15:05:20 +02:00
Gunnar Beutner b204061d9f Fix crash in ClusterListener::ReplayLog(). 2013-10-11 08:20:15 +02:00
Gunnar Beutner 8409b55018 More Win64 build fixes. 2013-10-10 23:46:45 +02:00
Gunnar Beutner db90a785db Win64 build fix. 2013-10-10 23:30:05 +02:00
Gunnar Beutner 1b0977a512 Windows build fix. 2013-10-10 23:07:33 +02:00
Gunnar Beutner fe5c925a63 Windows build fix. 2013-10-09 15:03:24 +02:00
Michael Friedrich 46bcaf336c Build fix. 2013-10-09 12:35:11 +02:00
Michael Friedrich 40f827df58 ido_mysql, livestatus: Use Application::GetVersion(). 2013-10-09 11:24:37 +02:00
Gunnar Beutner 3f922e5eac Implement Application::GetVersion().
Fixes #4801
2013-10-09 08:46:31 +02:00
Gunnar Beutner d36e2ebd1a Build fix for CentOS 5.9.
Fixes #4819
2013-10-08 15:43:36 +02:00
Gunnar Beutner 369d88b3c4 Implement global attributes. 2013-10-08 11:57:35 +02:00
Michael Friedrich a24c233ecb Restore missing accessor.
refs #4756
2013-10-03 19:52:56 +02:00
Michael Friedrich f55d48cfb3 Fix compiler warnings (wip)
refs #4756
2013-10-03 18:58:48 +02:00
Michael Friedrich 7031421162 compat: Add {host,service}_groups attributes. 2013-10-03 17:59:17 +02:00
Michael Friedrich ae12f9923d compat: Add more service config attributes. 2013-10-03 17:30:58 +02:00
Michael Friedrich 157d06bc34 livestatus: Fix OneAccessor. 2013-10-03 03:48:12 +02:00
Michael Friedrich 732f07a83f db_ido: Add object_id for logentries.
see https://dev.icinga.org/issues/4754 for the extension.
2013-10-03 03:41:47 +02:00
Michael Friedrich bfa8cf789b compat: Add more host attributes, refactor contacts getter. 2013-10-02 21:09:13 +02:00
Michael Friedrich 09cc7632e7 compatutility: Use User(Group) Ptr, not name.
refs #4735
2013-10-01 16:44:33 +02:00
Michael Friedrich b2f13c37e4 compatutility: Add contact(group) getters.
refs #4735
2013-10-01 15:39:00 +02:00
Michael Friedrich e63b752457 IdoMysqlConnection: Add conninfo entry, set session to utc.
fíxes #4783
fíxes #4790
2013-10-01 14:01:59 +02:00
Michael Friedrich 7a6139a219 db_ido: Fix debug log level. 2013-10-01 13:36:36 +02:00
Michael Friedrich 5d15e3b644 IdoMysqlConnection: Store last notifications insert id.
refs #4768
2013-10-01 12:45:09 +02:00
Michael Friedrich 7dae41ee98 CompatLogger: Add external commands.
refs #4362
2013-09-30 20:34:55 +02:00
Gunnar Beutner f90d88aad5 Implement validator for LivestatusListener::socket_type.
Fixes #4751
2013-09-30 10:07:49 +02:00
Gunnar Beutner 2a051cdea4 Rename directory for Icinga socket files. 2013-09-30 09:42:27 +02:00
Michael Friedrich a326ddbb9f Revamp livestatus startup logging a bit. 2013-09-28 12:54:26 +02:00
Gunnar Beutner cd4d3e6e8e Replace umask() with chmod() because it's not thread-safe. 2013-09-28 08:10:32 +02:00
Michael Friedrich 87fa063528 LivestatusListener: Set unix socket permissions to 0660.
refs #4444
2013-09-27 19:39:46 +02:00
Michael Friedrich e8a019d297 ExternalCommandListener: Reset umask to preserve group write permissions.
refs #4444
2013-09-27 19:39:23 +02:00