summaryrefslogtreecommitdiffstats
path: root/py3status/modules/glpi.py
diff options
context:
space:
mode:
Diffstat (limited to 'py3status/modules/glpi.py')
-rw-r--r--py3status/modules/glpi.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/py3status/modules/glpi.py b/py3status/modules/glpi.py
index 708ed4f..3c75c75 100644
--- a/py3status/modules/glpi.py
+++ b/py3status/modules/glpi.py
@@ -2,6 +2,14 @@
"""
Display the total number of open tickets from GLPI.
+Configuration parameters:
+ - critical : set bad color above this threshold
+ - db : database to use
+ - host : database host to connect to
+ - password : login password
+ - user : login user
+ - warning : set degraded color above this threshold
+
It features thresholds to colorize the output and forces a low timeout to
limit the impact of a server connectivity problem on your i3bar freshness.
"""
@@ -11,7 +19,8 @@ import MySQLdb
class Py3status:
-
+ """
+ """
# available configuration parameters
critical = 20
db = ''