1153 Commits

Author SHA1 Message Date
Michael Friedrich
11c42b1483 icinga check: add *_execution_time, num_{services,hosts}_* state/pending/flap/downtime/ack as perfdata.
Fixes #5440
2014-02-07 11:47:58 +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
Michael Friedrich
1e0a11c7f2 Add IcingaNodeName script variable, set as check source (WIP).
Fixes #5471
Fixes #5473
2014-02-06 15:38:06 +01:00
Gunnar Beutner
984ffb7421 Fix memory leak in Utility::GlobRecursive.
Fixes #5604
2014-02-05 13:53:56 +01:00
Gunnar Beutner
c818d94d93 Fix race condition in the config validator.
Fixes #5602
2014-02-05 12:00:37 +01:00
Michael Friedrich
1728095c53 Fix ProcessHostCheckResult error message.
Fixes #5601
2014-02-04 15:59:08 +01:00
Gunnar Beutner
ed2d4e627c Fix builds on Debian wheezy.
Fixes #5596
2014-02-04 12:59:22 +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
Gunnar Beutner
5ae20eb31a Fix duplicate object IDs for command objects.
Fixes #5584
2014-01-31 10:42:27 +01:00
Gunnar Beutner
238d90401c Implement an option to disable use of vfork().
Fixes #5583
2014-01-31 08:44:00 +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
a3097ff3c6 DB IDO: Fix the way notification_id is handled.
Fixes #5103
Fixes #5265
2014-01-28 17:53:40 +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
95559cb329 Fix: PROCESS_HOST_CHECK_RESULT misinterprets the given status code.
Fixes #5462
2014-01-28 14:44:06 +01:00
Gunnar Beutner
f9e8e204f9 Fix: Crash when state file is invalid.
Fixes #5361
2014-01-28 14:33:21 +01:00
Gunnar Beutner
e0596f2d33 Fix UNIX sockets on FreeBSD.
Fixes #5567
2014-01-28 09:58:19 +01:00
Michael Friedrich
f9c37524f1 DB IDO: Fix wrong timestamp in column expiration_time.
Fixes #5292
2014-01-23 17:42:33 +01:00
Michael Friedrich
fcec5c61a0 CompatUtility: Fix broken custom variable dump.
Fixes #5547
2014-01-21 16:13:27 +01:00
Johannes Meyer
f8e6673123 Implement missing host/servicegroup commands
fixes #5504
2014-01-20 16:58:18 +01:00
Johannes Meyer
f11ed8a684 Implement ENABLE_HOSTGROUP_PASSIVE_HOST_CHECKS
fixes #5501
fixes #5502
fixes #5503
2014-01-20 16:04:02 +01:00
Johannes Meyer
8a25bff8a6 Fix that dis-/enabling notifications affect active checks
fixes #5500
2014-01-20 11:12:03 +01:00
Johannes Meyer
cf81db562f Fix that the service_object_id is not correctly set in the servicechecks table
fixes #5486
2014-01-16 16:12:29 +01:00
Johannes Meyer
5aca228950 Fix that "categories" is not a valid attribute for DbConnection objects
refs #5482
2014-01-16 12:25:46 +01:00
Johannes Meyer
518ab55418 Fix the config compiler's ignorance
fixes #5482
2014-01-16 10:17:25 +01:00
Michael Friedrich
815a34a535 Filelogger must not truncate log file, but append its stream.
Refs #5448
2014-01-14 17:25:05 +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
Gunnar Beutner
3e5af43e4d Don't cache config item properties.
Refs #5400
2013-12-20 13:31:13 +01:00
Gunnar Beutner
38aa231a2d Discard unused config items as early as possibly.
Refs #5400
2013-12-20 13:31:13 +01:00
Johannes Meyer
2997680cf1 Fix indices used to access arguments of external commands
fixes #5368
2013-12-18 14:41:19 +01:00
Gunnar Beutner
3a10127bf4 Implement support for using custom variables as macros.
Fixes #5364
2013-12-18 10:53:26 +01:00
Gunnar Beutner
21fb0d9872 Implement "safe mode" for icinga::Deserialize.
Fixes #5035
2013-12-18 10:27:58 +01:00
Michael Friedrich
79f5618eba Use std::string::find() in String::Contains().
Refs #5355
2013-12-17 18:34:05 +01:00
Michael Friedrich
7fa9188df8 Add String::Contains().
Refs #5355
2013-12-17 18:34:05 +01:00
Johannes Meyer
12d32ad719 Fix crash that might occur in a situation where icinga should not crash...
refs #5356
2013-12-17 16:01:33 +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
9bf44b9b1d Fix: Missing warn/crit/min/max values are incorrectly set to 0.
Fixes #5358
2013-12-17 14:47:19 +01:00
Gunnar Beutner
b2ec194a82 Update log level for some messages.
Fixes #5357
2013-12-17 14:26:48 +01:00
Gunnar Beutner
41d4ba169f Embed constants into lib{base,icinga,db_ido}.
Fixes #5247
2013-12-17 14:24:29 +01:00
Gunnar Beutner
6bec49bd23 Fix invalid lock in Service::UpdateSlaveNotifications.
Fixes #5354
2013-12-17 11:56:29 +01:00
Gunnar Beutner
ad563cf5d2 Use CompatUtility::GetCommandLine in StatusDataWriter::DumpCommand.
Fixes #5353
2013-12-17 10:20:28 +01:00
Johannes Meyer
1bec9692c6 Fix address and address6 being empty in objects.cache
fixes #5352
2013-12-17 09:50:19 +01:00
Gunnar Beutner
ddf83f33d2 Fix compiler warnings in Service::ProcessCheckResult.
Refs #5349
2013-12-17 07:55:46 +01:00
Gunnar Beutner
dac4ac02a9 Fix compiler warning in CompatUtility::GetServiceNotificationNotificationOptions.
Refs #5349
2013-12-17 07:52:35 +01:00
Gunnar Beutner
0b8b421323 Fix compiler warnings in ScheduledDowntime::FindNextSegment.
Refs #5349
2013-12-17 07:52:30 +01:00
Gunnar Beutner
65b41c51ff Fix compiler warnings in ThreadPool::ThreadPool.
Refs #5349
2013-12-17 07:52:26 +01:00
Gunnar Beutner
79e960f7cb Fix a log message.
Refs #5342
2013-12-16 17:23:34 +01:00