You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 2, 2021. It is now read-only.
Each plugin can support gathering data from a single or multiple targets. To support multiple targets for a plugin, you create a list of target stanzas:
80
+
81
+
plugin_name:
82
+
- name: target_name
83
+
host: localhost
84
+
foo: bar
85
+
- name: target_name
86
+
host: localhost
87
+
foo: bar
88
+
89
+
While you can use the multi-target format for a plugins configuration stanza like:
90
+
91
+
plugin_name:
92
+
- name: target_name
93
+
host: localhost
94
+
foo: bar
95
+
96
+
You can also use a single mapping like follows:
97
+
98
+
plugin_name:
99
+
name: target_name
100
+
host: localhost
101
+
foo: bar
102
+
103
+
The fields for plugin configurations can vary due to a plugin's configuration requirements.
104
+
77
105
Apache HTTPd Installation Notes
78
106
-------------------------------
79
107
Enable the HTTPd server status page in the default virtual host. The following example configuration snippet for Apache HTTPd 2.2 demonstrates how to do this:
@@ -106,7 +134,31 @@ MongoDB Installation Notes
106
134
--------------------------
107
135
You need to install the pymongo driver, either by running "pip install pymongo" or by following the "Installing Additional Requirements" above. Each database you wish to collect metrics for must be enumerated in the configuration.
108
136
109
-
To use authentication, include the username and password configuration values, otherwise omit them.
137
+
There are two configuration stanza formats for MongoDB. You must use one or the other, they can not be mixed. For non-authenticated polling, you can simply enumate the databases you would like stats from as a list:
138
+
139
+
mongodb:
140
+
name: hostname
141
+
host: localhost
142
+
port: 27017
143
+
databases:
144
+
- database_name_1
145
+
- database_name_2
146
+
147
+
If your MongoDB server requires authentication, you must provide both admin credentials and database level credentials and the stanza is formatted as a nested array:
0 commit comments