netscaler / netscaler-adc-metrics-exporter

Export metrics from Citrix ADC (NetScaler) to Prometheus
90 stars 32 forks source link

Added cli options for --metrics-file --log-file and --log-level #1

Closed colinmkeith closed 5 years ago

colinmkeith commented 5 years ago

Added cli options to allow specifying location of metrics file, log file and log level as the defaults use non-standard locations like "/exporter/" and generic names. E.g. "exporter.log" and "metrics.json". These options allow users to take control of this e.g. --log-file=/var/log/citrix_netscaler_exporter.log whilst maintaining the current values as defaults. Gives better scope for running as non-privileged users.