Module: Splash::Constants
- Included in:
- Backends, Splash::Commands::CmdRecords, Config, Splash::Config::Configuration, ConfigUtilities, Daemon::Controller, Daemon::Metrics, Daemon::Orchestrator::Scheduler, Logs::LogScanner, Logs::LogsRecords, Processes::ProcessRecords, Processes::ProcessScanner, Transfers::TxRecords, WebAdmin::Controller
- Defined in:
- lib/splash/constants.rb
Overview
Constants namespace
Constant Summary collapse
- VERSION =
Current splash version
"0.9.1"- CONFIG_FILE =
the path to th config file, not overridable by config
"/etc/splash.yml"- TRACE_PATH =
the default execution trace_path if backend file
"/var/run/splash"- PID_PATH =
the default pid file path
"/var/run"- DAEMON_LOGMON_SCHEDULING =
default scheduling criteria for log monitoring
{ :every => '20s'}
- DAEMON_METRICS_SCHEDULING =
default scheduling criteria for metrics notifications
{ :every => '15s'}
- DAEMON_PROCMON_SCHEDULING =
default scheduling criteria for process monitoring
{ :every => '20s'}
- DAEMON_PROCESS_NAME =
the display name of daemon in proc info (ps/top)
"Splash : daemon."- DAEMON_PID_FILE =
the default pid file name
"splash.pid"- DAEMON_STDOUT_TRACE =
the default sdtout trace file
"stdout.txt"- DAEMON_STDERR_TRACE =
the default sdterr trace file
"stderr.txt"- AUTHOR =
the Author name
"Romain GEORGES"- EMAIL =
the maintainer mail
"[email protected]"- COPYRIGHT =
legal Copyright © 2020 Copyright Utragreen All Rights Reserved.
"Ultragreen (c) 2020"- LICENSE =
type of licence
"BSD-2-Clause"- PROMETHEUS_PUSHGATEWAY_URL =
the default prometheus pushgateway URL
'http://localhost:9091/'- PROMETHEUS_ALERTMANAGER_URL =
the default prometheus Alertmanager URL
'http://localhost:9092/'- PROMETHEUS_URL =
the default prometheus URL
"http://localhost:9090/"- EXECUTION_TEMPLATE =
the default path fo execution report template
"/etc/splash_execution_report.tpl"- EXECUTION_TEMPLATE_TOKENS_LIST =
the list of authorized tokens for template, carefull override,
[:end_date,:start_date,:cmd_name,:cmd_line,:stdout,:stderr,:desc,:status,:exec_time]
- BACKENDS_STRUCT =
backends default settings
{ :list => [:file,:redis], :stores => { :execution_trace => { :type => :file, :path => "/var/run/splash" }}}
- TRANSPORTS_STRUCT =
transports default settings
{ :list => [:rabbitmq], :active => :rabbitmq, :rabbitmq => { :port => 5672, :host => "localhost", :vhost => '/'} }
- LOGGERS_STRUCT =
loggers default settings
{ :list => [:cli,:daemon, :dual, :web], :default => :cli, :level => :info, :daemon => {:file => '/var/log/splash.log'}, :web => {:file => '/var/log/splash_web.log'}, :cli => {:color => true, :emoji => true } }
- WEBADMIN_IP =
"127.0.0.1"- WEBADMIN_PORT =
"9234"- WEBADMIN_PROXY =
false- WEBADMIN_PROCESS_NAME =
the display name of daemon in proc info (ps/top)
"Splash : WebAdmin."- WEBADMIN_PID_PATH =
the default pid file path
"/var/run"- WEBADMIN_PID_FILE =
the default pid file name
"splash.pid"- WEBADMIN_STDOUT_TRACE =
the default sdtout trace file
"stdout.txt"- WEBADMIN_STDERR_TRACE =
the default sdterr trace file
"stderr.txt"- DEFAULT_RETENTION =
default retention for trace
1