Adding upstream version 1.4.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e344d0b8ae
commit
1ea3e103a7
77 changed files with 5760 additions and 0 deletions
66
man/man7/dsc-datatool-generator-client_subnet_authority.7
Normal file
66
man/man7/dsc-datatool-generator-client_subnet_authority.7
Normal file
|
@ -0,0 +1,66 @@
|
|||
.TH "dsc-datatool-generator client_subnet_authority" "7"
|
||||
.SH NAME
|
||||
client_subnet_authority \- Generates network authority information (RIR) based on client subnet.
|
||||
.SH SYNOPSIS
|
||||
.SY dsc-datatool
|
||||
.B \-\-generator
|
||||
.I """;client_subnet_authority;<options...>"""
|
||||
.YS
|
||||
.SH DESCRIPTION
|
||||
This generator will lookup the network authority (RIR) based network
|
||||
information in the
|
||||
.I client_subnet
|
||||
dataset and generate a new dataset
|
||||
.IR client_subnet_authority .
|
||||
|
||||
The network authority lookup will be done from imports of CSV files or by
|
||||
fetching the required data from IANA.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.BR csv =<files>
|
||||
Read the network authority information from the given
|
||||
.IR file(s) .
|
||||
This option can be a single file, a list of comma separated files or given
|
||||
multiple times.
|
||||
.TP
|
||||
.BR fetch =yes
|
||||
Fetch the network authority information from IANA IP address space registry
|
||||
for IPv4 and IPv6.
|
||||
.TP
|
||||
.BR urlv4 =url
|
||||
URL for IANA IPv4 address space registry, default to
|
||||
.IR https://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.csv .
|
||||
.TP
|
||||
.BR urlv6 =url
|
||||
URL for IANA IPv6 address space registry, default to
|
||||
.IR https://www.iana.org/assignments/ipv6-unicast-address-assignments/ipv6-unicast-address-assignments.csv .
|
||||
.TP
|
||||
.BR nonstrict =<value>
|
||||
If set (to any value) then a non-strict mode is enabled which will disregard
|
||||
any bad data in the dataset, skipping it completely.
|
||||
Default is strict mode.
|
||||
.LP
|
||||
.SH "SEE ALSO"
|
||||
.BR dsc-datatool (1)
|
||||
.SH AUTHORS
|
||||
Jerry Lundström, DNS-OARC
|
||||
.LP
|
||||
Maintained by DNS-OARC
|
||||
.LP
|
||||
.RS
|
||||
.I https://www.dns-oarc.net/tools/dsc
|
||||
.RE
|
||||
.LP
|
||||
.SH BUGS
|
||||
For issues and feature requests please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://github.com/DNS-OARC/dsc-datatool/issues\fP
|
||||
.RE
|
||||
.LP
|
||||
For question and help please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://lists.dns-oarc.net/mailman/listinfo/dsc\fP
|
||||
.RE
|
||||
.LP
|
67
man/man7/dsc-datatool-generator-client_subnet_country.7
Normal file
67
man/man7/dsc-datatool-generator-client_subnet_country.7
Normal file
|
@ -0,0 +1,67 @@
|
|||
.TH "dsc-datatool-generator client_subnet_country" "7"
|
||||
.SH NAME
|
||||
client_subnet_country \- Generates country information based on client subnet using Maxmind database.
|
||||
.SH SYNOPSIS
|
||||
.SY dsc-datatool
|
||||
.B \-\-generator
|
||||
.I """;client_subnet_country;<options...>"""
|
||||
.YS
|
||||
.SH DESCRIPTION
|
||||
This generator looks up country code in a Maxmind database for the subnets
|
||||
in the
|
||||
.I client_subnet
|
||||
dataset and the dataset
|
||||
.I client_subnet_country
|
||||
from that.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.BR path =<directory>
|
||||
Search for the Maxmind database in the specified
|
||||
.IR directory .
|
||||
This option can be given multiple times to search in multiple directories.
|
||||
|
||||
Default search paths are:
|
||||
.IR /var/lib/GeoIP ,
|
||||
.IR /usr/share/GeoIP ,
|
||||
.IR /usr/local/share/GeoIP .
|
||||
.TP
|
||||
.BR filename =filename
|
||||
The database filename to search for, default to
|
||||
.IR GeoLite2-Country.mmdb .
|
||||
.TP
|
||||
.BR db =/path/to/database.mmdb
|
||||
Full path to Maxmind database, this option overrides
|
||||
.I path
|
||||
and
|
||||
.IR filename .
|
||||
.TP
|
||||
.BR nonstrict =<value>
|
||||
If set (to any value) then a non-strict mode is enabled which will disregard
|
||||
any bad data in the dataset, skipping it completely.
|
||||
Default is strict mode.
|
||||
.LP
|
||||
.SH "SEE ALSO"
|
||||
.BR dsc-datatool (1),
|
||||
.BR geoipupdate (1)
|
||||
.SH AUTHORS
|
||||
Jerry Lundström, DNS-OARC
|
||||
.LP
|
||||
Maintained by DNS-OARC
|
||||
.LP
|
||||
.RS
|
||||
.I https://www.dns-oarc.net/tools/dsc
|
||||
.RE
|
||||
.LP
|
||||
.SH BUGS
|
||||
For issues and feature requests please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://github.com/DNS-OARC/dsc-datatool/issues\fP
|
||||
.RE
|
||||
.LP
|
||||
For question and help please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://lists.dns-oarc.net/mailman/listinfo/dsc\fP
|
||||
.RE
|
||||
.LP
|
64
man/man7/dsc-datatool-output-influxdb.7
Normal file
64
man/man7/dsc-datatool-output-influxdb.7
Normal file
|
@ -0,0 +1,64 @@
|
|||
.TH "dsc-datatool-output influxdb" "7"
|
||||
.SH NAME
|
||||
InfluxDB \- InfluxDB output.
|
||||
.SH SYNOPSIS
|
||||
.SY dsc-datatool
|
||||
.B \-\-output
|
||||
.I """;InfluxDB;<options...>"""
|
||||
.YS
|
||||
.SH DESCRIPTION
|
||||
This output generates InfluxDB importable output to stdout or to a specified
|
||||
file.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.BR timestamp =[start|stop]
|
||||
Choose which timestamp from the dataset to use in the InfluxDB output to
|
||||
specify when the metrics took place.
|
||||
|
||||
Default to
|
||||
.I start
|
||||
timestamp.
|
||||
.TP
|
||||
.BR file =<filename>
|
||||
Specify a file to output to instead of stdout.
|
||||
.TP
|
||||
.BR append
|
||||
If given, the output will be appended to the file specified rather then
|
||||
overwritten.
|
||||
.TP
|
||||
.BR dml
|
||||
Add a
|
||||
.I "# DML"
|
||||
header to the output.
|
||||
.TP
|
||||
.BR database =name
|
||||
If
|
||||
.I dml
|
||||
is used, this can be used to specify which database the output should be
|
||||
imported into.
|
||||
.LP
|
||||
.SH "SEE ALSO"
|
||||
.BR dsc-datatool (1),
|
||||
.BR influx (1)
|
||||
.SH AUTHORS
|
||||
Jerry Lundström, DNS-OARC
|
||||
.LP
|
||||
Maintained by DNS-OARC
|
||||
.LP
|
||||
.RS
|
||||
.I https://www.dns-oarc.net/tools/dsc
|
||||
.RE
|
||||
.LP
|
||||
.SH BUGS
|
||||
For issues and feature requests please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://github.com/DNS-OARC/dsc-datatool/issues\fP
|
||||
.RE
|
||||
.LP
|
||||
For question and help please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://lists.dns-oarc.net/mailman/listinfo/dsc\fP
|
||||
.RE
|
||||
.LP
|
78
man/man7/dsc-datatool-output-prometheus.7
Normal file
78
man/man7/dsc-datatool-output-prometheus.7
Normal file
|
@ -0,0 +1,78 @@
|
|||
.TH "dsc-datatool-output prometheus" "7"
|
||||
.SH NAME
|
||||
Prometheus \- Prometheus output.
|
||||
.SH SYNOPSIS
|
||||
.SY dsc-datatool
|
||||
.B \-\-output
|
||||
.I """;Prometheus;<options...>"""
|
||||
.YS
|
||||
.SH DESCRIPTION
|
||||
This output generates Prometheus importable output to stdout or to a specified
|
||||
file.
|
||||
.SS Prometheus' node_exporter
|
||||
This output can be used together with Prometheus'
|
||||
.IR node_exporter 's
|
||||
Textfile Collector to automate statistics gathering but some specific
|
||||
setup and requirements must be meet.
|
||||
|
||||
You must hide the timestamp with option
|
||||
.B timestamp=hide
|
||||
because timestamps are not supported by the Textfile Collector.
|
||||
|
||||
You must make sure only one XML file from a server+node combination is
|
||||
processed at a time.
|
||||
Because otherwise you will get multiple data point for the same metric
|
||||
and this will generate errors from the Textfile Collector, since it does
|
||||
not support timestamps and cannot separate the measurements.
|
||||
|
||||
You must make sure that only one file (per server+node combo) is generated
|
||||
for the Textfile Collector to read, and it should be the same between runs.
|
||||
See Textfile Collectors documentation how to setup that atomically.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.BR timestamp =[hide|start|stop]
|
||||
Choose which timestamp from the dataset to use in the Prometheus output to
|
||||
specify when the metrics took place.
|
||||
|
||||
Default to
|
||||
.I start
|
||||
timestamp.
|
||||
.TP
|
||||
.BR file =<filename>
|
||||
Specify a file to output to instead of stdout.
|
||||
.TP
|
||||
.BR append
|
||||
If given, the output will be appended to the file specified rather then
|
||||
overwritten.
|
||||
.TP
|
||||
.BR prefix =<string>
|
||||
Use the given string as prefix on all metric names.
|
||||
.LP
|
||||
.SH "SEE ALSO"
|
||||
.BR dsc-datatool (1)
|
||||
|
||||
.I https://prometheus.io/docs/guides/node-exporter/
|
||||
|
||||
.I https://github.com/prometheus/node_exporter#textfile-collector
|
||||
.SH AUTHORS
|
||||
Jerry Lundström, DNS-OARC
|
||||
.LP
|
||||
Maintained by DNS-OARC
|
||||
.LP
|
||||
.RS
|
||||
.I https://www.dns-oarc.net/tools/dsc
|
||||
.RE
|
||||
.LP
|
||||
.SH BUGS
|
||||
For issues and feature requests please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://github.com/DNS-OARC/dsc-datatool/issues\fP
|
||||
.RE
|
||||
.LP
|
||||
For question and help please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://lists.dns-oarc.net/mailman/listinfo/dsc\fP
|
||||
.RE
|
||||
.LP
|
62
man/man7/dsc-datatool-transformer-labler.7
Normal file
62
man/man7/dsc-datatool-transformer-labler.7
Normal file
|
@ -0,0 +1,62 @@
|
|||
.TH "dsc-datatool-transformer labler" "7"
|
||||
.SH NAME
|
||||
Labler \- Rewrite numeric labels to textual labels using the provided YAML data as lookup tables.
|
||||
.SH SYNOPSIS
|
||||
.SY dsc-datatool
|
||||
.B \-\-transform
|
||||
.I """;Labler;<dataset>;yaml=<file>"""
|
||||
.YS
|
||||
.SH DESCRIPTION
|
||||
This transformer rewrites labels in datasets based on information provided
|
||||
in a YAML file.
|
||||
|
||||
The YAML structure is as follows:
|
||||
.EX
|
||||
---
|
||||
dataset_name:
|
||||
DimentionName:
|
||||
DimentionValue: RewriteTo
|
||||
.EE
|
||||
|
||||
The
|
||||
.I dataset_name
|
||||
is the name of the dataset,
|
||||
.I DimentionName
|
||||
is the name of the dimension to rewrite and
|
||||
.I DimensionValue
|
||||
is the value to change to
|
||||
.IR RewriteTo .
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B dataset
|
||||
See
|
||||
.IR dsc-datatool (1)
|
||||
on how to specify which dataset(s) to run the transformer on.
|
||||
.TP
|
||||
.BR yaml =<file>
|
||||
The YAML file to load rewrite data from (required).
|
||||
.LP
|
||||
.SH "SEE ALSO"
|
||||
.BR dsc-datatool (1)
|
||||
.SH AUTHORS
|
||||
Jerry Lundström, DNS-OARC
|
||||
.LP
|
||||
Maintained by DNS-OARC
|
||||
.LP
|
||||
.RS
|
||||
.I https://www.dns-oarc.net/tools/dsc
|
||||
.RE
|
||||
.LP
|
||||
.SH BUGS
|
||||
For issues and feature requests please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://github.com/DNS-OARC/dsc-datatool/issues\fP
|
||||
.RE
|
||||
.LP
|
||||
For question and help please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://lists.dns-oarc.net/mailman/listinfo/dsc\fP
|
||||
.RE
|
||||
.LP
|
60
man/man7/dsc-datatool-transformer-netremap.7
Normal file
60
man/man7/dsc-datatool-transformer-netremap.7
Normal file
|
@ -0,0 +1,60 @@
|
|||
.TH "dsc-datatool-transformer netremap" "7"
|
||||
.SH NAME
|
||||
NetRemap \- Remap network addresses to other ranges/subnets.
|
||||
.SH SYNOPSIS
|
||||
.SY dsc-datatool
|
||||
.B \-\-transform
|
||||
.I """;NetRemap;<dataset>;<options...>"""
|
||||
.YS
|
||||
.SH DESCRIPTION
|
||||
This transformer can remap network ranges on IP addresses and subnets.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B dataset
|
||||
See
|
||||
.IR dsc-datatool (1)
|
||||
on how to specify which dataset(s) to run the transformer on.
|
||||
.TP
|
||||
.BR net =<network>
|
||||
The network to remap both IPv4 and IPv6 addresses and networks, specify
|
||||
only the number in a short-form network (e.g. "/<network>").
|
||||
.TP
|
||||
.BR v4net =<network>
|
||||
The IPv4 network to use for IPv4 addresses and networks, default to
|
||||
.I net
|
||||
if that is specified.
|
||||
.TP
|
||||
.BR v6net =<network>
|
||||
The IPv6 network to use for IPv6 addresses and networks, default to
|
||||
.I net
|
||||
if that is specified.
|
||||
.TP
|
||||
.BR nonstrict =<value>
|
||||
If set (to any value) then a non-strict mode is enabled which will disregard
|
||||
any bad data in the dataset, skipping it completely.
|
||||
Default is strict mode.
|
||||
.LP
|
||||
.SH "SEE ALSO"
|
||||
.BR dsc-datatool (1)
|
||||
.SH AUTHORS
|
||||
Jerry Lundström, DNS-OARC
|
||||
.LP
|
||||
Maintained by DNS-OARC
|
||||
.LP
|
||||
.RS
|
||||
.I https://www.dns-oarc.net/tools/dsc
|
||||
.RE
|
||||
.LP
|
||||
.SH BUGS
|
||||
For issues and feature requests please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://github.com/DNS-OARC/dsc-datatool/issues\fP
|
||||
.RE
|
||||
.LP
|
||||
For question and help please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://lists.dns-oarc.net/mailman/listinfo/dsc\fP
|
||||
.RE
|
||||
.LP
|
75
man/man7/dsc-datatool-transformer-reranger.7
Normal file
75
man/man7/dsc-datatool-transformer-reranger.7
Normal file
|
@ -0,0 +1,75 @@
|
|||
.TH "dsc-datatool-transformer reranger" "7"
|
||||
.SH NAME
|
||||
ReRanger \- Rewrite ranged or numerical statistics into other ranges.
|
||||
.SH SYNOPSIS
|
||||
.SY dsc-datatool
|
||||
.B \-\-transform
|
||||
.I """;ReRanger;<dataset>;<options...>"""
|
||||
.YS
|
||||
.SH DESCRIPTION
|
||||
This transformer can re-range values in datasets to new rangers.
|
||||
|
||||
It supports both values that are a single numerical value or one that is
|
||||
already a range itself
|
||||
.RI ( num\-num ).
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B dataset
|
||||
See
|
||||
.IR dsc-datatool (1)
|
||||
on how to specify which dataset(s) to run the transformer on.
|
||||
.TP
|
||||
.BR key =[low|mid|high]
|
||||
Specify what value to use when re-ranging an already ranged value
|
||||
.RI (low\-high).
|
||||
|
||||
Default to
|
||||
.IR mid ,
|
||||
which is high minus low then divided by 2.
|
||||
.TP
|
||||
.BR func =<func>
|
||||
The function to use when aggregating multiple values into a new ranger,
|
||||
default to
|
||||
.IR sum .
|
||||
|
||||
Currently only one function exists,
|
||||
.IR sum ,
|
||||
which adds the sum of all values into the new range.
|
||||
.TP
|
||||
.B allow_invalid_keys
|
||||
If given the "invalid" keys/values that is not numerical or a range will be
|
||||
passed through unmodified.
|
||||
.TP
|
||||
.BR range =</num>
|
||||
The new range given as
|
||||
.I /number
|
||||
(required).
|
||||
|
||||
For example
|
||||
.I range=/64
|
||||
will re-range all values into buckets of 64, 0-63, 64-127 and so on.
|
||||
.LP
|
||||
.SH "SEE ALSO"
|
||||
.BR dsc-datatool (1)
|
||||
.SH AUTHORS
|
||||
Jerry Lundström, DNS-OARC
|
||||
.LP
|
||||
Maintained by DNS-OARC
|
||||
.LP
|
||||
.RS
|
||||
.I https://www.dns-oarc.net/tools/dsc
|
||||
.RE
|
||||
.LP
|
||||
.SH BUGS
|
||||
For issues and feature requests please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://github.com/DNS-OARC/dsc-datatool/issues\fP
|
||||
.RE
|
||||
.LP
|
||||
For question and help please use:
|
||||
.LP
|
||||
.RS
|
||||
\fIhttps://lists.dns-oarc.net/mailman/listinfo/dsc\fP
|
||||
.RE
|
||||
.LP
|
Loading…
Add table
Add a link
Reference in a new issue