master
yaml 268 lines 9.3 KB
Raw
1 plugin_name: go.d.plugin
2 modules:
3 - meta:
4 id: collector-go.d.plugin-lighttpd
5 plugin_name: go.d.plugin
6 module_name: lighttpd
7 monitored_instance:
8 name: Lighttpd
9 link: https://www.lighttpd.net/
10 icon_filename: lighttpd.svg
11 categories:
12 - data-collection.web-servers-and-proxies
13 keywords:
14 - webserver
15 related_resources:
16 integrations:
17 list:
18 - plugin_name: go.d.plugin
19 module_name: web_log
20 - plugin_name: go.d.plugin
21 module_name: httpcheck
22 - plugin_name: apps.plugin
23 module_name: apps
24 info_provided_to_referring_integrations:
25 description: ""
26 overview:
27 data_collection:
28 metrics_description: |
29 This collector monitors the activity and performance of Lighttpd servers, and collects metrics such as the number of connections, workers, requests and more.
30 method_description: |
31 It sends HTTP requests to the Lighttpd location [server-status](https://redmine.lighttpd.net/projects/lighttpd/wiki/Mod_status),
32 which is a built-in location that provides metrics about the Lighttpd server.
33 supported_platforms:
34 include: []
35 exclude: []
36 multi_instance: true
37 additional_permissions:
38 description: ""
39 default_behavior:
40 auto_detection:
41 description: |
42 By default, it detects Lighttpd instances running on localhost that are listening on port 80.
43 On startup, it tries to collect metrics from:
44
45 - http://localhost/server-status?auto
46 - http://127.0.0.1/server-status?auto
47 limits:
48 description: ""
49 performance_impact:
50 description: ""
51 setup:
52 prerequisites:
53 list:
54 - title: Enable Lighttpd status support
55 description: |
56 To enable status support, see the [official documentation](https://redmine.lighttpd.net/projects/lighttpd/wiki/Mod_status).
57 configuration:
58 file:
59 name: go.d/lighttpd.conf
60 options:
61 description: |
62 The following options can be defined globally: update_every, autodetection_retry.
63 folding:
64 title: Config options
65 enabled: true
66 list:
67 - name: update_every
68 description: Data collection interval (seconds).
69 default_value: 1
70 required: false
71 group: Collection
72 - name: autodetection_retry
73 description: Autodetection retry interval (seconds). Set 0 to disable.
74 default_value: 0
75 required: false
76 group: Collection
77
78 - name: url
79 description: Target endpoint URL.
80 default_value: http://127.0.0.1/server-status?auto
81 required: true
82 group: Target
83 - name: timeout
84 description: HTTP request timeout (seconds).
85 default_value: 2
86 required: false
87 group: Target
88
89 - name: username
90 description: Username for Basic HTTP authentication.
91 default_value: ""
92 required: false
93 group: HTTP Auth
94 - name: password
95 description: Password for Basic HTTP authentication.
96 default_value: ""
97 required: false
98 group: HTTP Auth
99 - name: bearer_token_file
100 description: "Path to a file containing a bearer token (used for `Authorization: Bearer`)."
101 default_value: ""
102 required: false
103 group: HTTP Auth
104
105 - name: tls_skip_verify
106 description: Skip TLS certificate and hostname verification (insecure).
107 default_value: no
108 required: false
109 group: TLS
110 - name: tls_ca
111 description: Path to CA bundle used to validate the server certificate.
112 default_value: ""
113 required: false
114 group: TLS
115 - name: tls_cert
116 description: Path to client TLS certificate (for mTLS).
117 default_value: ""
118 required: false
119 group: TLS
120 - name: tls_key
121 description: Path to client TLS private key (for mTLS).
122 default_value: ""
123 required: false
124 group: TLS
125
126 - name: proxy_url
127 description: HTTP proxy URL.
128 default_value: ""
129 required: false
130 group: Proxy
131 - name: proxy_username
132 description: Username for proxy Basic HTTP authentication.
133 default_value: ""
134 required: false
135 group: Proxy
136 - name: proxy_password
137 description: Password for proxy Basic HTTP authentication.
138 default_value: ""
139 required: false
140 group: Proxy
141
142 - name: method
143 description: HTTP method to use.
144 default_value: "GET"
145 required: false
146 group: Request
147 - name: body
148 description: Request body (e.g., for POST/PUT).
149 default_value: ""
150 required: false
151 group: Request
152 - name: headers
153 description: "Additional HTTP headers (one per line as key: value)."
154 default_value: ""
155 required: false
156 group: Request
157 - name: not_follow_redirects
158 description: Do not follow HTTP redirects.
159 default_value: no
160 required: false
161 group: Request
162 - name: force_http2
163 description: Force HTTP/2 (including h2c over TCP).
164 default_value: no
165 required: false
166 group: Request
167
168 - name: vnode
169 description: Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).
170 default_value: ""
171 required: false
172 group: Virtual Node
173 examples:
174 folding:
175 title: Config
176 enabled: true
177 list:
178 - name: Basic
179 folding:
180 enabled: false
181 description: A basic example configuration.
182 config: |
183 jobs:
184 - name: local
185 url: http://127.0.0.1/server-status?auto
186 - name: HTTP authentication
187 description: Basic HTTP authentication.
188 config: |
189 jobs:
190 - name: local
191 url: http://127.0.0.1/server-status?auto
192 username: username
193 password: password
194 - name: HTTPS with self-signed certificate
195 description: Lighttpd with enabled HTTPS and self-signed certificate.
196 config: |
197 jobs:
198 - name: local
199 url: https://127.0.0.1/server-status?auto
200 tls_skip_verify: yes
201 - name: Multi-instance
202 description: |
203 > **Note**: When you define multiple jobs, their names must be unique.
204
205 Collecting metrics from local and remote instances.
206 config: |
207 jobs:
208 - name: local
209 url: http://127.0.0.1/server-status?auto
210
211 - name: remote
212 url: http://192.0.2.1/server-status?auto
213 troubleshooting:
214 problems:
215 list: []
216 alerts: []
217 metrics:
218 folding:
219 title: Metrics
220 enabled: false
221 description: ""
222 availability: []
223 scopes:
224 - name: global
225 description: These metrics refer to the entire monitored application.
226 labels: []
227 metrics:
228 - name: lighttpd.requests
229 description: Requests
230 unit: requests/s
231 chart_type: line
232 dimensions:
233 - name: requests
234 - name: lighttpd.net
235 description: Bandwidth
236 unit: kilobits/s
237 chart_type: area
238 dimensions:
239 - name: sent
240 - name: lighttpd.workers
241 description: Servers
242 unit: servers
243 chart_type: stacked
244 dimensions:
245 - name: idle
246 - name: busy
247 - name: lighttpd.scoreboard
248 description: ScoreBoard
249 unit: connections
250 chart_type: line
251 dimensions:
252 - name: waiting
253 - name: open
254 - name: close
255 - name: hard_error
256 - name: keepalive
257 - name: read
258 - name: read_post
259 - name: write
260 - name: handle_request
261 - name: request_start
262 - name: request_end
263 - name: lighttpd.uptime
264 description: Uptime
265 unit: seconds
266 chart_type: line
267 dimensions:
268 - name: uptime