[icinga-checkins] icinga.org: icinga2/master: Make the services/ notifications caches thread safe.

git at icinga.org git at icinga.org
Wed Feb 27 12:45:43 CET 2013


Module: icinga2
Branch: master
Commit: e9648f35bc39443b45521f514ec9ff89c9581f24
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=e9648f35bc39443b45521f514ec9ff89c9581f24

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Wed Feb 27 12:44:51 2013 +0100

Make the services/notifications caches thread safe.
Send notifications based on the notification_interval setting.

---

 components/checker/checkercomponent.cpp           |    2 +-
 components/compat/compatcomponent.cpp             |   29 ++---
 components/compatido/compatidocomponent.cpp       |    2 +-
 components/notification/notificationcomponent.cpp |   22 +++-
 components/replication/replicationcomponent.cpp   |   12 +-
 components/replication/replicationcomponent.h     |    4 +-
 itl/types.conf                                    |    4 +-
 lib/base/dynamicobject.cpp                        |   88 +++++++-------
 lib/base/dynamicobject.h                          |    8 +-
 lib/base/dynamictype.cpp                          |    9 --
 lib/base/script.cpp                               |    4 +-
 lib/base/script.h                                 |    3 +-
 lib/icinga/externalcommandprocessor.cpp           |   38 +++---
 lib/icinga/host.cpp                               |  133 +++++++++-----------
 lib/icinga/host.h                                 |   19 ++--
 lib/icinga/hostgroup.cpp                          |   41 +++----
 lib/icinga/hostgroup.h                            |   12 +-
 lib/icinga/notification.cpp                       |   10 +-
 lib/icinga/service-check.cpp                      |   15 ++-
 lib/icinga/service-comment.cpp                    |   94 ++++++++-------
 lib/icinga/service-downtime.cpp                   |  110 +++++++++++-------
 lib/icinga/service-notification.cpp               |   94 ++++++++++-----
 lib/icinga/service.cpp                            |  103 +++++++---------
 lib/icinga/service.h                              |   30 ++---
 lib/icinga/servicegroup.cpp                       |   42 +++----
 lib/icinga/servicegroup.h                         |   10 +-
 26 files changed, 484 insertions(+), 454 deletions(-)

Diff:   https://git.icinga.org/?p=icinga2.git;a=commitdiff;h=e9648f35bc39443b45521f514ec9ff89c9581f24




More information about the icinga-checkins mailing list