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
summary="Citrix provides an metrics exporter for Citrix ADC MPX (hardware), Citrix ADC VPX (virtualized), Citrix ADC CPX (containerized) and Citrix ADC BLX (Bare Metal) for on-prem and cloud deployments. It is is a simple server that scrapes Citrix ADC stats and exports them via HTTP to Prometheus." \
19
+
description="Citrix provides an metrics exporter for Citrix ADC MPX (hardware), Citrix ADC VPX (virtualized), Citrix ADC CPX (containerized) and Citrix ADC BLX (Bare Metal) for on-prem and cloud deployments. It is is a simple server that scrapes Citrix ADC stats and exports them via HTTP to Prometheus."
20
+
21
+
#### add licenses to this directory
22
+
COPY license/LICENSE /licenses/
23
+
24
+
# Make bash the default shell
25
+
SHELL ["/bin/bash", "-c"]
26
+
27
+
# RHEL 8 requires a subscription. Use --build-arg USERNAME=<RHEL_USERNAME> --build-arg PASSWORD=<RHEL_PASSWORD> for these arguments.
2
28
ARG USERNAME
3
29
ARG PASSWORD
4
30
RUN subscription-manager register --username ${USERNAME} --password ${PASSWORD} --auto-attach
5
-
RUN subscription-manager repos --enable rhel-7-server-optional-rpms --enable rhel-7-server-extras-rpms --enable rhel-server-rhscl-7-rpms
--metric | Provide a specific metric to load from metrics.json file (eg: 'lbvserver', 'protocolhttp', etc). If not provided, all metric entities from metrics.json will be loaded
50
57
--secure | Ensures HTTPS connection to ADC. Option 'no'(HTTP) can be provided to collect metrics from Citrix ADC. Default: 'yes'.
51
58
--start-delay | Specify time for which exporter should sleep before starting metric collection. Default: 10s
52
-
--timeout | Specify timeout period for exporter to obtain response from target Citrix ADCs. Default: 15s
59
+
--timeout | Specify timeout period for exporter to obtain response from target Citrix ADCs. Default: 10s
53
60
--metrics-file | The location of metrics.json file. Default: /exporter/metrics.json
54
61
--log-file | The location of exporter.log file. Default: /exporter/exporter.log
55
-
--log-level | The level of logging. DEBUG, INFO, WARNING, ERROR or CRITICAL Default: DEBUG
62
+
--log-level | The level of logging. DEBUG, INFO, WARNING, ERROR or CRITICAL Default: INFO
56
63
--config-file | File with configs such as ```username```, ```password```, ```validate-cert```, ```cacert-path```, etc. Helps supply username and password through file rather than CLI.
57
64
--validate-cert. | Specify if ca certifcate is to be validated to access Citrix ADC. Default: 'no'. Valid value: 'yes'
58
65
--cacert-path. | Provide valid cert path if "-validate-cert" set to 'yes'. cert path will only be considered if '--validate-cert' is set to 'yes'.
@@ -91,15 +98,15 @@ For this:
91
98
<summary>Usage as a Container</summary>
92
99
<br>
93
100
94
-
In order to use the exporter as a container, the image ```quay.io/citrix/citrix-adc-metrics-exporter:1.4.4``` will need to be pulled using;
101
+
In order to use the exporter as a container, the image ```quay.io/citrix/citrix-adc-metrics-exporter:1.4.5``` will need to be pulled using;
--metric | Provide a specific metric to load from metrics.json file (eg: 'lbvserver', 'protocolhttp', etc). If not provided, all metric entities from metrics.json will be loaded
111
118
--secure | Ensures HTTPS connection to ADC. Option 'no'(HTTP) can be provided to collect metrics from Citrix ADC. Default: 'yes'.
112
119
--start-delay | Specify time for which exporter should sleep before starting metric collection. Default: 10s
113
-
--timeout | Specify timeout period for exporter to obtain response from target Citrix ADC. Default: 15s
120
+
--timeout | Specify timeout period for exporter to obtain response from target Citrix ADC. Default: 10s
114
121
--metrics-file | The location of metrics.json file. Default: /exporter/metrics.json
115
122
--log-file | The location of exporter.log file. Default: /exporter/exporter.log
116
-
--log-level | The level of logging. DEBUG, INFO, WARNING, ERROR or CRITICAL Default: DEBUG
123
+
--log-level | The level of logging. DEBUG, INFO, WARNING, ERROR or CRITICAL Default: INFO
117
124
--config-file | File with configs such as ```username```, ```password```, ```validate-cert``, ```cacert-path```, etc. Helps supply username and password through file rather than CLI for secure deployment.
118
125
--validate-cert | Specify if ca certifcate is to be validated to access Citrix ADC. Default: 'no'. Valid value: 'yes'
119
126
--cacert-path | Provide valid cert path if "--validate-cert" set to 'yes'. cert path will only be considered if '--validate-cert' is set to 'yes'.
This directs the exporter container to scrape the 10.0.0.1 IP, and the expose the stats it collects on port 8888.
128
135
@@ -149,7 +156,7 @@ For this:
149
156
Certificate should then be mounted at the '--cacert-path' provided. For instance, if cert is 'cacert.pem' and '--cacert-path' provided in 'config.yaml' is '/exporter/cacert.pem'
Cert validation options can also be provided using environment variables using NS_VALIDATE_CERT, NS_CACERT_PATH. Thoughconfig file input is the preferred method.
--metric | Provide a specific metric to load from metrics.json file (eg: 'lbvserver', 'protocolhttp', etc). If not provided, all metric entities from metrics.json will be loaded
222
229
--secure | Ensures HTTPS connection to ADC. Option 'no'(HTTP) can be provided to collect metrics from Citrix ADC. Default: 'yes'.
223
230
--start-delay | Specify time for which exporter should sleep before starting metric collection. Default: 10s
224
-
--timeout | Specify timeout period for exporter to obtain response from target Citrix ADC. Default: 15s
231
+
--timeout | Specify timeout period for exporter to obtain response from target Citrix ADC. Default: 10s
225
232
--metrics-file | The location of metrics.json file. Default: /exporter/metrics.json
226
233
--log-file | The location of exporter.log file. Default: /exporter/exporter.log
227
-
--log-level | The level of logging. DEBUG, INFO, WARNING, ERROR or CRITICAL Default: DEBUG
234
+
--log-level | The level of logging. DEBUG, INFO, WARNING, ERROR or CRITICAL Default: INFO
228
235
--config-file | File with configs such as ```username```, ```password```, ```validate-cert```, ```cacert-path```, etc. Helps supply username and password through file rather than CLI.
229
236
--validate-cert | Specify if ca certifcate is to be validated to access Citrix ADC. Default: 'no'. Valid value: 'yes'
230
237
--cacert-path | Provide valid cert path if "--validate-cert" set to 'yes'. cert path will only be considered if '--validate-cert' is set to 'yes'.
0 commit comments