1. 28 Aug, 2018 1 commit
  2. 25 Aug, 2018 1 commit
  3. 16 Oct, 2017 3 commits
  4. 08 Sep, 2016 1 commit
  5. 31 Aug, 2016 1 commit
  6. 28 Aug, 2016 1 commit
  7. 03 Aug, 2016 1 commit
  8. 19 Dec, 2015 1 commit
  9. 18 Nov, 2015 1 commit
  10. 10 Nov, 2015 1 commit
    • Jonathan Michalon's avatar
      Implement config reload (via HUP signal) · 3c3ca1cf
      Jonathan Michalon authored
      Reloading of the configuration implemented. Old/changed checks in failure send
      an email saying it will never come back again. New checks are added to the list.
      Unmodified checks are kept the same, preserving context.
      Systemd unit now knows about reload and by the way uses systemd itself as a
      watchdog instead of the one provided alongside the program.
  11. 09 Nov, 2015 1 commit
  12. 31 Oct, 2015 1 commit
  13. 26 Oct, 2015 1 commit
    • Jonathan Michalon's avatar
      Provide a systemd templated unit · 97eefd7b
      Jonathan Michalon authored
      With systemd it's easy to manage several instances of picomon (via templated
      units) so this should be quite usefull.
      Also we switch to /etc/picomon for config (instead of %prefix%/etc/picomon)
      as /usr/local/etc don't seem to exist for real and that way it's not abnormal
      to ship the unit in /etc too. Also it's easier to manage the config at only
      one place (think about etckeeper etc.).
  14. 11 Jan, 2015 1 commit
    • Jonathan Michalon's avatar
      Activate SNI for HTTPS checks · 8bf86754
      Jonathan Michalon authored
      This fixes a strange "Error on receive" issue on some check_http versions.
      Enabling SNI we now also check the connection using the certificate of the
      configured vhost (and not the default one).
  15. 13 Sep, 2014 1 commit
    • Colomban Wendling's avatar
      Mails: don't drop mails upon temporary relay error · 844071b9
      Colomban Wendling authored
      We used to drop any mail we tried to send, regardless of whether
      sending it actually succeeded or not.  This could result in lost mails
      if the server failed to accept some mails for any temporary reason.
      Fix this by re-queuing emails that failed to send and wait a few
      moments before retrying.
  16. 08 Sep, 2014 1 commit
  17. 02 Sep, 2014 1 commit
  18. 31 Aug, 2014 7 commits
  19. 29 Aug, 2014 1 commit
  20. 25 Aug, 2014 2 commits
  21. 24 Aug, 2014 9 commits
  22. 23 Aug, 2014 2 commits
    • Colomban Wendling's avatar
      Mail thread: only report a task done when we actually handled a task · bb1ba3b2
      Colomban Wendling authored
      Don't account for a task in the `finally` handler as we actually got a
      task only if we didn't receive an exception.  This cleans up the code
      and possibly fixes it if we ever get any other exception than a
    • Colomban Wendling's avatar
      Remove a stupid and useless exception handler · 8cf30efb
      Colomban Wendling authored
      Don't explicitly handle KeyboardInterrupt in the mail thread as it
      doesn't seem it ever was of of any use, and could actually lead to
      a deadlock as it would terminate the in-thread loop without emptying
      the queue, leading to `queue.join()` in `quit()` to wait forever for
      the queue to empty.