[icinga-checkins] icinga.org: icinga2/master: Refactor commands and implement event handlers.

git at icinga.org git at icinga.org
Thu Jun 13 11:35:14 CEST 2013


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

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Thu Jun 13 11:33:00 2013 +0200

Refactor commands and implement event handlers.

Fixes #3877
Fixes #4001

---

 components/notification/notificationcomponent.cpp |    5 +-
 docs/icinga2-tutorial.adoc                        |   47 +++--
 itl/Makefile.am                                   |    2 +
 itl/command-common.conf                           |  224 +++++++++++++++++++++
 itl/command.conf                                  |   36 ++++
 itl/itl.conf                                      |    2 +
 itl/service-common.conf                           |  209 ++++----------------
 lib/base/object.cpp                               |    6 +
 lib/base/object.h                                 |    4 +-
 lib/icinga/Makefile.am                            |   13 ++
 lib/icinga/checkcommand.cpp                       |   48 +++++
 lib/icinga/checkcommand.h                         |   49 +++++
 lib/icinga/command.cpp                            |   56 +++++
 lib/icinga/command.h                              |   59 ++++++
 lib/icinga/eventcommand.cpp                       |   48 +++++
 lib/icinga/eventcommand.h                         |   49 +++++
 lib/icinga/icinga-type.conf                       |   85 ++++-----
 lib/icinga/legacytimeperiod.cpp                   |    2 -
 lib/icinga/notification.cpp                       |   17 +-
 lib/icinga/notification.h                         |    5 +-
 lib/icinga/notificationcommand.cpp                |   52 +++++
 lib/icinga/notificationcommand.h                  |   52 +++++
 lib/icinga/nullchecktask.cpp                      |    3 +-
 lib/icinga/nulleventtask.cpp                      |   31 +++
 lib/icinga/nulleventtask.h                        |   46 +++++
 lib/icinga/pluginchecktask.cpp                    |    7 +-
 lib/icinga/plugineventtask.cpp                    |   69 +++++++
 lib/icinga/plugineventtask.h                      |   45 ++++
 lib/icinga/pluginnotificationtask.cpp             |    6 +-
 lib/icinga/service-check.cpp                      |   17 +-
 lib/icinga/service-event.cpp                      |   39 ++++
 lib/icinga/service.cpp                            |   17 +-
 lib/icinga/service.h                              |   16 +-
 33 files changed, 1092 insertions(+), 274 deletions(-)

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




More information about the icinga-checkins mailing list