config/splash.yml in prometheus-splash-0.6.0 vs config/splash.yml in prometheus-splash-0.6.1

- old
+ new

@@ -45,15 +45,12 @@ :files: :stdout_trace: stdout.txt :stderr_trace: stderr.txt :pid_file: splash.pid :prometheus: - :pushgateway: - :host: "localhost" - :port: 9091 - :path: '' - :url: "http://localhost:9090/" + :pushgateway: 'http://localhost:9091/' + :url: 'http://localhost:9090/' :webadmin: :port: 9234 :ip: 127.0.0.1 :proxy: false :process_name: "Splash : WebAdmin." @@ -61,11 +58,11 @@ :stdout_trace: stdout_webadmin.txt :stderr_trace: stderr_webadmin.txt :pid_file: splash_webadmin.pid -### configuration of commands and scheduling +### Sample configuration of commands and scheduling :commands: :id_root: :desc: run id command on root :command: id root :true_test: @@ -113,20 +110,69 @@ :host: omicron :remote_command: :echo2 :on_success: :echo3 -### configuration of monitored logs +### Sample configuration of monitored logs :logs: - :label: :log_app_1 :log: /tmp/test :pattern: ERROR - :label: :log_app_2 :log: /tmp/test2 :pattern: ERROR - ### configuration of monitored processes :processes: - :process: cron :patterns: - cron + + +### +## Sample configuration of executions sequences + :sequences: + :sample_remote_sequence: + :definition: + - :step: execute echo2 on omicron + :command: :echo2 + :on_host: omicron + - :step: run locally echo3 + :command: :echo3 + :trace: false + :sample_local_sequence: + :definition: + - :step: run locally pwd without callback + :command: :pwd + :callback: false + - :step: run locally echo3 without Prometheus notifications + :command: :echo3 + :notify: false + :sample_local_failed_sequence: + :options: + :continue: false + :definition: + - :step: run false_test locally without callback + :command: :false_test + :callback: false + - :step: considere this as inefective + :command: :echo3 + :sample_local_full_sequence: + :options: + :continue: true + :definition: + - :step: run false_test locally without callback + :command: :false_test + :callback: false + :trace: false + - :step: considere this as inefective + :command: :pwd + :sample_scheduled_sequence: + :schedule: + :every: 1m + :options: + :continue: true + :definition: + - :step: exec echo3 + :command: :echo3 + +###