Commit Graph

102 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 b9b009b6da Build fix for Windows. 2012-09-21 16:28:14 +02:00
Gunnar Beutner bb8935fe9b Added Win64 build support. 2012-09-21 16:15:36 +02:00
Gunnar Beutner 97829fbfcd Cleaned up the code a bit. 2012-09-21 09:43:06 +02:00
Gunnar Beutner 8e4bdf3872 Build fixes for Windows. 2012-09-10 14:35:01 +02:00
Gunnar Beutner 037e3d913b Refactored the libraries. 2012-09-10 14:07:32 +02:00
Gunnar Beutner c7b29c6b46 Build fix for Windows. 2012-09-07 11:46:38 +02:00
Gunnar Beutner 9bc93ce4a9 Renamed 'doc' to 'docs'.
Moved Doxygen files to docs/.
Removed cJSON directory.
Moved libraries into lib/.
Renamed 'config' to 'm4'.
Renamed 'dyn' library to 'config'.
2012-09-07 10:27:31 +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 310edc1074 Re-enabled /MP (parallel builds) on Windows. 2012-07-15 13:15:51 +02:00
Gunnar Beutner d703f80e62 Enabled pre-compiled headers for Windows builds. 2012-07-15 13:13:19 +02:00
Gunnar Beutner 3e472012d1 Implemented exception support for AsyncTasks. 2012-07-15 10:58:03 +02:00