From ac0c72eed09da4e5b7d530c4db1abad2d138cc90 Mon Sep 17 00:00:00 2001 From: ricoberger Date: Tue, 8 Jan 2019 23:44:38 +0100 Subject: [PATCH] Various changes - Fix wording - Update license --- LICENSE | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index 1a1f1a6..ab87c8c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018 Rico Berger +Copyright (c) 2019 Rico Berger Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index e8e782f..c5384e9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # script_exporter -The script exporter is a [Prometheus](https://prometheus.io) 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. +The script_exporter is a [Prometheus](https://prometheus.io) 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. ## Building and running @@ -47,7 +47,7 @@ You can also visit the following url for a more complex example. The `ping` exam ## Usage and configuration -The script exporter is configured via a configuration file and command-line flags. +The script_exporter is configured via a configuration file and command-line flags. ``` Usage of ./bin/script_exporter: @@ -89,7 +89,7 @@ scripts: ## Prometheus configuration -The script exporter needs to be passed the script name as a parameter (`script`). You can also pass a custom prefix (`prefix`) and additional parameters which should be passed to the script (`params`). If the `output` parameter is set to `ignore` then the script exporter only return `script_success{}` and `script_duration_seconds{}`. +The script_exporter needs to be passed the script name as a parameter (`script`). You can also pass a custom prefix (`prefix`) and additional parameters which should be passed to the script (`params`). If the `output` parameter is set to `ignore` then the script_exporter only return `script_success{}` and `script_duration_seconds{}`. Example config: