Commit Graph

86 Commits

Author SHA1 Message Date
Gunnar Beutner b887f14d96 Use BOOST_THROW_EXCEPTION instead of boost::throw_exception()
Fixes #3636
2013-02-06 12:51:12 +01:00
Gunnar Beutner 5492d6fac3 Bugfix: Unhandled exception in Service::CheckTimerHandler.
Fixes #3607
2013-02-01 19:27:36 +01:00
Gunnar Beutner 3846a10f0e Unset force_next_check after each check. 2013-01-28 13:24:51 +01:00
Gunnar Beutner 335a0b3067 Implement support for enabling/disabling passive checks. 2013-01-24 23:11:54 +01:00
Gunnar Beutner 8819b4c843 Bug fix: Remove pending services from the idle services set. 2013-01-24 11:14:17 +01:00
Gunnar Beutner 7447d340cc Bug fix: Continue executing checks even if the first matching service is disabled. 2013-01-24 11:07:37 +01:00
Gunnar Beutner e334f126c8 Checker: don't report missed checks after restarting Icinga
Fixes #3253
2013-01-23 15:28:32 +01:00
Gunnar Beutner 71ec1d2b95 Implement enable_checks property for services.
Fixes #3550
2013-01-22 16:01:08 +01:00
Gunnar Beutner 7e31cb639f Implement property change handler for next_check.
Fixes #3547
2013-01-22 12:44:23 +01:00
Gunnar Beutner 8c2ab8f552 Move service check code into the Service class.
Fixes #3546
2013-01-22 11:07:09 +01:00
Gunnar Beutner 989d7139f3 Refactor scheduling stuff from *CheckTask into the checker component
Fixes #3067
2013-01-22 09:40:37 +01:00
Gunnar Beutner 02de634c12 Implement REGISTER_SCRIPTFUNCTION() and clean up how check types are registered. 2013-01-22 09:21:50 +01:00
Gunnar Beutner 5a7aeb1f19 Fix: Endpoints were not properly marked as local. 2013-01-18 09:37:27 +01:00
Gunnar Beutner 3fe13b3ad3 Fixed grammar mistake. 2012-10-15 08:54:08 +02:00
Gunnar Beutner ac11c84813 Only log check timer when we actually created any tasks. 2012-10-15 08:52:31 +02:00
Gunnar Beutner f53f8e64fd Renamed NagiosCheckTask to PluginCheckTask.
Fixes #3146
2012-09-25 09:08:50 +02:00
Gunnar Beutner 97829fbfcd Cleaned up the code a bit. 2012-09-21 09:43:06 +02:00
Gunnar Beutner 8dcb8bdd2e Fixed notification for missed checks. 2012-09-04 10:45:00 +02:00
Gunnar Beutner 4f39e10a05 Log missed checks. 2012-09-03 12:36:35 +02:00
Gunnar Beutner dc6246642f Implemented replication for Endpoint objects. 2012-09-03 10:29:02 +02:00
Gunnar Beutner 8b87e30197 Removed roles/publications. 2012-08-14 10:53:04 +02:00
Gunnar Beutner c0d02291a2 Removed incorrect assert(). 2012-08-06 10:01:45 +02:00
Gunnar Beutner d8be3f088f Bugfix for restoring objects from the retention.dat file. 2012-08-04 14:13:04 +02:00
Gunnar Beutner 1de42d08f2 Use boost::multi_index instead of a priority queue. 2012-08-04 13:49:25 +02:00
Gunnar Beutner 85d912feb5 Fixed scheduling bug. 2012-08-04 10:45:21 +02:00
Gunnar Beutner 22dabfc60d Updated the checker and delegation components to use replication for the "checker" property. 2012-08-03 23:03:58 +02:00
Gunnar Beutner 88776a4be8 Fixed task statistics. 2012-08-03 14:07:25 +02:00
Gunnar Beutner d789cee443 Build fixes and code cleanup. 2012-08-03 13:19:55 +02:00
Gunnar Beutner a38379c56d Implemented support for replicating object tags [WIP - broken]. 2012-08-02 11:45:50 +02:00
Gunnar Beutner 8c185a38b0 Renamed ConfigObject to DynamicObject. 2012-07-30 10:17:29 +02:00
Gunnar Beutner 24a5a10e00 Refactored ConfigObject adapter classes. 2012-07-27 19:56:57 +02:00
Gunnar Beutner 1eb25ad4e9 Keep track of time using fractions of seconds. 2012-07-25 12:59:17 +02:00
Gunnar Beutner d1e7c15178 Removed delegation::ServiceStatus message (obsoleted by the domain concept) 2012-07-25 09:03:02 +02:00
Gunnar Beutner 0423f42d03 Cleaned up status calculation code. 2012-07-24 15:38:30 +02:00
Gunnar Beutner 7d1ec0332d Removed CIB::RequireInformation. 2012-07-20 14:30:35 +02:00
Gunnar Beutner 24494a78bc Moved calculation of next check timestamp into the cibsync component. 2012-07-18 11:52:22 +02:00
Gunnar Beutner f6c95efa45 Try to more uniformly distribute checks in their check interval. 2012-07-17 19:10:14 +02:00
Gunnar Beutner 6707bfeb26 Updated delegation/checker to use cibsync rather than sending service objects. 2012-07-17 12:57:21 +02:00
Gunnar Beutner 9c7c039365 Implemented native::NullCheck check method. 2012-07-16 15:10:42 +02:00
Gunnar Beutner 7270fb160c Renamed "hooks" to "methods". 2012-07-16 08:19:51 +02:00
Gunnar Beutner fd38babd98 More bugfixes for AsyncTask. 2012-07-15 17:29:59 +02:00
Gunnar Beutner 3e472012d1 Implemented exception support for AsyncTasks. 2012-07-15 10:58:03 +02:00
Gunnar Beutner fe237e0145 Bugfixes for the ScriptTask feature. 2012-07-14 16:49:21 +02:00
Gunnar Beutner 30aa16d9dc Implemented script tasks. 2012-07-14 15:59:59 +02:00
Gunnar Beutner 6cbccdc91c Cleaned up AsyncTask class. 2012-07-14 13:57:50 +02:00
Gunnar Beutner eb2e4ac205 Bugfixes for the Process/AsyncTask classes. 2012-07-14 12:44:37 +02:00
Gunnar Beutner 20dbad0131 Implemented Process class, cleaned up NagiosCheckTask. 2012-07-13 21:00:54 +02:00
Gunnar Beutner 7d859e2e18 Made logging more modular. 2012-07-10 12:21:19 +02:00
Gunnar Beutner 777f39c1ef Renamed Dictionary::{Set,Get}Property -> Dictionary::{Set,Get} 2012-07-09 16:19:56 +02:00
Gunnar Beutner d577406a66 Implemented ServiceStatusMessage class. 2012-07-03 10:41:25 +02:00