<commit_before>." Copyright 2014 The Sporting Exchange Limited. All rights reserved.
." Use of this source code is governed by a free license that can be
." found in the LICENSE file.
.TH COLLECT-NETSCALER 1
.SH NAME
.B collect-netscaler
\- collect metrics from NetScaler load balancer
.SH SYNOPSIS
.B collect-netscaler
.RB [ -uv ]
.RB [ -a
.IR path ]
.RB [ -i
.IR interval ]
.I host
.SH DESCRIPTION
.B collect-netscaler
polls the specified load balancer
.I host
for metric data,
translates it to OpenTSDB format, and writes the resulting
lines to standard output.
.P
Metrics are obtained from the Nitro API, which is a HTTP interface
exposed by NetScaler load balancers from Citrix Systems.
The metrics are rooted in the
.B netscaler
branch of the metrics hierarchy.
.P
.BI -a " path"
.RS
Set path to a file containing the authentication secret.  The file
contains single JSON object with string properties: Username,
Password. The default path is
.BR ./auth .
.RE
.P
.BI -i " interval"
.RS
Set polling interval. Default: 7s.
.RE
.P
.B -u
.RS
Disable transport security. Use HTTPS but skip certificate verification.
.RE
.P
.B -v
.RS
Print debugging information.
.RE
.SH EXAMPLE
Poll netscaler01.example.com using the given auth credentials:
.P
.ft CW
.nf
#!/bin/bash

exec collect-netscaler -a /dev/stdin netscaler01.example.com << 'EOF'
{
        "Username": "opentsp",
        "Password": "<PASSWORD>",
}
EOF
.fi
.ft P
.SH SEE ALSO
.IR tsp-poller (8)
.SH BUGS
At startup,
.B collect-netscaler
begins a learning process aimed at discovering the available
VServer-to-service bindings. This process may take a few minutes to<commit_msg>Fix invalid json<commit_after>." Copyright 2014 The Sporting Exchange Limited. All rights reserved.
." Use of this source code is governed by a free license that can be
." found in the LICENSE file.
.TH COLLECT-NETSCALER 1
.SH NAME
.B collect-netscaler
\- collect metrics from NetScaler load balancer
.SH SYNOPSIS
.B collect-netscaler
.RB [ -uv ]
.RB [ -a
.IR path ]
.RB [ -i
.IR interval ]
.I host
.SH DESCRIPTION
.B collect-netscaler
polls the specified load balancer
.I host
for metric data,
translates it to OpenTSDB format, and writes the resulting
lines to standard output.
.P
Metrics are obtained from the Nitro API, which is a HTTP interface
exposed by NetScaler load balancers from Citrix Systems.
The metrics are rooted in the
.B netscaler
branch of the metrics hierarchy.
.P
.BI -a " path"
.RS
Set path to a file containing the authentication secret.  The file
contains single JSON object with string properties: Username,
Password. The default path is
.BR ./auth .
.RE
.P
.BI -i " interval"
.RS
Set polling interval. Default: 7s.
.RE
.P
.B -u
.RS
Disable transport security. Use HTTPS but skip certificate verification.
.RE
.P
.B -v
.RS
Print debugging information.
.RE
.SH EXAMPLE
Poll netscaler01.example.com using the given auth credentials:
.P
.ft CW
.nf
#!/bin/bash

exec collect-netscaler -a /dev/stdin netscaler01.example.com << 'EOF'
{
        "Username": "opentsp",
        "Password": "<PASSWORD>"
}
EOF
.fi
.ft P
.SH SEE ALSO
.IR tsp-poller (8)
.SH BUGS
At startup,
.B collect-netscaler
begins a learning process aimed at discovering the available
VServer-to-service bindings. This process may take a few minutes to
{'fraction_non_alphanumeric': 0.0839951130116066, 'fraction_numerical': 0.006719609040928528, 'mean_word_length': 3.4679399727148703, 'pattern_counts': {'":': 4, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7138651', 'n_tokens_mistral': 1087, 'n_tokens_neox': 1036, 'n_words': 487}