blob: 475c1db10b6f7fd3c717259de4cdcd880c03fd07 [file] [log] [blame]
Filip Pytloun818f5e12015-10-06 16:28:32 +02001
2=====
3Sensu
4=====
5
6Sample pillars
7==============
8
9Sensu Server with API
10
11.. code-block:: yaml
12
13 sensu:
14 server:
15 enabled: true
16 keepalive_warning: 20
jan kaufman2af39ed2016-02-25 11:02:19 +010017 keepalive_critical: 60
Filip Pytloun818f5e12015-10-06 16:28:32 +020018 mine_checks: true
19 database:
20 engine: redis
21 host: localhost
22 port: 6379
23 message_queue:
24 engine: rabbitmq
25 host: rabbitmq
26 port: 5672
27 user: monitor
28 password: pwd
29 virtual_host: '/monitor'
30 bind:
31 address: 0.0.0.0
32 port: 4567
33 handler:
34 default:
35 enabled: true
36 set:
37 - mail
jan kaufman2af39ed2016-02-25 11:02:19 +010038 - pipe
Filip Pytloun818f5e12015-10-06 16:28:32 +020039 stdout:
40 enabled: true
41 mail:
42 mail_to: 'mail@domain.cz'
43 host: smtp1.domain.cz
44 port: 465
45 user: 'mail@domain.cz'
46 password: 'pwd'
47 authentication: cram_md5
48 encryption: ssl
49 domain: 'domain.cz'
jan kaufman2af39ed2016-02-25 11:02:19 +010050 pipe:
51 enabled: true
52 command: /usr/bin/tee /tmp/debug
Filip Pytloun818f5e12015-10-06 16:28:32 +020053
54Sensu Dashboard (now uchiwa)
55
56.. code-block:: yaml
57
58 sensu:
59 dashboard:
60 enabled: true
61 bind:
62 address: 0.0.0.0
63 port: 8080
64 admin:
65 username: admin
66 password: pass
67
68Sensu Client
69
70.. code-block:: yaml
71
72 sensu:
73 client:
74 enabled: true
75 message_queue:
76 engine: rabbitmq
77 host: rabbitmq
78 port: 5672
79 user: monitor
80 password: pwd
81 virtual_host: '/monitor'
82
83Sensu Client with community plugins
84
85.. code-block:: yaml
86
87 sensu:
88 client:
89 enabled: true
90 plugin:
91 sensu_community_plugins:
92 enabled: true
93 monitoring_for_openstack:
94 enabled: true
vmikes299f9af2016-09-06 16:04:22 +020095 ruby_gems:
96 enabled: True
97 name:
98 bunny:
Filip Pytloun818f5e12015-10-06 16:28:32 +020099 message_queue:
100 engine: rabbitmq
101 host: rabbitmq
102 port: 5672
103 user: monitor
104 password: pwd
105 virtual_host: '/monitor'
106
Jakub Pavlikcca98e92016-09-06 18:08:22 +0200107Sensu SalesForce handler
108
109.. code-block:: yaml
110
111 sensu:
112 server:
113 enabled: true
114 handler:
115 default:
116 enabled: true
117 set:
118 - sfdc
119 stdout:
120 enabled: true
121 sfdc:
122 enabled: true
123 sfdc_client_id: "3MVG9Oe7T3Ol0ea4MKj"
124 sfdc_client_secret: 11482216293059
125 sfdc_username: test@test1.test
126 sfdc_password: passTemp
127 sfdc_auth_url: https://mysite--scloudqa.cs12.my.salesforce.com
128 environment: a2XV0000001
129 sfdc_organization_id: 00DV00000
130
Filip Pytloun818f5e12015-10-06 16:28:32 +0200131Read more
132=========
133
134* http://docs.sensuapp.org/0.9/installing_sensu.html
135* https://speakerdeck.com/joemiller/practical-examples-with-sensu-monitoring-framework
136* https://github.com/fridim/nagios-plugin-check_galera_cluster
137* http://www.reimann.sh/2011/06/30/nagios-check-pacemaker-failed-actions/
138* http://sys4.de/en/blog/2014/01/23/montoring-pacemaker-nagios/
139* https://raw.githubusercontent.com/sensu/sensu-community-plugins/master/plugins/openstack/neutron/neutron-agent-status.py
140* https://github.com/sensu/sensu-community-plugins/blob/master/plugins/openstack/keystone/check_keystone-api.sh
141* http://openstack.prov12n.com/monitoring-openstack-nagios-3/
142* https://raw.githubusercontent.com/drewkerrigan/nagios-http-json/master/check_http_json.py
143* https://github.com/opinkerfi/nagios-plugins/tree/master/check_ibm_bladecenter
144* https://github.com/opinkerfi/nagios-plugins/tree/master/check_storwize
145* https://github.com/ehazlett/sensu-py/
146* https://github.com/Level-Up/Supervisord-Nagios-Plugin/blob/master/check_supv.py