1. 30 Jun, 2022 1 commit
  2. 05 Jun, 2022 2 commits
  3. 12 May, 2022 1 commit
  4. 18 Oct, 2021 2 commits
  5. 04 Oct, 2021 3 commits
  6. 30 Sep, 2021 3 commits
  7. 21 Sep, 2021 1 commit
  8. 25 Aug, 2021 1 commit
  9. 24 Aug, 2021 1 commit
  10. 23 Jul, 2021 2 commits
    • Thomas Gambier's avatar
      Release 0.123 · 95726826
      Thomas Gambier authored
      95726826
    • Eric Zheng's avatar
      plugin/check_url_available: rewrite options · a0466ad7
      Eric Zheng authored
      The check_url_available promise has been improved with the following
      changes:
      
      - The `http_code` parameter has been renamed `http-code` for consistency.
      - The `check-secure` parameter has been removed. Users should specify
        `http-code = 401` instead.
      - The `username` and `password` parameters have been added to optionally
        enable HTTP basic authentication.
      - The logging output has been changed slightly.
      a0466ad7
  11. 29 Jun, 2021 2 commits
  12. 24 Jun, 2021 2 commits
  13. 23 Jun, 2021 1 commit
  14. 22 Jun, 2021 1 commit
    • Xavier Thompson's avatar
      promise/plugin: Add check_socket_listening promise · 428870e3
      Xavier Thompson authored
      This promise generalizes the check_port_listening promise to include
      AF_UNIX sockets in addition to AF_INET and AF_INET6 host/port sockets.
      
      The socket family and address is deduced from the set of arguments:
      - `host` & `port`: AF_INET or AF_INET6
      - `pathname`: filesystem pathname address for AF_UNIX
      - `abstract`: '\0' is prefixed to build an abstract AF_UNIX address
      
      All other combinations of arguments are forbidden.
      
      The promise creates a socket accordingly and attempts to connect to the
      provided address. The promise fails if the connection fails.
      
      The check_port_listening promise has been removed.
      
      See merge request nexedi/slapos.toolbox!97
      428870e3
  15. 04 Jun, 2021 1 commit
  16. 07 May, 2021 2 commits
  17. 21 Apr, 2021 2 commits
    • Jérome Perrin's avatar
      Release 0.119 · ea09102f
      Jérome Perrin authored
      ea09102f
    • Jérome Perrin's avatar
      slaprunner: fix popen on python3 · 07a18130
      Jérome Perrin authored
      On python3 several views were not functional, because subprocess output was
      retrieved as bytes, but manipulated as a string.
      
      This adds a few tests for views, not complete because it would be too much time
      consuming for now.
      07a18130
  18. 29 Mar, 2021 2 commits
  19. 26 Mar, 2021 1 commit
  20. 04 Feb, 2021 1 commit
  21. 03 Feb, 2021 2 commits
  22. 02 Feb, 2021 1 commit
  23. 01 Feb, 2021 1 commit
  24. 29 Jan, 2021 1 commit
  25. 27 Jan, 2021 2 commits
    • Łukasz Nowak's avatar
      Release 0.115 · bd63a31a
      Łukasz Nowak authored
      bd63a31a
    • Łukasz Nowak's avatar
      check_surykatka_json: Minimise message variation · 587c0792
      Łukasz Nowak authored
      Monitoring is about states, not exact values, so report the states, as
      otherwise it results with bloating databases, very long accesses to results
      and long synchronisations.
      
      Instead of many entries like:
      
      http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: ERROR IP IP replied in 5.02s which is longer than maximum 5.00s
      http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: ERROR IP IP replied in 5.03s which is longer than maximum 5.00s
      http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: ERROR IP IP replied in 5.04s which is longer than maximum 5.00s
      http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: ERROR IP IP replied in 5.01s which is longer than maximum 5.00s
      http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: OK IP IP replied in 0.08s which is shorter than maximum 5.00s
      http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: OK IP IP replied in 1.37s which is shorter than maximum 5.00s
      http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: OK IP IP replied in 0.09s which is shorter than maximum 5.00s
      http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: OK IP IP replied in 1.37s which is shorter than maximum 5.00s
      http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: OK IP IP replied in 0.09s which is shorter than maximum 5.00s
      
      It's minimised to:
      
      http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: ERROR IP IP replied in more time than maximum 5.00s
      http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: OK IP IP replied in less time than maximum 5.00s
      
      This affects:
      
       * bot_status
       * http_query
      
      Obviously some information are removed from the monitor, but anyway they are
      just text entries and not parsable. So other approaches shall be used to make
      graphs from those values, which is not covered by pure promise status.
      587c0792
  26. 22 Jan, 2021 1 commit