Skip to content

Releases: ricoberger/script_exporter

Version 1.1.0 / 2018-08-17

17 Aug 15:21
277bb0f
Compare
Choose a tag to compare
  • New prefix handling
    In v1.0.0 the prefix was automatically set to script if the parameter was not provided. In v1.1.0 there would not be set a prefix if the parameter is not provided

  • Add parameters option
    Pass params parameter to the script exporter, which contains parameters that should be passed to the script. An example is the ping script, where the target parameter is passed to the script.

  • Add tls support
    If the tls support is activated in the configuration file, the script exporter is served via https. There for you must specify the path to the signed certificate (crt) and private key to the certificate (key) in the configuration.

  • Add basic auth support
    If the basic auth support is activated, the script exporter is accessible only with basic authentication. The username and password is provided via the configuration file.

  • Add bearer token authentication support
    If the bearer token authentication support is activated, the script exporter is accessible only with a bearer token. The signing key (signingKey) is provided via the configuration file.
    You can generate a bearer token for a signing key with the following command: ./bin/script_exporter -create-token

Version 1.0.0 / 2018-08-10

10 Aug 16:58
Compare
Choose a tag to compare

This is the first release of the script exporter. The script exporter is a Prometheus exporter to execute scripts and collect metrics from the output or the exit status. The scripts to be executed are defined via a configuration file. In the configuration file several scripts can be specified. The script which should be executed is indicated by a parameter in the scrap configuration. The output of the script is captured and is provided for Prometheus. Even if the script does not produce any output, the exit status and the duration of the execution are provided.