Skip to content
This repository was archived by the owner on Jun 5, 2023. It is now read-only.

v0.2.0

Choose a tag to compare

@puetzp puetzp released this 28 Feb 13:36
· 7 commits to main since this release

Added

  • Properly interpret PromQL results (of time "vector"), not just single time series. Provide reasonable default outputs (plugin output/performance data) and enable improved ways of customizations for both.
  • Allow customization of the unit of measurement in performance data.
  • The .deb package now contains a systemd service template, so multiple instances of vec2checkd may be run in parallel.

Changed

  • Use handlebars to render templates.
  • Improve error handling, display the complete error chain with all the context that has been added.
  • Execute every mapping/check once before entering the periodic check loop to avoid Icinga falling back to the default host/service state when vec2checkd is down for a short time, e.g. due to a restart.
  • Rename Data.metric to Data.labels which can be used in plugin output and performance data templates.

Fixed

  • The proper exit value is now send to Icinga when a host object is to be updated (one of 0 for "UP" or 1 for "DOWN") as other exit values (2 / 3) are not valid in this context.