Sha256: 5939080ee0417b7948f5dfb6f54c6c9b488804cc769a764088a5ee62421b8420

Contents?: true

Size: 1.47 KB

Versions: 24

Compression:

Stored size: 1.47 KB

Contents

config:
  name: My Website Server
  server_name: main website # if not present, `hostname` will be used

  # Send alerts to Slack (create your slack token in https://github.com/slack-ruby/slack-ruby-client#usage)
  # slack_token: xoxb-...
  # slack_channel: '#alerts'

  # Send email alerts (via any smtp server: https://sendgrid.com, https://postmarkapp.com/ or your own)
  # smtp_server: smtp.mysite.com
  # smtp_domain: mysite.com
  # mail_from: system@mysite.com
  # mail_to: 
  #   - myself@mysite.com

tests:
  ## General
  boot_time:
    notify_on_output_change: uptime -s

  ## URLs
  site_status:
    test_url: https://www.mysite.com

  # helpdesk_status:
  #   test_url: https://helpdesk_status.mysite.com

  ## Disks
  disk_root:
    test_cmd: "df / | grep -v Filesystem | awk '{print $5}' | sed 's/%//'"
    expected_max: 90

  # disk_shared_storage:
  #   test_cmd: "df /var/www/site/shared | grep -v Filesystem | awk '{print $5}' | sed 's/%//'"
  #   expected_max: 90

  ## Mounts
  # shared_storage:
  #   test_cmd: mount | grep /var/www/site/shared

  ## Services
  # dns_server:
  #   test_cmd: host -t A www.mysite.com ns1.mydns.com | tail -1
  #   expected_regex: ^www.mysite.com has address
  #   restore_cmd: systemctl restart bind9

  # redis_server:
  #   test_cmd: systemctl status redis-server
  #   expected_string: Active: active (running)
  #   restore_cmd: systemctl restart redis-server

  ## Processes
  # worker_status:
  #   test_cmd: ps aux | grep 'sidekiq 4.2.10 site'

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
sys_watchdog-0.1.20 util/sys_watchdog_sample.yml
sys_watchdog-0.1.19 util/sys_watchdog_sample.yml
sys_watchdog-0.1.18 util/sys_watchdog_sample.yml
sys_watchdog-0.1.17 util/sys_watchdog_sample.yml
sys_watchdog-0.1.16 util/sys_watchdog_sample.yml
sys_watchdog-0.1.15 util/sys_watchdog_sample.yml
sys_watchdog-0.1.14 util/sys_watchdog_sample.yml
sys_watchdog-0.1.13 util/sys_watchdog_sample.yml
sys_watchdog-0.1.12 util/sys_watchdog_sample.yml
sys_watchdog-0.1.11 util/sys_watchdog_sample.yml
sys_watchdog-0.1.10 util/sys_watchdog_sample.yml
sys_watchdog-0.1.9 util/sys_watchdog_sample.yml
sys_watchdog-0.1.8 util/sys_watchdog_sample.yml
sys_watchdog-0.1.7 util/sys_watchdog_sample.yml
sys_watchdog-0.1.6 util/sys_watchdog_sample.yml
sys_watchdog-0.1.5 util/sys_watchdog_sample.yml
sys_watchdog-0.1.4 util/sys_watchdog_sample.yml
sys_watchdog-0.1.3 util/sys_watchdog_sample.yml
sys_watchdog-0.1.2 util/sys_watchdog_sample.yml
sys_watchdog-0.1.1 util/sys_watchdog_sample.yml