config/splash.yml in prometheus-splash-0.7.0 vs config/splash.yml in prometheus-splash-0.8.0

- old
+ new

@@ -1,9 +1,12 @@ # Splash Configuration :splash: ### Main Configuration + :paths: + :pid_path: /var/run/splash + :trace_path: /var/run/splash/traces :loggers: :level: :info :daemon: :file: /var/log/splash.log :cli: @@ -21,10 +24,14 @@ # :type: :redis # :host: localhost # :port: 6379 # #:auth: "mykey" # :base: 1 + :transferts_trace: + :type: :file + :path: /var/run/splash/transferts + :transports: :active: :rabbitmq :rabbitmq: :vhost: / :port: 5672 @@ -37,20 +44,18 @@ :metrics_scheduling: :every: 15s :procmon_scheduling: :every: 20s :process_name: "Splash : daemon." - :paths: - :pid_path: /var/run/splash - :trace_path: /var/run/splash/traces :files: :stdout_trace: stdout.txt :stderr_trace: stderr.txt :pid_file: splash.pid :prometheus: - :pushgateway: 'http://localhost:9091/' - :url: 'http://localhost:9090/' + :pushgateway: 'http://localhost:9091' + :url: 'http://localhost:9090' + :alertmanager: 'http://localhost:9093' :webadmin: :port: 9234 :ip: 127.0.0.1 :proxy: false :process_name: "Splash : WebAdmin." @@ -172,7 +177,30 @@ :options: :continue: true :definition: - :step: exec echo3 :command: :echo3 + +### Transfers + :transfers: + - :name: :transfer_text + :desc: "List of text files" + :pattern: '*.txt' + :backup: true + :type: :push + :retention: + :hours: 1 + :local: + :path: /tmp/transferts + :user: root + :remote: + :user: root + :host: localhost + :path: /tmp/ + :post: + :remote_command: 'ls' + + + + ###