forked from powellchristoph/sensu-formula
-
Notifications
You must be signed in to change notification settings - Fork 78
/
pillar.example
69 lines (69 loc) · 1.49 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
sensu:
lookup:
repos:
name: deb http://repositories.sensuapp.org/apt sensu main
key_url: http://repositories.sensuapp.org/apt/pubkey.gpg
server:
install_gems:
- mail
- timeout
- name: aws-sdk
version: 2.2.6
client:
embedded_ruby: true
nagios_plugins: true
redact:
- password
gem_proxy: http://192.168.1.1:3128/
rabbitmq:
host: 10.0.0.1
user: sensu
password: secret
api:
password: secret
ssl:
enable: True
cert_pem: |
< PUT CERTIFICATE HERE IF USING SLL >
key_pem: |
< PUT PRIVATE KEY HERE IF USING SLL >
uchiwa:
host: localhost
loglevel: warn
users:
- username: bobby
password: testy
role:
readonly: True
sites:
- name: 'Site 1'
host: '1.1.1.1'
user: bobby
pass: secret
- name: 'Site 2'
host: 1.2.3.4
user: nicky
pass: secret
ssl: True
# Configurable path support.
paths:
plugins: monitoring/checks
handlers: monitoring/handlers
# Optional: Checks within Pillar
checks:
check_http:
handlers:
- pagerduty
command: "/etc/sensu/plugins/check-http.rb -h localhost -p 443 -s -e 30"
interval: 300
occurences: 2
subscribers:
- ssl_server
# Optional: Pillarized Handler files
handlers:
handlers:
pagerduty:
type: pipe
command: /etc/sensu/handlers/pagerduty.rb
pagerduty:
api_key: "encrypted or secure apikey"