blob: 1fd88db95b1581472cf38be49acb6e103325cd88 [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
17 keepalive_critical: 60
18 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
38 stdout:
39 enabled: true
40 mail:
41 mail_to: 'mail@domain.cz'
42 host: smtp1.domain.cz
43 port: 465
44 user: 'mail@domain.cz'
45 password: 'pwd'
46 authentication: cram_md5
47 encryption: ssl
48 domain: 'domain.cz'
49
50Sensu Dashboard (now uchiwa)
51
52.. code-block:: yaml
53
54 sensu:
55 dashboard:
56 enabled: true
57 bind:
58 address: 0.0.0.0
59 port: 8080
60 admin:
61 username: admin
62 password: pass
63
64Sensu Client
65
66.. code-block:: yaml
67
68 sensu:
69 client:
70 enabled: true
71 message_queue:
72 engine: rabbitmq
73 host: rabbitmq
74 port: 5672
75 user: monitor
76 password: pwd
77 virtual_host: '/monitor'
78
79Sensu Client with community plugins
80
81.. code-block:: yaml
82
83 sensu:
84 client:
85 enabled: true
86 plugin:
87 sensu_community_plugins:
88 enabled: true
89 monitoring_for_openstack:
90 enabled: true
91 message_queue:
92 engine: rabbitmq
93 host: rabbitmq
94 port: 5672
95 user: monitor
96 password: pwd
97 virtual_host: '/monitor'
98
99Read more
100=========
101
102* http://docs.sensuapp.org/0.9/installing_sensu.html
103* https://speakerdeck.com/joemiller/practical-examples-with-sensu-monitoring-framework
104* https://github.com/fridim/nagios-plugin-check_galera_cluster
105* http://www.reimann.sh/2011/06/30/nagios-check-pacemaker-failed-actions/
106* http://sys4.de/en/blog/2014/01/23/montoring-pacemaker-nagios/
107* https://raw.githubusercontent.com/sensu/sensu-community-plugins/master/plugins/openstack/neutron/neutron-agent-status.py
108* https://github.com/sensu/sensu-community-plugins/blob/master/plugins/openstack/keystone/check_keystone-api.sh
109* http://openstack.prov12n.com/monitoring-openstack-nagios-3/
110* https://raw.githubusercontent.com/drewkerrigan/nagios-http-json/master/check_http_json.py
111* https://github.com/opinkerfi/nagios-plugins/tree/master/check_ibm_bladecenter
112* https://github.com/opinkerfi/nagios-plugins/tree/master/check_storwize
113* https://github.com/ehazlett/sensu-py/
114* https://github.com/Level-Up/Supervisord-Nagios-Plugin/blob/master/check_supv.py