diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2017-05-17 02:53:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-17 02:53:59 +0300 |
commit | 102b6f388893e0c01c43b7102f3807331c538e53 (patch) | |
tree | d4113d492c3a0cfb4200833ed6563afd0f174546 /conf.d | |
parent | 5fb2a5d7250ecb4dedf0d63ad5a75ecbb406b16c (diff) | |
parent | f176175952dbe9c896a62eddb1a0d6dc7b044afd (diff) |
Merge pull request #2182 from l2isbad/rabbitmq_plugin
Rabbitmq plugin
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/Makefile.am | 1 | ||||
-rw-r--r-- | conf.d/apps_groups.conf | 2 | ||||
-rw-r--r-- | conf.d/python.d.conf | 2 | ||||
-rw-r--r-- | conf.d/python.d/rabbitmq.conf | 75 |
4 files changed, 79 insertions, 1 deletions
diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am index 028392e3db..008e7a65ad 100644 --- a/conf.d/Makefile.am +++ b/conf.d/Makefile.am @@ -49,6 +49,7 @@ dist_pythonconfig_DATA = \ python.d/phpfpm.conf \ python.d/postfix.conf \ python.d/postgres.conf \ + python.d/rabbitmq.conf \ python.d/redis.conf \ python.d/retroshare.conf \ python.d/samba.conf \ diff --git a/conf.d/apps_groups.conf b/conf.d/apps_groups.conf index 070065b91c..318a743326 100644 --- a/conf.d/apps_groups.conf +++ b/conf.d/apps_groups.conf @@ -224,7 +224,7 @@ media: mpd minidlnad mt-daapd avahi* Plex* X: X Xorg xinit lightdm xdm pulseaudio gkrellm xfwm4 xfdesktop xfce* Thunar X: xfsettingsd xfconfd gnome-* gdm gconf* dconf* xfconf* *gvfs gvfs* kdm slim -X: evolution-* firefox chromium opera epiphany WebKit* +X: evolution-* firefox chromium opera vivaldi-bin epiphany WebKit* # ----------------------------------------------------------------------------- # Kernel / System diff --git a/conf.d/python.d.conf b/conf.d/python.d.conf index 22a18efac3..ef01e723fa 100644 --- a/conf.d/python.d.conf +++ b/conf.d/python.d.conf @@ -62,9 +62,11 @@ nginx_log: no # phpfpm: yes # postfix: yes # postgres: yes +# rabbitmq: yes # redis: yes # retroshare: yes # sensors: yes +# samba: yes # smartd_log: yes # squid: yes # tomcat: yes diff --git a/conf.d/python.d/rabbitmq.conf b/conf.d/python.d/rabbitmq.conf new file mode 100644 index 0000000000..eccf65df92 --- /dev/null +++ b/conf.d/python.d/rabbitmq.conf @@ -0,0 +1,75 @@ +# netdata python.d.plugin configuration for rabbitmq +# +# This file is in YaML format. Generally the format is: +# +# name: value +# +# There are 2 sections: +# - global variables +# - one or more JOBS +# +# JOBS allow you to collect values from multiple sources. +# Each source will have its own set of charts. +# +# JOB parameters have to be indented (using spaces only, example below). + +# ---------------------------------------------------------------------- +# Global Variables +# These variables set the defaults for all JOBs, however each JOB +# may define its own, overriding the defaults. + +# update_every sets the default data collection frequency. +# If unset, the python.d.plugin default is used. +# update_every: 1 + +# priority controls the order of charts at the netdata dashboard. +# Lower numbers move the charts towards the top of the page. +# If unset, the default for python.d.plugin is used. +# priority: 60000 + +# retries sets the number of retries to be made in case of failures. +# If unset, the default for python.d.plugin is used. +# Attempts to restore the service are made once every update_every +# and only if the module has collected values in the past. +# retries: 5 + +# ---------------------------------------------------------------------- +# JOBS (data collection sources) +# +# The default JOBS share the same *name*. JOBS with the same name +# are mutually exclusive. Only one of them will be allowed running at +# any time. This allows autodetection to try several alternatives and +# pick the one that works. +# +# Any number of jobs is supported. +# +# All python.d.plugin JOBS (for all its modules) support a set of +# predefined parameters. These are: +# +# job_name: +# name: myname # the JOB's name as it will appear at the +# # dashboard (by default is the job_name) +# # JOBs sharing a name are mutually exclusive +# update_every: 1 # the JOB's data collection frequency +# priority: 60000 # the JOB's order on the dashboard +# retries: 5 # the JOB's number of restoration attempts +# +# Additionally to the above, rabbitmq plugin also supports the following: +# +# host: 'ipaddress' # Server ip address or hostname. Default: 127.0.0.1 +# port: 'port' # Rabbitmq port. Default: 15672 +# scheme: 'scheme' # http or https. Default: http +# +# if the URL is password protected, the following are supported: +# +# user: 'username' +# pass: 'password' +# +# ---------------------------------------------------------------------- +# AUTO-DETECTION JOBS +# only one of them will run (they have the same name) +# +local: + host: '127.0.0.1' + user: 'guest' + pass: 'guest' |