Commit Graph

581 Commits

Author SHA1 Message Date
Michael Friedrich f890a7ae8c Refactor status/perfdata stats registry.
Fixes #5622
2014-02-20 15:25:58 +01:00
Gunnar Beutner 9bdf2f4766 Event handlers should be run when services are in a soft state.
Fixes #5681
2014-02-20 10:35: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 95f7de123e Move Check Stats into CIB.
Fixes #5617
2014-02-10 14:59:56 +01:00
Gunnar Beutner 663f72300b Fix validation for the "authorities" attribute.
Fixes #5593
2014-02-10 08:50:09 +01:00
Michael Friedrich e534f9bc1b Add Cluster Health Check.
Fixes #5438
2014-02-07 15:19:37 +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 1e0a11c7f2 Add IcingaNodeName script variable, set as check source (WIP).
Fixes #5471
Fixes #5473
2014-02-06 15:38:06 +01:00
Michael Friedrich 1728095c53 Fix ProcessHostCheckResult error message.
Fixes #5601
2014-02-04 15:59:08 +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
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
Michael Friedrich 555d72150a Update copyright header.
Fixes #5424
2014-01-09 00:32:11 +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
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 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
Michael Friedrich 07e4bc03bc Fix perfdata double value type formatting.
Fixes #5277
2013-12-16 16:57:30 +01:00
Michael Friedrich a840dc8694 Apply UOM base to warn/crit/min/max to perfdata values.
Fixes #5280
2013-12-16 16:36:54 +01:00
Gunnar Beutner ff5a35b7db Fix race condition in TimePeriod::Start.
Refs #5337
2013-12-15 18:46:14 +01:00
Gunnar Beutner 0af81f2da2 Fix race conditions in the config compiler.
Fixes #5335
2013-12-15 11:54:22 +01:00
Michael Friedrich 2ae988f457 Windows build fix. 2013-12-13 17:09:47 +01:00
Gunnar Beutner f8d7f7799e Improve WorkQueue performance
Refs #5327
2013-12-13 14:08:06 +01:00
Michael Friedrich 66765311c3 Refactor CompatUtility::* for DB IDO, Livestatus, StatusData.
Fixes #5241
2013-12-13 09:38:22 +01:00
Michael Friedrich e6c6a7dc52 Use exclamation mark for auto-generated config item names.
Fixes #5318
2013-12-12 11:50:08 +01:00
Johannes Meyer e50dd8c1cc Fix indentation in lib/icinga/externalcommandprocessor.cpp 2013-12-11 16:00:09 +01:00
Johannes Meyer 66845d05f8 Fix crash when a command is executed that affects check services
fixes #5297
2013-12-11 12:43:18 +01:00
Gunnar Beutner 41ded2858c Implement scheduled downtimes.
Fixes #3584
2013-12-06 13:45:18 +01:00
Gunnar Beutner e2941dbca8 Make sure that TimePeriod segments are being merged properly.
Refs #5268
2013-12-05 12:30:02 +01:00
Gunnar Beutner 52d2066995 Avoid temporary String objects in PerfdataValue::Format.
Fixes #5248
2013-12-02 12:55:35 +01:00
Gunnar Beutner f05858d3ad Avoid unnecessary copies when iterating over dictionaries.
Refs #5246
2013-12-02 11:07:38 +01:00
Gunnar Beutner 6e84800538 Fix indentation in CompatUtility::GetServiceNotification*
Fixes #5242
2013-11-29 12:28:17 +01:00
Gunnar Beutner cac4167e79 Fix initial check schedule.
Fixes #5240
2013-11-28 20:56:48 +01:00
Gunnar Beutner 6428fc6123 Implement override_check_period.
Refs #4746
2013-11-26 13:43:56 +01:00
Gunnar Beutner 245dd66bab Implement override_max_check_attempts.
Refs #4746
2013-11-26 13:27:41 +01:00
Gunnar Beutner 1c8fb7a198 Implement override_check_command.
Refs #4746
2013-11-26 13:26:21 +01:00