-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for global configuration from /etc/prometheus_webhook_snm…
…p.conf. - Default values are not shown anymore in the app help message - Config settings are set according this priority chain: default values, global config, CLI args. This means, args passed via CLI have the highest priority. - The config file is written in YAML, as all Prometheus config files. Signed-off-by: Volker Theile <[email protected]>
- Loading branch information
Showing
10 changed files
with
140 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
prometheus-webhook-snmp (1.1-1) stable; urgency=low | ||
|
||
* Add support for global configuration file. | ||
|
||
-- Volker Theile <[email protected]> Mon, 13 May 2019 16:01:19 +0200 | ||
|
||
prometheus-webhook-snmp (1.0-1) stable; urgency=low | ||
|
||
* Initial Debian packaging. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PROMETHEUS_WEBHOOK_SNMP_OPTIONS="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
CherryPy==18.1.1 | ||
Click==7.0 | ||
pysnmp==4.4.9 | ||
python-dateutil==2.8.0 | ||
pytest==4.4.0 | ||
pylint==2.3.1 | ||
PyYAML==5.1 | ||
mock==3.0.5 | ||
prometheus_client==0.6.0 | ||
pyfakefs==3.5.8 | ||
pylint==2.3.1 | ||
pysnmp>=4.3.2 | ||
pytest==4.4.0 | ||
python-dateutil==2.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters