OS Manuals

/usr/bin/riemann-client

A C client library for the Riemann monitoring system

From riemann-c-client 2.2.2-r3 (os), captured 2026-11-05 by running riemann-client --help (exit 0). permalink

riemann-c-client 2.2.2
Usage: /usr/bin/riemann-client COMMAND [options...] [HOST] [PORT]

Available commands: send and query.

Sending events (send command):
==============================

 Options:
  -s, --state=STATE                 Set the state of the event.
  -S, --service=SERVICE             Set the service sending the event.
  -h, --host=HOST                   Set the origin host of the event.
  -D, --description=DESCRIPTION     Set the description of the event.
  -a, --attribute=KEY=VALUE         Add a new attribute to the event.
  -t, --tag=TAG                     Add a tag to the event.
  -i, --metric-sint64=METRIC        Set the 64bit integer metric of the event.
  -d, --metric-d=METRIC             Set the double metric of the event.
  -f, --metric-f=METRIC             Set the float metric of the event.
  -L, --ttl=TTL                     Set the TTL of the event.

  -T, --tcp                         Send the message over TCP (default).
  -U, --udp                         Send the message over UDP.
  -G, --tls                         Send the message over TLS.
  -o, --option option=value         Set a client option to a given value.

  -0, --stdin                       Read metric/state from STDIN continuously.

  -?, --help                        This help screen.

Querying events (query command):
================================

When using the query command, the QUERY argument must immediately follow
the command on the command-line:
 riemann-client query QUERY [HOST] [PORT]

 Options:
  -j, --json                        Output the results as a JSON array.
  -T, --tcp                         Send the message over TCP (default).
  -G, --tls                         Send the message over TLS.
  -o, --option option=value         Set a client option to a given value.
  -?, --help                        This help screen.

The HOST and PORT arguments are optional, and they default to
"localhost" and 5555, respectively.

Report riemann-c-client bugs to algernon@madhouse-project.org
Options (17)
OptionDescriptionSource
-s, --state STATEThe state the event should describe, free-form text, optional.help + man
-S, --service SERVICEThe service the event is coming from.help + man
-h, --host HOSTThe host the event originates from.help + man
-D, --description DESCRIPTIONThe description of the event, optional.help + man
-a, --attribute KEY=VALUEThis option can be used multiple times to add custom attributes to the event.help + man
-t, --tag TAGThis option can be used multiple times to add tags to the event.help + man
-i, --metric-sint64 METRICSets the metric for the event, using integer precision.help + man
-d, --metric-d METRICSets the metric of the event, using double precision.help + man
-f, --metric-f METRICSets the metric of the event, using floating point precision.help + man
-L, --ttl TTLAn optional time-to-live of the event, in seconds (floating point number).help + man
-T, --tcpSend the event via TCP (the default).help + man
-U, --udpSend the message over UDP.help + man
-G, --tlsSend the message over TLS.help + man
-o, --option option=valueSet one client option to the given value.help + man
-0, --stdinContinuously read and send metrics and states from standard input.help + man
-?, --helpThis help screen.help
-j, --jsonPrint the result in JSON format, instead of the default, human-readable one.help + man
Examples (4) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.