Scroll to navigation

PYTHON-RIEMANN-CLIENT(1) General Commands Manual PYTHON-RIEMANN-CLIENT(1)

NAME

python-riemann-client - Connects to a Riemann server to send events or query the index

SYNOPSIS

python-riemann-client [CONNECTION_PARAMETERS] send [EVENT_PARAMETERS]
python-riemann-client [CONNECTION_PARAMETERS] query [QUERY]

DESCRIPTION

This manual page documents briefly the python-rieman-client command.

OPTIONS

Connection parameters

Riemann server hostname. Default is localhost.
Riemann server port. Default is 5555.
The protocol to use to connect to Riemann: udp, tcp or tls.
Timeout for TCP based connections.
A CA certificate bundle for TLS connections.

Event parameters

Event timestamp (unix format)
Event state
Event service name
Event hostname (uses system's by default)
Event description
Event tag (multiple)
Event time to live in seconds
Event attribute (key=value, multiple)
Event metric (uses metric_f)

EXAMPLES

To query all events where the state is ok, use:

python-riemann-client query 'state = "ok"'

AUTHOR

python-riemann-client was written by Sam Clements <sam@borntyping.co.uk>.

This manual page was written by Alexandre Viau <alexandre@alexandreviau.net>, for the Debian project (and may be used by others).

2014-10-12