Sensu

Sample pillars

Sensu Server with API

sensu:
  server:
    enabled: true
    keepalive_warning: 20
    keepalive_critical: 60
    mine_checks: true
    database:
      engine: redis
      host: localhost
      port: 6379
    message_queue:
      engine: rabbitmq
      host: rabbitmq
      port: 5672
      user: monitor
      password: pwd
      virtual_host: '/monitor'
    bind:
      address: 0.0.0.0
      port: 4567
    handler:
      default:
        enabled: true
        set:
        - mail
        - pipe
      stdout:
        enabled: true
      mail:
        mail_to: 'mail@domain.cz'
        host: smtp1.domain.cz
        port: 465
        user: 'mail@domain.cz'
        password: 'pwd'
        authentication: cram_md5
        encryption: ssl
        domain: 'domain.cz'
      pipe:
        enabled: true
        command: /usr/bin/tee /tmp/debug

Sensu Dashboard (now uchiwa)

sensu:
  dashboard:
    enabled: true
    bind:
      address: 0.0.0.0
      port: 8080
    admin:
      username: admin
      password: pass

Sensu Client

sensu:
  client:
    enabled: true
    message_queue:
      engine: rabbitmq
      host: rabbitmq
      port: 5672
      user: monitor
      password: pwd
      virtual_host: '/monitor'

Sensu Client with check explicitly disabled

sensu:
  client:
    enabled: true
    message_queue:
      engine: rabbitmq
      host: rabbitmq
      port: 5672
      user: monitor
      password: pwd
      virtual_host: '/monitor'
    check:
      local_linux_storage_swap_usage:
        enabled: False

Sensu Client with subscriptions explicitly disabled

sensu:
  client:
    enabled: true
    message_queue:
      engine: rabbitmq
      host: rabbitmq
      port: 5672
      user: monitor
      password: pwd
      virtual_host: '/monitor'
    unsubscribe:
      - collectd.client
      - git.client

Sensu Client with community plugins

sensu:
  client:
    enabled: true
    plugin:
      sensu_community_plugins:
        enabled: true
      monitoring_for_openstack:
        enabled: true
      ruby_gems:
        enabled: True
        name:
          bunny:
    message_queue:
      engine: rabbitmq
      host: rabbitmq
      port: 5672
      user: monitor
      password: pwd
      virtual_host: '/monitor'

Sensu SalesForce handler

sensu:
  server:
    enabled: true
    handler:
      default:
        enabled: true
        set:
        - sfdc
      stdout:
        enabled: true
      sfdc:
        enabled: true
        sfdc_client_id: "3MVG9Oe7T3Ol0ea4MKj"
        sfdc_client_secret: 11482216293059
        sfdc_username: test@test1.test
        sfdc_password: passTemp
        sfdc_auth_url: https://mysite--scloudqa.cs12.my.salesforce.com
        environment: a2XV0000001
        sfdc_organization_id: 00DV00000
        sfdc_http_proxy: 'http://10.10.10.10:8888'
        token_cache_file: "/path/to/cache/token"

Sensu Slack handler

sensu:
  server:
    enabled: true
    handler:
      default:
        enabled: true
        set:
        - slack
      stdout:
        enabled: true
      slack:
        enabled: True
        channel: '#channel_name'
        webhook_url: 'https://hooks.slack.com/services/kastan12T/B57X3SDQA/fasfsaf0632hjkl3dsccLn9v'
        proxy_address: '10.10.10.10'
        proxy_port: '8888'

Documentation and Bugs

To learn how to install and update salt-formulas, consult the documentation available online at:

In the unfortunate event that bugs are discovered, they should be reported to the appropriate issue tracker. Use Github issue tracker for specific salt formula:

For feature requests, bug reports or blueprints affecting entire ecosystem, use Launchpad salt-formulas project:

You can also join salt-formulas-users team and subscribe to mailing list:

Developers wishing to work on the salt-formulas projects should always base their work on master branch and submit pull request against specific formula.

Any questions or feedback is always welcome so feel free to join our IRC channel:

#salt-formulas @ irc.freenode.net