[icinga-checkins] icinga.org: icinga-core/mfriedrich/workers: core: retire periodioc command checking, as we now have a worker

git at icinga.org git at icinga.org
Sun Aug 5 23:32:12 CEST 2012


Module: icinga-core
Branch: mfriedrich/workers
Commit: f6b96d87e4be8ebf3554c235f06c2624a6f9a7d5
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=f6b96d87e4be8ebf3554c235f06c2624a6f9a7d5

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Sun Aug  5 17:40:48 2012 +0200

core: retire periodioc command checking, as we now have a worker

...which makes sure that commands are always processed immediately upon
arrival, instead of having the command file worker thread reaping that
one.

command_check_interval and last_command_check are removed as variable
value holder in status data, config data, test data.

refs #2957

---

 base/broker.c                          |    2 -
 base/checks.c                          |    2 -
 base/commands.c                        |   67 --------------------------------
 base/config.c                          |   20 +--------
 base/events.c                          |   24 -----------
 base/icinga.c                          |    4 --
 base/icingastats.c                     |   25 ------------
 base/utils.c                           |   46 ----------------------
 cgi/cgiutils.c                         |    1 -
 cgi/extinfo.c                          |   12 ------
 include/icinga.h                       |    5 --
 include/nebstructs.h                   |    2 +-
 sample-config/icinga.cfg.in            |   31 ---------------
 t-tap/smallconfig/icinga.cfg           |   28 -------------
 t-tap/test-stubs.c                     |    1 -
 t-tap/test_commands.c                  |    3 -
 t-tap/test_events.c                    |    1 -
 t-tap/test_icinga_config.c             |    3 -
 t-tap/test_timeperiods.c               |    3 -
 t/etc/icinga-empty-groups.cfg          |   28 -------------
 t/etc/icinga-hosturgencies.cfg         |   28 -------------
 t/etc/icinga-no-contactgroup.cfg       |   28 -------------
 t/etc/icinga-no-service.cfg            |   28 -------------
 t/etc/icinga-no-status.cfg             |   28 -------------
 t/etc/icinga-with-generated-status.cfg |   28 -------------
 t/etc/icinga.cfg                       |   28 -------------
 t/var/status-hosturgencies.dat         |    4 --
 t/var/status.dat                       |    4 --
 xdata/xsddefault.c                     |   32 ---------------
 29 files changed, 4 insertions(+), 512 deletions(-)

Diff:   https://git.icinga.org/?p=icinga-core.git;a=commitdiff;h=f6b96d87e4be8ebf3554c235f06c2624a6f9a7d5




More information about the icinga-checkins mailing list