GithubHelp home page GithubHelp logo

isabella232 / salt-formula-sensu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from salt-formulas/salt-formula-sensu

0.0 0.0 0.0 387 KB

License: Other

Shell 6.90% Ruby 4.96% Scheme 0.13% Python 17.86% Perl 68.03% Makefile 0.48% HTML 0.08% SaltStack 1.56%

salt-formula-sensu's Introduction

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: '[email protected]'
        host: smtp1.domain.cz
        port: 465
        user: '[email protected]'
        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: [email protected]
        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'

Read more

Documentation and Bugs

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

http://salt-formulas.readthedocs.io/

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:

https://github.com/salt-formulas/salt-formula-sensu/issues

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

https://launchpad.net/salt-formulas

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

https://launchpad.net/~salt-formulas-users

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

https://github.com/salt-formulas/salt-formula-sensu

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

#salt-formulas @ irc.freenode.net

salt-formula-sensu's People

Contributors

cznewt avatar epcim avatar fpytloun avatar jakubjosef avatar jm890 avatar lotharkatt avatar mirantis-slovaktelekom avatar misakvl avatar pupapaik avatar richardfelkl avatar smolaon avatar tomkukral avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.