Gunnar Beutner
|
be95f3171d
|
Even more code refactoring.
|
2013-03-04 15:52:42 +01:00 |
Gunnar Beutner
|
48485c5f26
|
More lock refactoring. Yay.
|
2013-03-02 09:07:47 +01:00 |
Gunnar Beutner
|
572a477da3
|
Refactored object locking code.
|
2013-03-01 12:07:52 +01:00 |
Gunnar Beutner
|
e9648f35bc
|
Make the services/notifications caches thread safe.
Send notifications based on the notification_interval setting.
|
2013-02-27 12:44:51 +01:00 |
Gunnar Beutner
|
45f8bfb730
|
Checker: Use Ptrs rather than WeakPtrs.
Fixes #3732
|
2013-02-26 10:58:32 +01:00 |
Gunnar Beutner
|
35c79a76c1
|
Make attribute lookups O(1).
|
2013-02-26 10:13:54 +01:00 |
Gunnar Beutner
|
2ef255b9f6
|
Fine-grained locks (WIP, Part 9).
|
2013-02-24 01:10:34 +01:00 |
Gunnar Beutner
|
4306c6c07a
|
Fine-grained locks (WIP, Part 8).
|
2013-02-21 16:12:50 +01:00 |
Gunnar Beutner
|
5e91f6c54d
|
Fine-grained locks (WIP, Part 7).
|
2013-02-20 19:52:25 +01:00 |
Gunnar Beutner
|
997ca3a77a
|
Fine-grained locks (WIP, Part 6).
|
2013-02-19 23:02:08 +01:00 |
Gunnar Beutner
|
a4c7052a6e
|
Fine-grained locks (WIP, Part 2).
|
2013-02-18 14:40:24 +01:00 |
Gunnar Beutner
|
c63c28dd9c
|
Fine-grained locks (WIP, Part 1).
|
2013-02-17 19:14:34 +01:00 |
Gunnar Beutner
|
4888a26c0e
|
Checker: Use weak_ptrs to keep track of services.
|
2013-02-11 13:05:08 +01:00 |
Gunnar Beutner
|
3ab071fbcb
|
Made the debug log level slightly less spammy.
|
2013-02-09 10:55:54 +01:00 |
Gunnar Beutner
|
3458b7d9d1
|
Implement service shortnames.
Refs #3660
|
2013-02-08 15:38:22 +01:00 |
Gunnar Beutner
|
09309b3899
|
Reschedule check timer after each finished check.
|
2013-02-08 10:39:31 +01:00 |
Gunnar Beutner
|
601c7d25d1
|
Implement sub-second check intervals.
Fixes #3656
|
2013-02-08 10:17:41 +01:00 |
Gunnar Beutner
|
b14027ec73
|
Move EXPORT_COMPONENT() macros to the beginning of the files.
Fixes #3654
|
2013-02-08 07:11:14 +01:00 |
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 |
Gunnar Beutner
|
5649f3efb2
|
Renamed m_*Endpoint to m_Endpoint.
|
2012-07-02 11:07:54 +02:00 |
Gunnar Beutner
|
d11da74931
|
Fixed latency calculation.
|
2012-06-27 23:38:50 +02:00 |
Gunnar Beutner
|
5f0bec3936
|
Implemented compat module (WIP).
|
2012-06-27 18:43:34 +02:00 |
Gunnar Beutner
|
22f301073e
|
Implemented soft/hard states.
|
2012-06-25 15:42:46 +02:00 |
Gunnar Beutner
|
593e329248
|
Added serialization support for check results.
Bugfixes.
|
2012-06-25 14:13:24 +02:00 |
Gunnar Beutner
|
833ede8b3a
|
Get rid off threadpool for nagios checks.
|
2012-06-24 16:30:16 +02:00 |
Gunnar Beutner
|
69d3e71b03
|
Bugfix: use service identity rather than just their names.
|
2012-06-22 12:22:36 +02:00 |
Gunnar Beutner
|
e294cf6686
|
Bugfixes.
|
2012-06-22 12:05:25 +02:00 |
Gunnar Beutner
|
e8a44ad2fb
|
Bugfixes, additional output for delegations.
|
2012-06-22 07:24:50 +02:00 |
Gunnar Beutner
|
bbbaca130e
|
Bugfixes.
|
2012-06-21 13:08:26 +02:00 |
Gunnar Beutner
|
ddeda8c512
|
Delegation bugfixes.
|
2012-06-21 12:52:13 +02:00 |
Gunnar Beutner
|
ee2c14414c
|
Warn about latency issues.
|
2012-06-20 15:24:47 +02:00 |
Gunnar Beutner
|
468a0ad5b2
|
Ignore debug log for now.
|
2012-06-20 10:46:18 +02:00 |
Gunnar Beutner
|
1ce92cf29a
|
Use popen_noshell() instead of popen().
|
2012-06-19 19:05:24 +02:00 |
Gunnar Beutner
|
877b9516f0
|
More performance improvements.
|
2012-06-19 15:52:48 +02:00 |
Gunnar Beutner
|
436ad8a26a
|
Performance improvements.
|
2012-06-19 09:38:20 +02:00 |
Gunnar Beutner
|
1db56a5995
|
Bugfixes for the nagios checker/thread pool.
|
2012-06-18 17:23:48 +02:00 |
Gunnar Beutner
|
177fbc46ec
|
Use empty() rather than size() == 0.
|
2012-06-18 09:44:12 +02:00 |
Gunnar Beutner
|
bd1e8b2395
|
Evenly distribute checks in the check interval.
|
2012-06-18 02:19:15 +02:00 |
Gunnar Beutner
|
30af9494d8
|
Bugfixes.
|
2012-06-18 01:58:13 +02:00 |
Gunnar Beutner
|
74bae58f21
|
Bugfixes.
|
2012-06-18 01:42:42 +02:00 |
Gunnar Beutner
|
6648af73ae
|
Decrease timeout for the result timer.
|
2012-06-17 23:10:03 +02:00 |
Gunnar Beutner
|
abc8d94e5f
|
Don't run checks for services which have pending checks.
|
2012-06-17 22:46:40 +02:00 |
Gunnar Beutner
|
5670e14df5
|
Bugfix.
|
2012-06-17 21:54:09 +02:00 |
Gunnar Beutner
|
4c658eb889
|
Multi-threaded nagios checks.
|
2012-06-17 21:00:24 +02:00 |
Gunnar Beutner
|
728f72dcce
|
Use adapters in the checker/delegation components.
|
2012-06-16 20:47:43 +02:00 |
Gunnar Beutner
|
7753e229cc
|
Remove EventArgs struct.
|
2012-06-16 03:42:54 +02:00 |
Gunnar Beutner
|
0bd5323629
|
Prefer boost::* over C++0x features.
|
2012-06-15 19:32:41 +02:00 |
Gunnar Beutner
|
d52afa080e
|
Bugfixes.
|
2012-06-14 21:09:35 +02:00 |
Gunnar Beutner
|
ac7d8688a8
|
Bugfixes.
|
2012-06-14 16:39:14 +02:00 |
Gunnar Beutner
|
146880c110
|
Added log messages, fixed config.
|
2012-06-14 16:31:38 +02:00 |
Gunnar Beutner
|
8e61490530
|
Checker/delegation fixes.
|
2012-06-14 16:09:04 +02:00 |