Permalink
Commits on Nov 15, 2017
  1. Strip the null character from environment variables (#1934)

    actatux authored and naparuba committed Nov 15, 2017
    This makes subprocess.Popen() happy. (issue #1891)
Commits on Oct 3, 2017
  1. Fix: TEST opensuse and amazonlinux

    naparuba committed Oct 3, 2017
Commits on Oct 2, 2017
  1. Fix: TEST pypi test remove, not need currently

    naparuba committed Oct 2, 2017
  2. Fix: installation with pip and local file.

    naparuba committed Oct 2, 2017
  3. Fix: TEST should fix fedora installation tests, but alpine will be a …

    naparuba committed Oct 2, 2017
    …real problem :(
  4. Fix: TEST should fix debian installation tests

    naparuba committed Oct 2, 2017
    Enh: better init.d script. It just need bash, but better output. Still lot of work to get up to the opsbro level.
  5. Fix: TEST debian: missing pycurl dependency

    naparuba committed Oct 2, 2017
  6. Fix: TEST centos docker images have issues in finding python executable

    naparuba committed Oct 2, 2017
    Fix: TEST missing python-setuptools in docker test images
  7. Fix: TEST centos installation was missing python-setuptools

    naparuba committed Oct 2, 2017
    Fix: TEST setup.py install need the shinken user to exist before being launch
  8. Enh: Backport test suite from OpsBro to test installations in various…

    naparuba committed Oct 2, 2017
    … distributions. Base for future integration tests.
  9. Merge remote-tracking branch 'origin/master'

    naparuba committed Oct 2, 2017
Commits on Sep 19, 2017
  1. Add instructions to use --install-scripts in pip (#1890)

    clonedagain authored and naparuba committed Sep 19, 2017
    At least on Ubuntu Precise and Xenial, ``pip install shinken`` does not install the executables in the search path.
    We have to add ``--install-option="--install-scripts=/usr/local/bin"`` to make it install to the expected directory.
  2. Enh: extend duplicate_foreach to host/hostgroups (#1905)

    geektophe authored and naparuba committed Sep 19, 2017
    This patch moves the phase where `duplicate_foreach` services are
    expanded in order to open the use of `duplicate_foreach` clause to hosts and
    hostgroups bound services, not only to service templates.
    
    The parameter can be configured on services directly attached to hosts
    and hostgroups:
    
        define service {
            use                    generic-service
            service_description    Disk %KEY%
            command                check_disk!$KEY$
            duplicate_foreach      _disks
            host_name              test_host_1
            hostgroups             test_hostgroup_1
        }
  3. modules_manager: ignore '.git' dir when load modules. (#1883)

    k0ste authored and naparuba committed Sep 19, 2017
Commits on Jun 28, 2017
  1. Merge pull request #1919 from geektophe/fix_http_client_uncaught_exc

    olivierHa committed Jun 28, 2017
    Fix: http_client exceptions management
  2. Fix: http_client exceptions management

    geektophe committed Jun 28, 2017
    This patch fixes a bug in `http_client`: when an HTTP code != 200 is got,
    an uncaught exception is risen, which results in a service crash.
    
    The `Exception` instance is replaced by an `HTTPException`, which is
    correctly handled. The `put()` method error management behavior has also
    been harmonized with other methods.
Commits on Jun 27, 2017
  1. Merge pull request #1918 from geektophe/fix_osx_platform_detection

    olivierHa committed Jun 27, 2017
    Fixed OSX (darwin) platform detection
Commits on Jun 23, 2017
  1. Fixed OSX (darwin) platform detection

    geektophe committed Jun 23, 2017
    In setup.py, the instruction `'win' in sys.platform` breaks system detection
    on OSX computers (`sys.platform == "darwin"`).
    
    This patch hardens windows platform detection.
Commits on Jun 22, 2017
  1. Merge pull request #1908 from daynejones/patch-1

    olivierHa committed Jun 22, 2017
    Update about.rst
  2. Merge pull request #1911 from amarao/master

    olivierHa committed Jun 22, 2017
    Fix trace on sening messages
  3. Merge pull request #1917 from geektophe/fix_shinken_search_unicode

    olivierHa committed Jun 22, 2017
    Fix: fixed unicode string parisng in shinken cmdline
  4. Fixed unicode string parisng in shinken cmdline

    geektophe committed Jun 22, 2017
    The `cprint` function in the `termcolor` library in the shinken cli does not
    correctly handle unicode strings, and raises an UnicodeEncodeError.
    
    This patch checks and encodes unicode strings to prevent this bug.
Commits on Jun 12, 2017
  1. Merge pull request #1914 from geektophe/enh_mem_free_opt_in

    olivierHa committed Jun 12, 2017
    Enh: Made memory free an opt-in option
Commits on Jun 11, 2017
  1. Made memory free an opt-in option

    geektophe committed Jun 11, 2017
    As I'm not totally sure that freeing memory using low level libc6 calls
    will work on all distributions, I prefer to let the user decide whether or
    not to use it.
    
    The call to `memory_free()` is now disabled by default, and may be
    activated by setting the `aggressive_memory_management` option to `1` in
    the daemons ini configuration file.
    
    For instance, in `schedulerd.ini`:
    
        ...
        port=7768
        daemon_enabled=1
        aggressive_memory_management=1
        ...
Commits on Jun 9, 2017
  1. Merge pull request #1828 from geektophe/enh_mem_leak_hunting

    olivierHa committed Jun 9, 2017
    Enh: Memory leak hunting
  2. Merge pull request #1912 from arthurlogilab/patch-3

    olivierHa committed Jun 9, 2017
    Add starttls and username/password for SMTP
Commits on Jun 6, 2017
  1. Update notify_by_email.py

    arthurlogilab committed Jun 6, 2017
Commits on May 29, 2017
  1. Fix trace on sening messages:

    amarao committed May 29, 2017
    Traceback (most recent call last):
      File "/var/lib/shinken/libexec/notify_by_email.py", line 370, in <module>
        mail = create_html_message(mail)
      File "/var/lib/shinken/libexec/notify_by_email.py", line 213, in create_html_message
        html_content.append('<tr><th class="odd">' + k + '</th><td class="odd">' + v + '</td></tr>')
    TypeError: cannot concatenate 'str' and 'NoneType' objects
Commits on May 9, 2017
  1. Typo

    geektophe committed May 9, 2017
Commits on May 7, 2017
  1. Explicitly frees memory when receiving new conf

    geektophe committed May 7, 2017
    It seems that under Linux memory is not cleanly freed when a new
    configuration is got. This patch forces memory to be really freed.
Commits on May 6, 2017
  1. Harmonized graceful restart

    geektophe committed May 6, 2017
    Harmonized the way graceful restart and process switch is done in the
    different services.
  2. Typo

    geektophe committed May 6, 2017
    Thanks @dgilm
  3. PEP8 compliance

    geektophe committed May 6, 2017