rsbperfmon-db-adapter

Synopsis

usage: rsbperfmon-db-adapter [-h] [-p SCOPE [SCOPE ...]]
                                [-n SCOPE [SCOPE ...]] [-b {graphite,influxdb}]
                                [-a] [-d] [-q] [--graphite-host HOST]
                                [--graphite-port PORT]
                                [--graphite-process-prefix STRING]
                                [--graphite-host-prefix STRING]
                                [--influxdb-host HOST] [--influxdb-port PORT]
                                [--influxdb-user USERNAME]
                                [--influxdb-password PASSWORD]
                                [--influxdb-database DATABASE]
                                [--influxdb-process-prefix STRING]
                                [--influxdb-host-prefix STRING]
                                [--influxdb-version SPEC] [-l [FILE]]

Description

Pushes results from the rsb-performance-monitor to a graphite installation.

Options

optional arguments

-h, --help

show this help message and exit

-p <scope>, --procscope <scope>

Scopes on which process monitoring results are sent. (default: [Scope(“/monitoring/”)])

-n <scope>, --hostscope <scope>

Scope on which host information are sent. (default: [Scope(“/host/”)])

-b {graphite,influxdb}, --backend {graphite,influxdb}

The database backend to use. (default: graphite)

-a, --aggregate

If set, aggregate subprocess statistics into the parent process. Else, export separately.

-d, --derive

If set, derive cues that are counters which otherwise always increase their value.

-q, --noqueue

Do not queue events internally

-l <file>, --logging <file>

Configures the python logging system. If used without an argument, all logging is enabled to the console. If used with an argument, the configuration is read from the specified file.

graphite

--graphite-host <host>

The host to connect to for sending. (default: localhost)

--graphite-port <port>

The port to use for sending. (default: 2004)

--graphite-process-prefix <string>

Prefix for process time series names. (default: process)

--graphite-host-prefix <string>

Prefix for host time series names. (default: host)

influxdb

--influxdb-host <host>

The host to connect to for sending. (default: localhost)

--influxdb-port <port>

The port to use for sending. (default: 8086)

--influxdb-user <username>

Username for connecting to InfluxDB. (default: root)

--influxdb-password <password>

Password for connecting to InfluxDB. (default: root)

--influxdb-database <database>

Database to connect to on the InfluxDB server. (default: data)

--influxdb-process-prefix <string>

Prefix for process time series names. (default: process)

--influxdb-host-prefix <string>

Prefix for host time series names. (default: host)

--influxdb-version {0.8,0.9}

Influxdb version to connect to. (default: 0.8)