summaryrefslogtreecommitdiffstats
path: root/py3status/modules/pingdom.py
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2015-03-31 13:14:25 +0200
committerUltrabug <ultrabug@gentoo.org>2015-03-31 13:14:25 +0200
commitada99c0af5665828abc725923bf2f104c577c852 (patch)
treea4e58a0d9a5bec4612efe98bf068730a45c32ef7 /py3status/modules/pingdom.py
parentcdfec19502d0415f92d85ffa48e6bec495ccb644 (diff)
move config parameters on every module docstring, overall QA
Diffstat (limited to 'py3status/modules/pingdom.py')
-rw-r--r--py3status/modules/pingdom.py18
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 = ''