[icinga-checkins] icinga.org: New commits on branch rbartels/1.3

git at icinga.org git at icinga.org
Sat Jan 15 01:28:30 CET 2011


URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=46506e35c1b3a7b97e31ad2587cbd515102d7400
Author: Ricardo Bartels <ricardo at bitchbrothers.com>
Date:   Sat Jan 15 01:21:03 2011 +0100

    add csv export to config.cgi #1052
    
    thanks to Lars Engels for the patch

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=df296ca7622a2c293784f986c601ecf965e06f4b
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 12 15:07:50 2011 +0100

    move setting of dbversion after table creation in initial db creation sqls
    
    too much work, too less coffee...

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=9e81d10be6649dd7727240cf31d61f9638480d01
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 12 14:23:24 2011 +0100

    fix dbversion primary key sequence usage (thx formorer)

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=c1b37d49d59e57405112990aed54a578a2b64afd
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 12 10:07:39 2011 +0100

    idoutils: fix libdbi 0.8.3 deprecated functions dbi_result_get_(u)long #559
    
    fixes #559

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=f3acf86abfc933e7243cd0dfb0a97881e375f941
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Jan 11 17:30:41 2011 +0100

    core: fix extraneous alerts for services when host is down (Ton Voon) #1097
    
    fixes #1097

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=5754813aedef65352304c5fcf4708ffb35f1510c
Merge: cf2d084a5e81cd58b4c04b8e4f75f41528616744 01bb605bd9c86bb33cff8ab123380a9fd30da891
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Jan 11 16:51:39 2011 +0100

    Merge branch 'mforni/core' into mfriedrich/core

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=01bb605bd9c86bb33cff8ab123380a9fd30da891
Author: Massimo Forni <massimo at mforni-laptop.(none)>
Date:   Mon Jan 10 20:03:04 2011 +0100

    First doxygen configuration file

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=cf2d084a5e81cd58b4c04b8e4f75f41528616744
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Jan 10 20:03:02 2011 +0100

    idoutils: increase debugoutput for conversion functions #1094
    
    fixes #1094

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=b38f62f7a0a4e3a0ca7c086fba6514ed40b3d460
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Jan 10 19:01:32 2011 +0100

    idoutils: fix unfreed oci handles in prepared statements #1093
    
    lazy me, shame on me.
    
    fixes #1093

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=c29de5898f03cd8e633b450c021b81c88a155977
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Jan 10 17:59:49 2011 +0100

    classic ui: fix tac.cgi with incorrect links to filtered host details (Yannick Charton) #1065
    
    fixes #1065

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=94c86badf7fbbf3530038ff2aea4724f7c371682
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Jan 10 17:38:00 2011 +0100

    add TESTING with information on git, tests, configs, etc #1088
    
    mainly merging current
    https://dev.icinga.org/projects/icinga-development/wiki/Testing
    into plain text and providing with the sources.
    
    fixes #1088

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=6a3a60dc290618c96819118dae2d6c2c75b31b40
Merge: 24e5c8069b43100c4a4b46cc4278cdde9a1e1f80 46422d0ccc5355cf7b83b4a8d6d53e019874d530
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Jan 10 17:01:39 2011 +0100

    Merge branch 'mfriedrich/core'

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=46422d0ccc5355cf7b83b4a8d6d53e019874d530
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Jan 10 16:59:28 2011 +0100

    update year 2011

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=24e5c8069b43100c4a4b46cc4278cdde9a1e1f80
Merge: 4e2ee982cd809bf66e62432f34d09ba9e3362db9 aac76ccd58bfce8e3ca5f7515c87c39b4bc31335
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Jan 10 16:12:45 2011 +0100

    Merge branch 'mfriedrich/core'

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=aac76ccd58bfce8e3ca5f7515c87c39b4bc31335
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Jan 10 16:10:51 2011 +0100

    idoutils: add dbversion check in ido2db and print error to syslog in case of non-matching #633
    
    check the issue at https://dev.icinga.org/issues/633
    for tests and explainations.
    
    fixes #633

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=9a7c39af15a69bc1c24fc57fd973cac2796f1757
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Jan 10 09:38:32 2011 +0100

    idoutils: add dbversion upgrade scripts for 1.3 #633
    
    next to that, version and data is set to next release
    
    refs #633

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=2c4174a384a2d4f071edf1d7e67d0b34931f7c6e
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Jan 7 13:40:53 2011 +0100

    idoutils: add error string to config availability checks

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=d49b12efd0a68790f7702ffee3ba95d44c68e70a
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Jan 7 13:27:04 2011 +0100

    idoutils: add cfg option to enable/disable oci errors to syslog through error handler #1060
    
    it became necessary as on recurring errors the syslog might
    be flooded with error msg.
    
    this option disables syslog output for ocilib error msg.
    default stays enabled, but it might be changed in the future.
    
    fixes #1060

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=00fc8c32b00d833165738fbd124f59a9158915b1
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Jan 7 10:05:28 2011 +0100

    idoutils: add check for configuration file availability for idomod and ido2db (idea from Ricardo Maraschini) #1087
    
    fixes #1087

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=c8c0fa74cdd6fdcc783ad1aff346b6f2d94f5a0a
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Jan 7 09:16:14 2011 +0100

    fix variable defaults in trends.cgi for next problem patch

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=4e2ee982cd809bf66e62432f34d09ba9e3362db9
Merge: 3111522731d9d90f627f5f1223075ec5717fd89b 356dd14d704701d32e649f9e60895c21d2dc780c
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 5 17:45:01 2011 +0100

    Merge branch 'cmaser/fixes'

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=356dd14d704701d32e649f9e60895c21d2dc780c
Author: Christoph Maser <cmr at financial.com>
Date:   Wed Jan 5 17:40:56 2011 +0100

    add cgiauth.cfg

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=492a577e6f8afbbb8295446995d8a1f19711c7b1
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 5 17:40:26 2011 +0100

    idoutils: fix solaris <= lacks asprintf (Julian Wiesner) #1048
    
    refs #1048

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=2fadc0c66ea7a45f1f451409ab9180567bc673ce
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 5 17:20:51 2011 +0100

    idoutils: fix ido2db needs to check for empty command arguments on Solaris (Julian Wiesner) #1047
    
    fixes #1047

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=4a78fd110e2a86a6802b66d3260e6fadb1c464cc
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 5 16:46:13 2011 +0100

    core: do not copy broker modules (OMD patch) #896
    
    fixes #896

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=a225ecd5f8ce10b39a564334a6a0074afd60ddcf
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 5 16:20:10 2011 +0100

    core: protect against poorly behaving thread-libraries (Andreas Ericsson) #1080
    
    [--SNIP--]
    calling pthread_cancel(0) will cause segfaults with some thread
    libraries. It's possible that will happen if the user has a number
    of config files larger than the max open file descriptor limit
    (ulimit -n) and some eventbroker module leaks filedescriptors, since
    we can then enter the cleanup() routine from main() before we've
    spawned any threads.
    
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    [--SNIP--]
    
    fixes #1080

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=54978065368514b14b1cbec8fcfbc91d05dd3275
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 5 15:55:54 2011 +0100

    core: fix allocate memory once for *GROUPMEMBERS macros (Stephane Lapie) #1076
    
    [--SNIP--]
    Previously we used to iterate over all available members once and
    issue a realloc for every member. Such memory thrashing provides
    very poor performance compared to just counting the length we need
    and allocate it properly once and then writing to the buffer thus
    allocated.
    
    This patch corrects that for host and servicegroupmembers.
    
    Signed-off-by: Stephane Lapie <stephane.lapie at darkbsd.org>
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    
    Author: Stephane Lapie <stephane.lapie at darkbsd.org>
    [--SNIP--]
    
    fixes #1076

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=82c07167e482d0936f18f2763a342b78af0b618e
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 5 15:17:06 2011 +0100

    classic ui: add configurable http charset support (default utf-8) within the cgis #1002
    
    partly reworked into current Icinga CGIs (Ricardo rewrote
    header parts into cgiutils.c only), thanks to PLD Linux
    repositories for their path.
    
    fixes #1002

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=06c9b4ab7b05ae7f753818631cb4d63b5c84db53
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 5 14:30:10 2011 +0100

    classic ui: fix form/table DOM confusion in cgis (Sven-Göran Bergh) #1081
    
    fixes #1081

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=d1337cb588cf1347e23a235b5d26c8cbc7d8f5d6
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 5 13:44:06 2011 +0100

    classic ui: add trend timeperiod feature to locate the next problem (Carsten Emde) #1074
    
    [--SNIP--]
    In order to allow for scanning through the remaining recording and
    searching for the occurrence of the next host or service problem,
    the addtional time period tag TIMEPERIOD_NEXTPROBLEM was introduced.
    If selected, the time period of the next diplay will be selected in
    such a way that the full duration of the next problem will be
    displayed at the center of the image. If only the start time is
    available, because the problem is still present, the time window
    of the image falls back to the 24-hour period.
    [--SNIP--]
    
    fixes #1074

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=2fc2ef5112eb24c2354cc0b31b6f95c59a5d81ba
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 5 10:58:48 2011 +0100

    classic ui: move "add service/host comment" to the command box on extinfo.cgi, abandon remove all in favor of multiple comment delete #837
    
    looks more smooth, and eases handling of comment add/delete.
    remove all is not necessary anymore with multiple cmds.
    
    thx Christoph and Ricardo for the pointers.
    
    fixes #837

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=912f5bbabe8e47f5e3446077a23fc23e9ae042f0
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Jan 4 17:20:54 2011 +0100

    core: log error reason when failing to open the status file (Andreas Ericsson) #1078
    
    fixes #1078

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=8cae47bbfe37880e9b93298a5b9bc670be43066e
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Jan 4 13:44:59 2011 +0100

    classic ui: change color of unknown/unreachable state to more warm signalling purple #1029
    
    this will be more readable in contrast regards,
    and change the signal color to a bit warmer.
    
    fixes #1029

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=ca70ea24f9735d98ec6c1891b41e8841b646aa55
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Jan 4 13:15:40 2011 +0100

    update submodule pointer for module/icinga-api
    
    on a fresh clone do
    
    $ git submodule init
    $ git submodule update
    
    on an existing clone do
    
    $ git submodule update

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=3111522731d9d90f627f5f1223075ec5717fd89b
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 17 18:32:14 2010 +0100

    fix tests for allow empty hostgroup assigments

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=828a8a60b979a40ae21f4097488f405267d172a9
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 17 17:53:44 2010 +0100

    idoutils: fix unescape display name (Matthieu Kermagoret) #1027
    
    When receiving a display name (escaped by idomod), ido2db should
    unescape it.
    
    fixes #1027

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=305ec37a447bda3333de8c5574d20ecc70629532
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 17 17:44:13 2010 +0100

    core: allow empty hostgroup aissgments for services as opt-in config option (Max Schubert) #949
    
    --SNIP--
    We used to bomb out with an error on such configurations, but with
    this option it becomes optional if we should produce an error or a
    warning.
    
    It's useful to be able to assign services to empty hostgroups when
    configuration files or pre-cached object files are distributed to
    various pollers, or when the process of generating Nagios config is
    automated, or when a set of services is slowly being phased out but
    should be kept around in case of 'oh shit' epiphanies, such as one
    might experience when phasing out old monitoring agents.
    
    Thanks to Comcast in general and Max Schubert in particular for
    sharing this patch.
    
    Authored-by: Max Schubert <maxs at webwizarddesign.com>
    Reviewed-by: Daniel Wittenberg <daniel.wittenberg.r0ko at statefarm.com>
    Reviewed-by: Michael Friedrich <michael.friedrich at univie.ac.at>
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    --SNIP--
    
    this patch makes the checking for host_name on service definition
    a warning in order to allow such behahvior.
    
    fixes #949

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=4961a201553ad6963cef839581e6b565d2600871
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 17 12:53:48 2010 +0100

    core: allow eventbroker modules to override sending notifications (Matthieu Kermagoret) #1057
    
    It might be useful for eventbroker modules to implement
    their own logic for sending notifications instead of
    the core.
    
    fixes #1057

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=b6142e1f90d0703b8def38c231318b0c2aef8ffe
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 17 12:27:55 2010 +0100

    contrib: bring daemonchk.cgi building into shape (Elan Ruusamäe) #1051
    
    slightly reworked into Icinga.
    dropped document_header (has been rewritten for the cgis, no need over here).
    changed identing.
    make all now builds daemonchk.cgi
    
    fixes #1051

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=32e3c9950a3e323c0ab50d2a7b46b4bfa7d4e141
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Dec 13 15:23:02 2010 +0100

    fix wrongd delete of init_macrox_names in init_macros

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=7380a716ae8085ad23e4c67756537d0728d1eca3
Merge: 489fc13f4d293981fed10d9fff962287ec8fe573 4ac24f7c0135dbbbeb27a9237011e0bc2ec90b70
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Dec 6 15:20:30 2010 +0100

    Merge branch 'master' into mfriedrich/core
    
    Conflicts:
    	Changelog

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=4ac24f7c0135dbbbeb27a9237011e0bc2ec90b70
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Dec 6 15:19:10 2010 +0100

    core: fix parsing of long plugin output for async host checks (Jochen Bern) #1046
    
    fixes #1046

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=489fc13f4d293981fed10d9fff962287ec8fe573
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 18:15:52 2010 +0100

    fix several tests in t/ and t-tap/

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=ae83d6880bc1022955207178e5d564db472778fe
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 16:59:14 2010 +0100

    updated changelog from previous commits

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=9b508ba187fa89836c829b94c893274a74891f20
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 16:46:47 2010 +0100

    Added extra linefeed, missing from expected test result (Ton Voon)

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=73efcd06ea34e26a4b0057f7dccb790050c590c3
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 16:45:58 2010 +0100

    Add a 2 second tolerance to the timeperiods tests, for slow test servers (Ton Voon)

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=9b6a1a7aa17405d90d9837742ebd46dad210524a
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 16:43:33 2010 +0100

    Same Host Dependencies With Servicegroups (Mathieu Gagné)
    
    --SNIP--
    Allow to create service dependencies for all services that belong
    in one or more servicegroups on a service on the same host running
    the dependent service.
    
    Author: Mathieu Gagné <mgagne at iweb.com>
    Committer: Andreas Ericsson <ae at op5.se>
    --SNIP--
    
    refs #928

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=3e811c65e3988650c6426f016e69ab4c470bacf7
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 16:41:35 2010 +0100

    renamed t-tap/test_stubs.c to t-tap/test-stubs.c

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=c482bb0878e5fa53cd1c1410f056dfb8da650174
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 16:00:10 2010 +0100

    timeperiod samples: Correct thanksgiving date
    
    --SNIP--
    It's the 4'th thursday in november. Not second last.
    
    This fixes tracker.nagios.org issue 173.
    
    Reported-by: Rick Carter <Rick.Carter at umich.edu>
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    --SNIP--

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=7b8436141dcde9f6ba8fa95d3329d6303c124f5d
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 15:56:19 2010 +0100

    Add make rules so tests always have their requirements handy (Andreas Ericsson) #1042
    
    --SNIP--
    We know which type of tests require what, so it's quite simple
    to just make sure they're built in case one forgets.
    
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    --SNIP--
    
    refs #1042

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=725583072a6fa2773e08e0b5f992804a25c60fa1
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 15:49:25 2010 +0100

    fix several compiler warnings and remove old code
    
    partly taken from Andreas' commits.
    
    fixed thread-on-error-parent-disconnect s/==/=/
    
    argc can be ignored for embedded perl.

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=bcbc8e8645de33862bb848afb6a48f2712cf0bf7
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 14:28:15 2010 +0100

    test-stubs: Replace my_system() with my_system_r() (Andreas Ericsson)
    
    refs #1041

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=df43fc7153b96a971b58eae86c50a87ab135232d
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 14:26:01 2010 +0100

    Restore my_system() with a icinga_macros-free signature #1041
    
    Required by IDOUtils and possibly other NEB modules too. Reworked
    to match Icinga specifics.
    
    Kudos to Andreas Ericsson.
    
    refs #1041

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=f19a06fe185d5b1150f9b1f4c4bbc7101ef76c96
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 14:11:04 2010 +0100

    make test for host->last_check a bit more tolerant as a slow build server may record a different time than now (Ton Voon)

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=5b8ce386d2024af0cc687ec1ea33add80e8d6098
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 14:09:11 2010 +0100

    core: fix possible validation error with empty hostgroups/servicegroups (Sven-Göran Bergh) #1040
    
    fixes #1040

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=d8082084311f6d27c619927689cfd62f676ef230
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 13:42:22 2010 +0100

    threadsafaty: Use reentrant versions of localtime() and gmtime() (Andreas Ericsson) #1039
    
    ---
    This makes Nagios/Icinga play well with Merlin if macros are exported
    to environment variables.
    
    If/when someone complains about Nagios not compiling on their
    system, we'll introduce lock-wrapped versions of these functions
    for use on those systems, but it's unlikely that a system that
    supports threads doesn't have gmtime_r() and localtime_r() readily
    available.
    
    Reported-by: Patrik Båt <patrik.bat at cypoint.se>
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    ---
    
    adapted for Icinga too, this will most likely attempt to fix the env var
    problem with mk_livestatus too.
    
    refs #1039

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=5396ff9857b6553fcd9ff0f35a89f28beb3c83fc
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 13:21:12 2010 +0100

    test-stubs: Update to match the thread-safe code (Andreas Ericsson) #1038
    
    --SNIP--
    I broke it, so I get to fix it. This corrects the stub function
    declarations to match the core's definitions.
    
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    --SNIP--
    
    refs #1038

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=b78656420fb8286042f2422559e9c3e7c01f6b39
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 13:16:22 2010 +0100

    tests: Avoid linking test-stubs.c (Andreas Ericsson) #1037
    
    --SNIP--
    Since we #include it, we mustn't also link it or we'll get a
    ton of warnings about multiple definitions.
    
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    --SNIP--
    
    refs #1037

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=b06f7fb2bab1ff679a19624b5d7fa1109934e197
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 11:19:00 2010 +0100

    Don't free() "constant" macros in free_memory() (Andreas Ericsson) #1036
    
    --SNIP--
    It's unnecessary, since they are free()'d when they're assigned
    to (if set). If we free() them here, we lose them forever when
    we receive a SIGHUP signal or a PROGRAM_RESTART event from the
    command fifo.
    
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    --SNIP--
    
    refs #1036

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=aca97f460f4be0af031d4506f46f250310ab7282
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 11:15:37 2010 +0100

    Serialize debug logging (Andreas Ericsson) #1035
    
    --SNIP--
    Since threaded modules can now utilize performance data and
    checking APIs we must make sure that two processes never
    write to the debug logging file at the same time. In truth,
    stdio should take care of logging itself, but it seems as
    if vfprinftf() doesn't handle that properly so we do it
    ourselves, covering the case when one thread wants to move
    the file and another wants to write to it.
    
    In case child processes happen to inherit the lock (and thus
    hang indefinitely while waiting for it), we use a soft locking
    technique with a short loop that tries 5 times obtaining the
    lock, with a sleep of 30 microseconds between each attempt. If
    it fails to obtain it, it returns and ignores writing the
    debug logging event. For obvious reasons, we can't log such
    failed events, so they will pass silently.
    
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    --SNIP--
    
    refs #1035

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=021f3827eb7b349c10844d2bb8b351c1bfd58312
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 11:10:20 2010 +0100

    macros: Don't wipe the global macros when initializing macros (Andreas Ericsson) #1034
    
    --SNIP--
    Instead we must use clear_volatile_macros() on the global macro
    struct. Constant macros are safely free()'d individually when
    they're set, so this patch makes perfect sense.
    
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    --SNIP--
    
    refs #1034

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=9321bb36cd61597b3372c88f7ac6e3e96639c226
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 11:06:36 2010 +0100

    perfdata stuff: Plug memory leak in perfdata handling (Andreas Ericsson) #1033
    
    --SNIP--
    This was causing quite a large-ish leak, with memory being
    leaked each time performance data was handled either via
    perfdata commands or by being written to file.
    
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    --SNIP--
    
    refs #1033

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=424fb3bcd21eed48f946bec29d1f2f6566570986
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 11:01:17 2010 +0100

    base/nebmods: Plug a (tiny) leak (Andreas Ericsson) #1032
    
    --SNIP--
    When loading eventbroker modules we have lots of error paths,
    so there are lots of places where we'd want to free() the
    constructed filename from which we loaded the module earlier.
    
    This patch converts the buffer containing the constructed
    filename from heap-allocated to stack-allocated. Doing so plugs
    the one-time leak and, more importantly, makes valgrind shut
    the fsck up.
    
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    --SNIP--
    
    removed previous attempt of more my_free()'s too in order not
    to free memory anymore which wasn't allocated dynamically.
    
    refs #1032

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=e9a49cafd39cfe0f1ab65f4b5b818e3681f8bb5c
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 10:51:58 2010 +0100

    checks: Plug macro leak in run_async_service_check() (Andreas Ericsson) #1031
    
    --SNIP--
    No matter which path we ended up in, we always leaked the macros
    we obtained earlier.
    
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    --SNIP--
    
    --SNIP--
    Add parameter to calls to clear_volatile_macros()
    
    Yohoho and a bottle of rhum...
    
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    --SNIP--
    
    refs #1031

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=5447da12ed03bac67cce5a2b961b412b95eb14e0
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Dec 3 10:45:05 2010 +0100

    xpddefault: Use a mutex when writing to and updating perfdata files (Andreas Ericsson) #1024
    
    --SNIP--
    Running commands doesn't need this, but a combination of threads
    writing, opening and closing the xpddefault_*_perfdata_fp streams
    is a recipe for disaster. At least the locks are very short-lived,
    and should never even block unless threads from modules also try
    to update the performance data files.
    
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    --SNIP--
    
    refs #1024

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=813b7d3eb0cbf10f5097ee3dce347b8b448d90b4
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Nov 24 19:57:45 2010 +0100

    core: make performance-data handling and checks thread safe (Andreas Ericsson) #1022
    
    ---SNIP---
    It's a bit early to tell, but at least we've gotten rid of
    the horrible global macro management now, in favour of a macro
    struct that gets passed around. In truth though, the whole
    macro machinery needs a rewrite in order to make good sense.
    
    Getting all the data before we even know we need it doesn't
    even begin to make sense, but with this patch we can at least
    start using concurrent performance-data updates while checks
    are being started at the same time, and since notifications
    is currently the only thing (I hope) that isn't overly scratched
    by this patch, Nagios won't have any issues sending those out
    while other code looks to performance-data and firing up
    checks.
    
    As a fall-back for eventbroker modules and whatnot that
    references the global macro_x variable, we retain it but make
    it point to the global_macros.x. This requires that macros
    have been initialized, but any code that referenced macro_x
    before initialization was doomed to "undefined behaviour"
    earlier anyway, so the fact that they will now for certain
    segfault on such actions is probably an improvement.
    
    For backwards compatibility with existing modules, we let
    process_macros() and get_raw_command_line() exist with their
    previous signatures and act as wrappers for the reentrant
    versions providing the same functionality, passing a global
    'nagios_macros *' struct as first argument. The reentrant
    versions are, as per best practice, named "process_macros_r()"
    and "get_raw_command_line_r()", respectively. I only checked
    NDOUtils and DNX for compatibility, so other projects may
    suffer.
    
    Gargantuan patch, I know. The macro machinery was far more
    central to the Nagios core than I first imagined.
    
    Signed-off-by: Andreas Ericsson <ae at op5.se>
    ---SNIP---
    
    code compiles against the core, idoutils fail upon my_system awaiting
    the macro parameter (sth for FIXME and using my_system_r instead)
    
    code is reworked agaisnt current Icinga code base, while also adding
    the test_stubs.c file right now.
    
    kudos to Andreas Ericsson for his work :)
    
    refs #1022

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=2c5804d691e3f7e86da9f4be2badc26810645871
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Nov 24 15:29:57 2010 +0100

    fix typo from previous commit s/htmlurl/htmurl/ for url_stylesheet_path sample config #898
    
    refs #898

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=d50fd6ce2ab16ace251ce7fc667ee68425216858
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Nov 24 14:56:09 2010 +0100

    classic ui: add url_stylesheet_path to cgi.cfg to allow custom css path #898
    
    fixes #898

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=2192b2e37321481b8e06f37d4f88619905a6d7fb
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Nov 24 14:15:55 2010 +0100

    install: set -Wall gcc flags based on os/compiler #959
    
    fixes #959

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=a1768b0abee8dc9c1cc9b8e6711929313e55179b
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Nov 24 13:30:06 2010 +0100

    install: add hint to configure that libpq is not yet fully working #622
    
    refs #622

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=373cb3384c8dd1704357d27b366ba83360e2ea97
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Nov 24 13:06:03 2010 +0100

    core: protect against callbacks removing themsevles in nebmods (Andreas Ericsson) #1021
    
    fixes #1021

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=ac600a47e678ce9411f07829e2b252982329d885
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Nov 24 12:53:57 2010 +0100

    core: only catch SIGSEGV if we're not dumping core and running as a daemon #457
    
    fixes #457

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=c4ef5d91d0109260bb10f4be8b66bada4515aae1
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Nov 24 09:01:08 2010 +0100

    install: add sysconfig source to init script #1015
    
    fixes #1015

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=978acb05831bbafcc9ee8d1deca2bacf1bda662c
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Nov 24 08:43:36 2010 +0100

    classic ui: change default url target frame to main #1014
    
    fixes #1014

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=c4774374ef2ee3d6e30f8071cd5d0d7be96fe3ec
Merge: 30e2f1abbb2d382cf4ed7daf89dcd6880659be9d 379192bcaefb85309089516aa6ca3418095bf844
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Nov 24 08:35:53 2010 +0100

    Merge branch 'rbartels/1.3' into mfriedrich/core
    
    Conflicts:
    	Changelog

URL:    https://git.icinga.org/?p=icinga-core.git/commit/?id=30e2f1abbb2d382cf4ed7daf89dcd6880659be9d
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Nov 12 10:22:12 2010 +0100

    classic ui: add service states to annotate with current notification number opt-in (Jochen Bern) #976
    
    --SNIP--
            # SERVICE STATES TO ANNOTATE WITH CURRENT NOTIFICATION NO.
            # Set this to an OR of the service state identifiers for
            # which status.cgi should not only report "Attempts" (e.g.,
            # "3/3" for a HARD non-OK state with max_check_attempts=3)
            # but also the current notification number ("(#0)" if no
            # problem notification has been sent yet, etc.). This is
            # helpful to identify services which switched between
            # different non-OK states a lot, or services which have a
            # first_notification_delay set and are "not yet officially"
            # considered in trouble.
    [...]
            # You'll likely want to use add_notif_num_hard=0 (default)
            # or add_notif_num_hard=28 (warn+crit+unknown). There's an
            # add_notif_num_soft affecting services in a SOFT state
            # for sake of completeness, too.
    --SNIP--
    
    fixes #976





More information about the icinga-checkins mailing list