summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2016-10-15 15:24:01 +0200
committernicolargo <nicolas@nicolargo.com>2016-10-15 15:24:01 +0200
commit74593f13ebfcbba47d9475a98354aa3d17e35051 (patch)
tree96b1cd799d3bc25cf01d1df16b88a4ba5e6ea864 /conf
parent0c49fecf6f774a13d3110bda2f7c094c2ca9491c (diff)
Add a ZeroMQ export module #939
Diffstat (limited to 'conf')
-rw-r--r--conf/glances.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index e55741f1..8e30d07e 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -319,6 +319,17 @@ db=glances
#user=root
#password=root
+[zeromq]
+# Configuration for the --export-zeromq option
+# http://www.zeromq.org
+host=127.0.0.1
+port=5678
+# Glances envelopes the stats in a publish message with two frames:
+# - First frame containing the following prefix (STRING)
+# - Second frame with the Glances plugin name (STRING)
+# - Third frame with the Glances plugin stats (JSON)
+prefix=G
+
##############################################################################
# AMPS
# * enable: Enable (true) or disable (false) the AMP