Skip to content

Commit eb5ad79

Browse files
Tristan Charbonneaualxwr
authored andcommitted
feat(doc): enhance pillar.example with default values from defaults.yaml
1 parent b2fc4d1 commit eb5ad79

File tree

1 file changed

+47
-8
lines changed

1 file changed

+47
-8
lines changed

pillar.example

Lines changed: 47 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
---
44
icinga2:
55
lookup: # See defaults.yaml and map.jinja for a better overview
6+
config_dir: /etc/icinga2
7+
confd_dir: /etc/icinga2/conf.d
8+
check_command_dir: /etc/icinga2/conf.d/check_command
9+
scripts_dir: /etc/icinga2/scripts
10+
home_dir: /var/lib/nagios
11+
user: nagios
12+
group: nagios
13+
postgresql_pkgs:
14+
- postgresql-client
615
service: icinga2
716
pkgs:
817
- icinga2
@@ -11,23 +20,49 @@ icinga2:
1120
db:
1221
# MUST BE SET when using icinga2.pgsql-ido
1322
password: SomeSecurePassword
23+
24+
name: icinga
25+
user: icinga2ido
26+
host: 127.0.0.1
27+
port: 5432
28+
schema_path: /usr/share/icinga2-ido-pgsql/schema/pgsql.sql
29+
pkg: icinga2-ido-pgsql
1430
icinga_web2:
31+
config_dir: /etc/icingaweb2
32+
modules_dir: /usr/share/icingaweb2/modules
33+
user: www-data
34+
group: icingaweb2
1535
db:
1636
# MUST BE SET when using icinga2.icinga-web2-database
1737
password: AnotherSecurePassword
38+
39+
name: icinga2web
40+
user: icinga2web
41+
host: 127.0.0.1
42+
port: 5432
1843
pkgs:
19-
- ...
44+
- icingaweb2
45+
- icingaweb2-module-doc
46+
- icingaweb2-module-monitoring
2047
required_pkgs:
21-
- ...
48+
- php-fpm
49+
- php-pgsql
50+
- libapache2-mod-php
51+
- php-intl
52+
- php-gd
53+
- php-imagick
2254
features:
2355
api: false # disable
2456
command: true # enable
25-
gelf: true
26-
graphite: true
27-
opentsdb: true
28-
perfdata: true
29-
statusdata: true
30-
# ...
57+
debuglog: false
58+
gelf: false
59+
graphite: false
60+
influxdb: false
61+
livestatus: false
62+
opentsdb: false
63+
perfdata: false
64+
statusdata: false
65+
syslog: false
3166

3267
notification:
3368
xmpp:
@@ -133,5 +168,9 @@ icinga2:
133168

134169
notification:
135170
xmpp:
171+
pkg: python3-slixmpp
172+
python_executable: python3
173+
ca_file: /etc/ssl/certs/ca-certificates.crt
174+
136175
jid: icinga@jabber.example.test
137176
password: supersecurerandomizeduniquepassword

0 commit comments

Comments
 (0)