RabbitMQ export from Sylvain Luce / Katyucha

This commit is contained in:
root
2015-04-06 21:54:46 +02:00
parent 9895661076
commit 8a3c2e29bf
2 changed files with 8 additions and 0 deletions

View File

@@ -177,3 +177,10 @@ db=glances
host=localhost
port=8125
#prefix=glances
[rabbitmq]
host=localhost
port=5672
user=glances
password=glances
queue=glances_queue

View File

@@ -139,6 +139,7 @@ Start the client browser (browser mode):\n\
dest='export_influxdb', help=_('export stats to an InfluxDB server (need InfluDB lib)'))
parser.add_argument('--export-statsd', action='store_true', default=False,
dest='export_statsd', help=_('export stats to a Statsd server (need StatsD lib)'))
parser.add_argument('--export-rabbitmq', action='store_true', default=False, dest='export_rabbitmq', help=_('export stats to rabbitmq broker (need pika lib)'))
# Client/Server option
parser.add_argument('-c', '--client', dest='client',
help=_('connect to a Glances server by IPv4/IPv6 address or hostname'))