TESTCLIENT

testclient — Very simple consumer client

Synopsis

testclient [[-V] | [--version]] [[-a method] | [--auth method]] [[-h] | [--help]] {[-n metric] | [--name metric]} [[-p name=value] | [--param name=value]...] [[-t sec] | [--timeout sec]] [--timing] [[-w layer] | [--wrap layer]...] URL

DESCRIPTION

A very simple consumer which can query one value of a given metric.

OPTIONS

[-V] | [--version]

Print the version number and exit.

[-a method] | [--auth method]

The authentication method to use. If not specified, the strongest method supported by both the producer and the consumer will be used.

[-h] | [--help]

Print a short help message on parameters and usage.

[-n metric] | [--name metric]

Specify the metric name to be queried. This option is mandatory.

[-p name=value] | [--param name=value]

Specify metric parameters. Each occurance of this option adds a parameter to the list.

[-t sec] | [--timeout sec]

Abort if a command does not complete within the specified time. If the value given is not positive, there will be no timeout (this is also the default).

--timing

Do a simple latency measurement. The result will be printed to stderr.

[-w layer] | [--wrap layer]

Use the specified I/O layer.

URL

URL of the monitoring system to connect to.

FILES

@sysconfdir@/libmonp.conf