diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2015-03-31 13:14:25 +0200 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2015-03-31 13:14:25 +0200 |
| commit | ada99c0af5665828abc725923bf2f104c577c852 (patch) | |
| tree | a4e58a0d9a5bec4612efe98bf068730a45c32ef7 /py3status/modules/pingdom.py | |
| parent | cdfec19502d0415f92d85ffa48e6bec495ccb644 (diff) | |
move config parameters on every module docstring, overall QA
Diffstat (limited to 'py3status/modules/pingdom.py')
| -rw-r--r-- | py3status/modules/pingdom.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/py3status/modules/pingdom.py b/py3status/modules/pingdom.py index f47da68..482fc3f 100644 --- a/py3status/modules/pingdom.py +++ b/py3status/modules/pingdom.py @@ -5,6 +5,15 @@ Display the latest response time of the configured Pingdom checks. We also verify the status of the checks and colorize if needed. Pingdom API doc : https://www.pingdom.com/services/api-documentation-rest/ +Configuration parameters: + - app_key : create an APP KEY on pingdom first + - cache_timeout : how often to refresh the check from pingdom + - checks : comma separated pindgom check names to display + - login : pingdom login + - max_latency : maximal latency before coloring the output + - password : pingdom password + - request_timeout : pindgom API request timeout + Requires: - requests python module from pypi https://pypi.python.org/pypi/requests @@ -16,15 +25,6 @@ from time import time class Py3status: """ - Configuration parameters: - - app_key : create an APP KEY on pingdom first - - cache_timeout : how often to refresh the check from pingdom - - checks : comma separated pindgom check names to display - - login : pingdom login - - max_latency : maximal latency before coloring the output - - password : pingdom password - - request_timeout : pindgom API request timeout - """ # available configuration parameters app_key = '' |
