Ramen Documentation
ramen-alerter - Start the alerter.
ramen alerter [OPTION]...
--daemonize (absent RAMEN_DAEMONIZE env)
Daemonize.
--debounce-delay=VAL (absent=10. or ALERTER_DEBOUNCE_DELAY env)
Minimum delay between a notification and the first message is sent.
--for-test
Internal special setup for running alerting tests.
--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of ’auto', ’pager', ’groff' or ’plain'. With ’auto', the format is ’pager’ or ’plain' whenever the TERM env var is ’dumb' or undefined.
--kafka-producers-timeout=VAL
(absent=86400. or
ALERTER_KAFKA_PRODUCERS_TIMEOUT env)
How long to keep idle kafka producers.
--max-fpr=VAL,
--fpr=VAL, --default-max-fpr=VAL
(absent=0.00166666666667 or ALERTER_MAX_FPR env)
Max global false-positive rate.
--max-incident-age=VAL (absent=86400. or ALERTER_MAX_INCIDENT_AGE env)
Maximum age for an incident after which it is automatically cancelled.
--max-last-sent-kept=VAL,
--max-last-incidents-kept=VAL (absent=100 or
ALERTER_MAX_LAST_SENT_KEPT env)
Maximum number of previous messages to keep in order to estimate the false positive rate.
--prefix-log-with-name (absent RAMEN_PREFIX_LOG_WITH_NAME env)
Prefix every log lines with the service name. Comes handy when all logs are scrambled together, as in the output of docker logs.
--reschedule-clock=VAL, --clock=VAL (absent=15. or ALERTER_CLOCK env)
Duration of the event loop.
--to-stdout,
--to-stderr, --stdout, --stderr (absent
RAMEN_LOG_TO_STDERR env)
Log onto stdout/stderr instead of a file.
--to-syslog, --syslog (absent RAMEN_LOG_TO_SYSLOG env)
log using syslog.
--users-dir=PATH (absent RAMEN_USERS_DIR env)
Where to find users directory (defaults to $RAMEN_DIR/confserver/users).
--version
Show version information.
--colors=VAL (absent=always or RAMEN_COLORS env)
Whether or not to use colors in terminal output.
--confserver[=VAL] (default=localhost) (absent RAMEN_CONFSERVER env)
host:port of Ramen confserver.
--confserver-key=VAL (absent="" or RAMEN_CONFSERVER_KEY env)
File name where the confserver public key is stored.
-d, --debug (absent RAMEN_DEBUG env)
Increase verbosity.
-i VAL, --identity=VAL (absent RAMEN_CLIENT_IDENTITY env)
Location of the file storing user's identity
--initial-export-duration=VAL (absent=0. or RAMEN_INITIAL_EXPORT env)
How long to export a node output after startup before a client asks for it.
--libs=VAL,
--bundle-dir=VAL
(absent=/usr/local/libexec/bundle/ or
RAMEN_LIBS env)
Directory where to find libraries for the embedded compiler.
--local-experiments-config=FILE,
--experiments-config=FILE (absent
RAMEN_EXPERIMENTS_CONFIG env)
Configuration file for local experiments (defaults to $RAMEN_DIR/experiments/v1/config).
--masters=VAL (absent RAMEN_MASTERS env)
Indicates that Ramen must run in distributed mode and what sites play the master role.
--persist-dir=PATH (absent=/tmp/ramen or RAMEN_DIR env)
Directory where are stored data persisted on disc.
--priv-key=VAL,
--client-private-key=VAL (absent=<KEY>
or
RAMEN_CLIENT_PRIV_KEY env)
File name where the client private key is stored. This file must not be readable or writable by others.
--pub-key=VAL,
--client-public-key=VAL (absent=""
or
RAMEN_CLIENT_PUB_KEY env)
File name where the client public key is stored.
-q, --quiet (absent RAMEN_QUIET env)
Decrease verbosity.
--reuse-prev-files (absent RAMEN_REUSE_PREV_FILES env)
Reuse existing source files.
-S, --keep-temp-files (absent RAMEN_KEEP_TEMP_FILES env)
Keep temporary files.
--seed=VAL, --rand-seed=VAL (absent RAMEN_RANDOM_SEED env)
Seed to initialize the random generator with (will use a random one if unset).
--site=VAL (absent HOSTNAME env)
The name of this site.
--username=VAL (absent=_alerter)
Login name to connect to the confserver.
--variant=EXP1=VAR1,EXP2=VAR2... (absent RAMEN_VARIANTS env)
Force variants.
These
environment variables affect the execution of
alerter:
ALERTER_CLOCK
See option --clock.
ALERTER_DEBOUNCE_DELAY
See option --debounce-delay.
ALERTER_KAFKA_PRODUCERS_TIMEOUT
See option --kafka-producers-timeout.
ALERTER_MAX_FPR
See option --default-max-fpr.
ALERTER_MAX_INCIDENT_AGE
See option --max-incident-age.
ALERTER_MAX_LAST_SENT_KEPT
See option --max-last-incidents-kept.
HOSTNAME
See option --site.
RAMEN_CLIENT_IDENTITY
See option --identity.
RAMEN_CLIENT_PRIV_KEY
See option --priv-key.
RAMEN_CLIENT_PUB_KEY
See option --pub-key.
RAMEN_COLORS
See option --colors.
RAMEN_CONFSERVER
See option --confserver.
RAMEN_CONFSERVER_KEY
See option --confserver-key.
RAMEN_DAEMONIZE
See option --daemonize.
RAMEN_DEBUG
See option --debug.
RAMEN_DIR
See option --persist-dir.
RAMEN_EXPERIMENTS_CONFIG
See option --experiments-config.
RAMEN_INITIAL_EXPORT
See option --initial-export-duration.
RAMEN_KEEP_TEMP_FILES
See option --keep-temp-files.
RAMEN_LIBS
See option --bundle-dir.
RAMEN_LOG_TO_STDERR
See option --to-stdout.
RAMEN_LOG_TO_SYSLOG
See option --to-syslog.
RAMEN_MASTERS
See option --masters.
RAMEN_PREFIX_LOG_WITH_NAME
See option --prefix-log-with-name.
RAMEN_QUIET
See option --quiet.
RAMEN_RANDOM_SEED
See option --rand-seed.
RAMEN_REUSE_PREV_FILES
See option --reuse-prev-files.
RAMEN_USERS_DIR
See option --users-dir.
RAMEN_VARIANTS
See option --variant.