Releases: ricoberger/script_exporter
Version 1.1.0 / 2018-08-17
-
New prefix handling
In v1.0.0 the prefix was automatically set toscript
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
Passparams
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. Theusername
andpassword
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
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.