Skip to content
This repository
Newer
Older
100755 849 lines (706 sloc) 29.781 kb
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
1 # Main configiguration file for Shinken processes
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
2 #
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
3 # Sample configuration used to define a simple environment:
4 # * one arbiter (that reads the configuration and dispatches it to all others)
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
5 # * one scheduler that schedules the checks (but doesn't launch them)
6 # * one poller (that launches the checks)
7 # * one reactionner (that sends the notifications)
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
8 # * one broker (that exposes Shinken data externally)
9 #
10 # A "Nagios equivalent" configuration with more performance
11 #
12 # The main configuration file is split in two sections
13 # * Section 1 - Shinken daemon process declaration
14 # * Section 2 - Module configurations
15 # * Arbiter modules
16 # * Scheduler modules
17 # * Poller modules
18 # * Broker modules
19 # * Reactionner modules
20 # * Receiver modules
21 # * Section 3 - Realm declarations
22 # * Section 4 - Commented sample configurations
23 #
24 # To learn how to configure Shinken consult the wiki :
25 # quickstart - http://www.shinken-monitoring.org/wiki/configure_shinken
26 # reference - http://www.shinken-monitoring.org/wiki/official/configuringshinken-config
27
28 # ###############################################
29 # Section 1 - Shinken daemon process declarations
30 # ###############################################
31
32 # Arbiter daemon process declaration
33 #
34 # The arbiter is responsible for :
35 # * loading the configuration
36 # * manipulating the configuration
37 # * dispatching the configuration
38 # * validating the health of all other Shinken daemons
39 # * issuing global directives to Shinken daemons (kill, activate-spare, etc)
40 # * centralizing Shinken daemon logs
41 #
42 # WARNING - USER-INPUT-REQUIRED : change host_name with the hostname of your server
43 define arbiter{
44 arbiter_name Arbiter-Master
45 #host_name node1 ; result of the hostname command under Unix
46 address localhost ; IP or DNS adress
47 port 7770
48 spare 0
49
50 # Modules currently active :
51 # Uncomment the line below with the desired modules
52 # modules CommandFile, Mongodb, NSCA, VMWare_auto_linking, WS_Arbiter, Collectd
53
54 # Modules available for arbiters :
55 # CommandFile : open the named pipe nagios.cmd
56 # Mongodb : load hosts from a mongodb database
57 # PickleRetentionArbiter : save data before exiting
58 # NSCA : NSCA server
59 # VMWare_auto_linking : lookup at Vphere server for dependencies
60 # GLPI : import hosts from GLPI
61 # TSCA : TSCA server
62 # MySQLImport : load configuration from a MySQL database
63 # WS_Arbiter : Webservice for pushing results to the arbiter
64 # Collectd : Wait collectd data, and take perfdata for services from it
65
66 # Uncomment these lines in a HA architecture so the master
67 # and slaves know how long they must wait for each other
68 # HA status timers
69 # check_interval 60 ; ping it every minute
70 # timeout 3 ; 'ping' timeout
71 # data_timeout 120 ; 'data send' timeout
72 # max_check_attempts 3 ; if at least max_check_attempts ping failed, the node is DEAD
73 }
74
75
76 # Receiver daemon process declaration
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
77 #
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
78 # The receiver is responsible for :
79 # * receiving passive status results
80 # * buffering and forwarding the data to the active arbiter
81 # which will then dispatch to the appropriate Scheduler for processing
82
83 define receiver{
84 receiver_name receiver-1
85 address localhost
86 port 7773
87 spare 0
88
89 # Modules currently active :
90
91 # Modules available for receivers :
92 # modules NSCA,CommandFile
93
94 timeout 3 ; 'ping' timeout
95 data_timeout 120 ; 'data send' timeout
96 max_check_attempts 3 ; if at least max_check_attempts ping failed, the node is DEAD
97 check_interval 60 ; ping it every minute
98
99 # advanced options
100 realm All
101 }
102
103 # Scheduler daemon process declaration
104 #
105 # The scheduler is responsible for :
106 # * Creating the dependancy tree
107 # * Scheduling checks
108 # * Calculating states
109 # * Requesting actions from a reactionner
110 # * Buffering and forwarding results its associated broker
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
111
e4878d93 » nap
2009-12-08 Put shinken specific objects into their own file
112 define scheduler{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
113 scheduler_name scheduler-1 ; just the name
114 address localhost ; ip or dns address of the daemon
115 port 7768 ; tcp port of the daemon
e4878d93 » nap
2009-12-08 Put shinken specific objects into their own file
116
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
117 # optional
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
118 spare 0 ; (0 = not a spare, 1 = is spare)
119 weight 1 ; (some schedulers can manage more hosts than others)
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
120 timeout 3 ; 'ping' timeout
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
121 data_timeout 120 ; 'data send' timeout
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
122 max_check_attempts 3 ; if at least max_check_attempts ping failed, the node is DEAD
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
123 check_interval 60 ; ping it every minute
ac3de1a1 »
2011-10-31 Fix : some utf8 stuff.
124
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
125 # Modules currently active :
126 # modules PickleRetention
89c2bd1a »
2012-04-27 Add : now LS and WebUI can be linked to the scheduler directly, and t…
127
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
128 # Modules available for schedulers :
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
129 # PickleRetention : Save data before exiting in flat file
130 # MemcacheRetention : Same, but in a memcache server
131 # RedisRetention : Same, but in a Redis server :)
132 # MongodbRetention : Same, but in a mongodb server :)
133 # NagiosRetention : only READ retention info from a nagios retention file
295cb71f » Gabes Jean
2010-11-17 Add: first version of a Nagios retention load file :) Just load, not …
134
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
135 # advanced options
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
136 realm All ; optional (realm are multi-datacenters features)
137 # skip the initial broks cretion. Boot fast, but some broker modules won't work with it!
138 skip_initial_broks 0
790b9184 » gbour
2012-05-14 Add : Allow running shinken satellites in a NATted environment
139
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
140 # In NATted environments, you declare each satellite ip[:port] as seen by *this* scheduler
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
141 # (if port not set, the port declared by satellite itself is used)
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
142 #satellitemap poller-1=1.2.3.4:1772, reactionner-1=1.2.3.5:1773, ...
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
143 }
e4878d93 » nap
2009-12-08 Put shinken specific objects into their own file
144
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
145 # Poller daemon process declaration
146 #
147 # The poller is responsible for :
148 # * active data acquisition
149 # * local passive data acquisition
e4878d93 » nap
2009-12-08 Put shinken specific objects into their own file
150
151 define poller{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
152 poller_name poller-1
153 address localhost
154 port 7771
2297144c » nap
2010-06-04 *a HUGE clean on shinken-specific.cfg file.
155
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
156 # optional
157 manage_sub_realms 0 ; optional and advanced: does it take jobs from schedulers of sub realms?
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
158 min_workers 0 ; optional: starts with N worker processes. 0 means: "number of cpus"
159 max_workers 0 ; optional: no more than N worker processes. 0 means: "number of cpus"
160 processes_by_worker 256 ; optional: each worker manages 256 checks
161 polling_interval 1 ; optional: get jobs from schedulers each 1 second
162 timeout 3 ; 'ping' timeout
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
163 data_timeout 120 ; 'data send' timeout
164 check_interval 60 ; ping it every minute
165 max_check_attempts 3 ; if at least max_check_attempts ping failed, the node is DEAD
745cd19a » Gabes Jean
2010-11-02 Clean : clean output so we can have good test from log output only.
166
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
167 # Modules currently active :
168 # modules NrpeBooster,CommandFile
169
170 # Modules available for pollers :
171 # NRPE Booster : will skip the use of check_nrpe binary
172 # and use its own daemonized NRPE process to acquire data from remote hosts running an NRPE agent.
173 # CommandFile : can allow a nagios.cmd named pipe to be read by the
174 # poller. This permits the use of distributed check_mk checks should you desire it.
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
175
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
176 # advanced options
177 # poller_tags None
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
178 realm All
e4878d93 » nap
2009-12-08 Put shinken specific objects into their own file
179 }
180
181
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
182 # Reactionner daemon process declaration
183 #
184 # The reactionner is responsible for :
185 # * executing notification actions
186 # * executing event handler actions
cbf55a60 »
2011-09-16 Add : local log for the arbiter.
187
2297144c » nap
2010-06-04 *a HUGE clean on shinken-specific.cfg file.
188 define reactionner{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
189 reactionner_name reactionner-1
190 address localhost
191 port 7769
192 spare 0
d95b5ccf » Gabes Jean
2011-04-01 Add : set a check_interval to satellites, so we do not try every seco…
193
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
194 # optional
195 manage_sub_realms 0 ; optional: like for poller
196 min_workers 1 ; optional: like for poller
197 max_workers 15 ; optional: like for poller
198 polling_interval 1 ; optional: like for poller
2297144c » nap
2010-06-04 *a HUGE clean on shinken-specific.cfg file.
199
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
200 timeout 3 ; 'ping' timeout
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
201 data_timeout 120 ; 'data send' timeout
202 check_interval 60 ; ping it every minute
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
203 max_check_attempts 3 ; if at least max_check_attempts ping failed, the node is DEAD
86323dae » nap
2010-01-18 *Add the Arbiters in conf (Arbiterlinks in code). So now the shinken-…
204
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
205 # Modules currently active :
030cab35 »
2011-10-31 *Fix : module_type got not give to notification. Not good.
206
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
207 # Modules available for reactionners :
208 # modules AndroidSMS
209
210 # advanced options
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
211 realm All
212 }
030cab35 »
2011-10-31 *Fix : module_type got not give to notification. Not good.
213
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
214 # Broker daemon process declaration
215 #
216 # The broker is responsible for :
217 # * exporting status data from Shinken
218 # * exporting performance data from Shinken
219 # * exposing Shinken APIs
220 # * Status data
221 # * performance data
222 # * configuration data
223 # * command interface
224 #
225 # This sample configuration uses only log and status.dat file modules
2297144c » nap
2010-06-04 *a HUGE clean on shinken-specific.cfg file.
226 define broker{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
227 broker_name broker-1
228 address localhost
229 port 7772
230 spare 0
2297144c » nap
2010-06-04 *a HUGE clean on shinken-specific.cfg file.
231
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
232 # Modules currently active :
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
233 modules Livestatus, Simple-log, WebUI
98d25bce »
2011-06-17 Add : a way so we can mix shinken and nagios/icinga ndo modules in th…
234
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
235 # Modules available for brokers :
236 # PickleRetentionBroker : save data when quitting
237 # ToNdodb_Mysql : NDO database support
238 # NPCDMOD : Use the PNP addon
239 # Graphite-Perfdata : Use a Graphite time series database for perfdata
240 # WebUI : Shinken Web interface
34b5edaf »
2011-09-13 Add : AD module that will get user photos from Ldap.
241
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
242 # optional
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
243 manage_sub_realms 1 ; optional, like for poller
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
244 manage_arbiters 1 ; optional: take data from Arbiter. There should be
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
245 ; only one broker for the arbiter
f4c6c837 » zoranzaric
2010-10-24 Removes trailing spaces.
246
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
247 check_interval 60 ; ping it every minute
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
248 timeout 3 ; 'ping' timeout
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
249 data_timeout 120 ; 'data send' timeout
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
250 max_check_attempts 3 ; if at least max_check_attempts ping failed, the node is DEAD
745cd19a » Gabes Jean
2010-11-02 Clean : clean output so we can have good test from log output only.
251
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
252 # advanced
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
253 realm All
254 }
afeed9f8 » nap
2010-02-09 *Add the Arbiter spare managment : an arbiter is master, the other is…
255
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
256 # #################################################
257 # Section 2 - Shinken daemon process broker modules
258 # #################################################
afeed9f8 » nap
2010-02-09 *Add the Arbiter spare managment : an arbiter is master, the other is…
259
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
260 # Now the modules for the broker. The first 2 that are used in this sample configuration.
86323dae » nap
2010-01-18 *Add the Arbiters in conf (Arbiterlinks in code). So now the shinken-…
261
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
262 # The log management for ALL daemons (all in one log, cool isn't it? ).
2297144c » nap
2010-06-04 *a HUGE clean on shinken-specific.cfg file.
263 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
264 module_name Simple-log
265 module_type simple_log
266 path nagios.log
267 archive_path archives/
2297144c » nap
2010-06-04 *a HUGE clean on shinken-specific.cfg file.
268 }
86323dae » nap
2010-01-18 *Add the Arbiters in conf (Arbiterlinks in code). So now the shinken-…
269
270
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
271 # Status.dat and objects.cache export. For the old Nagios interface
2297144c » nap
2010-06-04 *a HUGE clean on shinken-specific.cfg file.
272 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
273 module_name Status-Dat
274 module_type status_dat
275 status_file status.dat
276 object_cache_file objects.cache
277 status_update_interval 15 ; update status.dat every 15s
2297144c » nap
2010-06-04 *a HUGE clean on shinken-specific.cfg file.
278 }
86323dae » nap
2010-01-18 *Add the Arbiters in conf (Arbiterlinks in code). So now the shinken-…
279
8645d534 » Nicolas DUPEUX
2012-02-03 Fix comments of WebUI modules
280 # The WebUI broker module
45799054 »
2011-07-20 Add : the webui as a broker module. Was more easier than I thought.
281 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
282 module_name WebUI
283 module_type webui
284
285 host 0.0.0.0 ; all interfaces
286 port 7767
287
288 share_dir share
4c15e218 »
2011-09-12 Add : example in the Webui module conf for http_backend.
289
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
290 # IMPORTANT: Change this value or someone may forge cookies!
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
291 auth_secret CHANGE_ME
308bbc59 »
2012-05-25 Add : skonf/hostd/webui move the sample image sets to the share direc…
292
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
293 # Allow or not the html characters in plugins output
294 # WARNING: it can be a security issue
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
295 allow_html_output 0
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
296 # Take contact acl. Put 0 will allow actions for all contacts
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
297 manage_acl 1
7a43ee2a »
2011-09-16 Add : new way of handling cookies. Now it's a crypted way, and so sta…
298
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
299 # Uncomment to present a text in the login form
300 #login_text Welcome on Shinken WebUI.
30cfe631 »
2011-11-08 Add : allow_html_output parameter for the WebUI
301
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
302 #***** Advanced options. Do not touch it if you don't
303 # know what you are doing ****
4c15e218 »
2011-09-12 Add : example in the Webui module conf for http_backend.
304
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
305 #http_backend auto
306 # ; can be also: wsgiref, cherrypy, paste, tornado, twisted
307 # ; or gevent. auto means it tries to find the best available in the system.
4c15e218 »
2011-09-12 Add : example in the Webui module conf for http_backend.
308
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
309 # Maybe the WebUI is behind a web server which has already authentified the user
310 # So let's use the Remote_user variable
311 # See documentation for an example of the configuration of Apache in front of the WebUI
312 #remote_user_enable 1
313 #remote_user_variable X_Remote_User
4c15e218 »
2011-09-12 Add : example in the Webui module conf for http_backend.
314
32b68cd4 » olivierHa
2012-01-03 Enh: Add External Authentification for WebUI
315
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
316 # Modules for the WebUI.
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
317 # - Apache_passwd: use an Apache htpasswd files for auth
318 # - ActiveDir_UI: use AD for auth and photo collect
319 # - Cfg_password: use passwords in contacts configuration for auth
320 # - PNP_UI: Use PNP graphs in the UI
321 # - GRAPHITE_UI: Use graphs from Graphite
322 # - Mongodb: save user preferences to a Mongodb database
323 modules Apache_passwd,ActiveDir_UI,Cfg_password,PNP_UI,Mongodb
929c0e52 »
2011-09-13 Add : missing auth.tpl file and add module load in the webui module.
324
325 }
326
8645d534 » Nicolas DUPEUX
2012-02-03 Fix comments of WebUI modules
327 # Check authentification for WebUI using a Active Directory
929c0e52 »
2011-09-13 Add : missing auth.tpl file and add module load in the webui module.
328 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
329 module_name ActiveDir_UI
330 module_type ad_webui
331 # UNCOMMENT this line to really enable this module and allow it to connect!
332 #ldap_uri ldaps://myserver
333 # you must use user@domain or a full dn such as CN=user,DC=domain,DC=tld
334 username user@domain
335 password password
336 basedn DC=google,DC=com
b2d21587 »
2011-09-14 Add : ldap authentification with AD.
337
45799054 »
2011-07-20 Add : the webui as a broker module. Was more easier than I thought.
338 }
339
340
8645d534 » Nicolas DUPEUX
2012-02-03 Fix comments of WebUI modules
341 # Check authentification for WebUI using a apache password file
a2edcaef »
2011-09-13 Add : UI auth can now be done with an apache passwd file.
342 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
343 module_name Apache_passwd
344 module_type passwd_webui
a2edcaef »
2011-09-13 Add : UI auth can now be done with an apache passwd file.
345
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
346 # WARNING: use the full PATH here!
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
347 passwd /etc/shinken/htpasswd.users
a2edcaef »
2011-09-13 Add : UI auth can now be done with an apache passwd file.
348 }
349
350
8645d534 » Nicolas DUPEUX
2012-02-03 Fix comments of WebUI modules
351 # Check authentification for WebUI using password parameter in contact definition
1fd4c09e »
2011-09-16 *Add : in cfg file password for users
352 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
353 module_name Cfg_password
354 module_type cfg_password_webui
1fd4c09e »
2011-09-16 *Add : in cfg file password for users
355 }
356
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
357 # Poller can have a nrpe module: commands tagged with
358 # nrpe_poller as module_type will be managed by this module.
359 # it will bypass the launch of check_nrpe, and will do the
360 # connection itself.
361 define module{
362 module_name NrpeBooster
363 module_type nrpe_poller
364 }
1fd4c09e »
2011-09-16 *Add : in cfg file password for users
365
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
366 # All other modules that can be called if you have installed the
367 # databases, or if you want to test something else :)
e4878d93 » nap
2009-12-08 Put shinken specific objects into their own file
368
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
369 # The NDO/MySQL module
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
370 # So you can use with NagVis or Centreon
c99c3336 » nap
2010-01-04 *Rename plugins into modules
371 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
372 module_name ToNdodb_Mysql
373 module_type ndodb_mysql
374 database ndo ; database name
375 user root ; user of the database
376 password root ; must be changed
377 host localhost ; host to connect to
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
378 character_set utf8 ; optional, utf8 is the default
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
379 port 3306 ; mysql port
380 prefix nagios_ ; prefix for ndo tables
98d25bce »
2011-06-17 Add : a way so we can mix shinken and nagios/icinga ndo modules in th…
381
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
382 # If you want to mix Shinken AND Nagios/icinga in the same db
383 # enable this. It will use in database instance_id, and not use the shinken ones
384 # override/delete other ones. It can slow a little the performance
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
385 synchronize_database_id 0
f4c6c837 » zoranzaric
2010-10-24 Removes trailing spaces.
386 }
e4878d93 » nap
2009-12-08 Put shinken specific objects into their own file
387
491aa7e9 » david-guenault
2012-05-16 Started to implement canopsis broker module (not usable this is just …
388 # canospis broker module
389 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
390 module_name Canopsis
391 module_type canopsis
392 host localhost ; host to connect to
393 port 5672 ; rabbitmq port
394 user guest ; must be changed
395 password guest ; must be changed
396 virtual_host canopsis
397 exchange_name canopsis.events
398 identifier shinken-1 ; need a unique indentifier because there should be more than on shinken in canopsis
399 maxqueuelength 50000 ; maximum event stored in queue when connection with canopsis is lost
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
400 queue_dump_frequency 300 ; frequency (in seconds) on wich the queue is saved for retention
491aa7e9 » david-guenault
2012-05-16 Started to implement canopsis broker module (not usable this is just …
401 }
e4878d93 » nap
2009-12-08 Put shinken specific objects into their own file
402
020e21dd » xkilian
2012-02-03 English style changes and small comment corrections.
403 # Here is the NDO/Oracle module. For Icinga web connection
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
404 # Or for DBAs who don't like MySQL
c99c3336 » nap
2010-01-04 *Rename plugins into modules
405 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
406 module_name ToNdodb_Oracle
407 module_type ndodb_oracle
408 database XE ;database name (listener in fact)
409 user system ;user to connect
410 password password ;Yes I know I have to change my default password...
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
411 oracle_home /usr/lib/oracle/xe/app/oracle/product/10.2.0/server ; optional, but can be useful
2297144c » nap
2010-06-04 *a HUGE clean on shinken-specific.cfg file.
412 }
e4878d93 » nap
2009-12-08 Put shinken specific objects into their own file
413
463bcfba » nap
2010-01-28 *Remove some propeties from broks that cause pb with deepcopy
414
020e21dd » xkilian
2012-02-03 English style changes and small comment corrections.
415 # Here is the Merlin/MySQL module. For the Ninja interface connection
c99c3336 » nap
2010-01-04 *Rename plugins into modules
416 define module{
417 module_name ToMerlindb_Mysql
463bcfba » nap
2010-01-28 *Remove some propeties from broks that cause pb with deepcopy
418 module_type merlindb
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
419 backend mysql ; backend to use, here mysql databse
420 database merlin ; database name
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
421 user root ; ? .. yes, the user of the database...
422 password root ; wtf? you ask?
423 host localhost ; host of the database
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
424 character_set utf8 ; optional, utf8 is the default
e4878d93 » nap
2009-12-08 Put shinken specific objects into their own file
425 }
426
463bcfba » nap
2010-01-28 *Remove some propeties from broks that cause pb with deepcopy
427
020e21dd » xkilian
2012-02-03 English style changes and small comment corrections.
428 # Here is the Merlin/Sqlite module. No one uses it now :)
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
429 # You look at something: it's also the merlindb module, like the
430 # previous, it's the same code, only the backend parameter (and path,
431 # of course ;-) has changed.
c99c3336 » nap
2010-01-04 *Rename plugins into modules
432 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
433 module_name ToMerlindb_Sqlite
434 module_type merlindb
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
435 backend sqlite ; like the mysql, but sqlite :)
436 database_path /tmp/merlindb.sqlite ; path of the sqlite file
3e3ee5d0 » nap
2010-01-04 *Add the merlin db support in sqlite
437 }
438
2297144c » nap
2010-06-04 *a HUGE clean on shinken-specific.cfg file.
439
020e21dd » xkilian
2012-02-03 English style changes and small comment corrections.
440 # Here is the couchdb export module. Not commonly used.
441 # Other NoSQL databases may be possible, such as MongoDB, it depends on user demand. :)
c99c3336 » nap
2010-01-04 *Rename plugins into modules
442 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
443 module_name ToCouchdb
444 module_type couchdb
445 user root
446 password root
447 host localhost
fa1236aa » nap
2009-12-17 *Add a first couchdb plugin. Couchdb is a document database server. A…
448 }
449
450
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
451 # Export services perfdata to flat file. For centreon or perfparse
c99c3336 » nap
2010-01-04 *Rename plugins into modules
452 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
453 module_name Service-Perfdata
454 module_type service_perfdata
455 path service-perfdata
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
456 #mode a ; optional. a = append, w = overwrite, p =pipe
457 #template $LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\t$SERVICESTATE$\n
e4878d93 » nap
2009-12-08 Put shinken specific objects into their own file
458 }
459
299bf64f » nap
2010-01-04 Add a host perfdata module.
460
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
461 # For hosts this time
462 # like the previous, but for hosts...
299bf64f » nap
2010-01-04 Add a host perfdata module.
463 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
464 module_name Host-Perfdata
465 module_type host_perfdata
466 path host-perfdata
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
467 #mode a ; optional. a = append, w = overwrite, p =pipe
468 #template $LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTOUTPUT$\t$HOSTSTATE$\t$HOSTPERFDATA$\n
1a34dfd9 » Gabes Jean
2010-10-12 Add: template and more for host perf data module.
469
d2bf0d7a » nap
2010-01-18 *Bug fixes : services groups in ndo/MySQL/Oracle and in couchdb raise…
470 }
471
472
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
473 # Graphite is a time series database with a rich web service
474 # interface, viewed as modern alternative to RRDtool
475 # http://graphite.wikidot.com/start
107fb530 »
2011-10-25 Add: Graphite broker backend to export perfdata.
476 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
477 module_name Graphite-Perfdata
478 module_type graphite_perfdata
479 host localhost
480 port 2003
107fb530 »
2011-10-25 Add: Graphite broker backend to export perfdata.
481 }
482
0e9a5ea2 »
2011-10-28 Add : Graphite graph backend.
483
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
484 # Use PNP graphs in the WebUI
0e9a5ea2 »
2011-10-28 Add : Graphite graph backend.
485 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
486 module_name GRAPHITE_UI
487 module_type graphite_webui
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
488 uri http://YOURSERVERNAME/ ; put the real PNP uri here. YOURSERVERNAME
489 ; replaced by the hostname of the server
40ee2cb3 » h4wkmoon
2012-06-27 Use the new folder "graphite" for graphite templates.
490 templates_path /usr/local/shinken/share/templates/graphite/
47ef77b9 » h4wkmoon
2012-04-02 Update etc/shinken-specific.cfg
491
0e9a5ea2 »
2011-10-28 Add : Graphite graph backend.
492 }
493
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
494 # LIVESTATUS API to get states access
456c501d » lausser
2010-05-12 *Add a livestatus broker definition to shinken-specific.cfg
495 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
496 module_name Livestatus
497 module_type livestatus
498 host * ; * = listen on all configured ip addresses
499 port 50000 ; port to listen
500 # uncomment the socket line if you want to open
501 # an unix socket for the connection
502 #socket /usr/local/shinken/var/rw/live
503 modules logsqlite
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
504
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
505 # Available modules:
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
506 # - logsqlite: send logs to a local sqlite database
507 # - mongologs: send logs to a mongodb database
b40fa5a2 »
2012-03-27 Fix : LS/log in mongodb now work with old pymongo versions.
508
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
509 # Only set debug if you're having problems with this module
510 #debug /tmp/ls.debug
511 # Set to 1 if you want to dump queries/responses too
512 # WARNING: it is very verbose
513 #debug_queries 0
a32967a7 » root
2012-01-23 NON WORKING : seems there is a problem with pymongo module
514 }
89c2bd1a »
2012-04-27 Add : now LS and WebUI can be linked to the scheduler directly, and t…
515
516
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
517 # Put the logs in a sqlite database, and so LS can query them
a32967a7 » root
2012-01-23 NON WORKING : seems there is a problem with pymongo module
518 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
519 module_name logsqlite
520 module_type logstore_sqlite
521 database_file /usr/local/shinken/var/livelogs.db
522 max_logs_age 3m ; three months. Other time intervals are d=days, w=weeks, y=years
a32967a7 » root
2012-01-23 NON WORKING : seems there is a problem with pymongo module
523 }
b40fa5a2 »
2012-03-27 Fix : LS/log in mongodb now work with old pymongo versions.
524
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
525 # Same with a Mongodb database
a32967a7 » root
2012-01-23 NON WORKING : seems there is a problem with pymongo module
526 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
527 module_name mongologs
528 module_type logstore_mongodb
529 mongodb_uri mongodb://localhost/?safe=true
a32967a7 » root
2012-01-23 NON WORKING : seems there is a problem with pymongo module
530 }
531
456c501d » lausser
2010-05-12 *Add a livestatus broker definition to shinken-specific.cfg
532
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
533 # Send all logs to syslog
ffbd460c » Gabes Jean
2010-09-30 Add: syslog broker module and catch from global parameter.
534 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
535 module_name Syslog
536 module_type syslog
ffbd460c » Gabes Jean
2010-09-30 Add: syslog broker module and catch from global parameter.
537 }
538
539
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
540 # Module to send perfdata to a NPCD daemon. This last one
541 # should be launched.
bd6a3b36 » Gabes Jean
2010-10-28 Add : conf sample for PNP integration.
542 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
543 module_name NPCDMOD
544 module_type npcdmod
545 config_file /usr/local/pnp4nagios/etc/npcd.cfg
bd6a3b36 » Gabes Jean
2010-10-28 Add : conf sample for PNP integration.
546 }
547
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
548 # Use PNP graphs in the WebUI
671dea0f »
2011-10-27 Add : UI PNP module. Need to put graph call in a graph modules too.
549 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
550 module_name PNP_UI
551 module_type pnp_webui
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
552 uri http://YOURSERVERNAME/pnp4nagios/ ; put the real PNP uri here. YOURSERVERNAME
553 ; will be replaced by the hostname of the server
1d87bb72 » ddurieux
2011-09-16 Update config
554 }
555
2297144c » nap
2010-06-04 *a HUGE clean on shinken-specific.cfg file.
556
34e1f640 » Gabes Jean
2010-09-23 *Add : first arbiter module : load from GLPI with webservices (xmlrpc)!
557
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
558 #---- For the schedulers
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
559 # Now the good flat file for retention module
17a7a16c » Gabes Jean
2010-10-29 Add: missing module example in the configuration.
560 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
561 module_name PickleRetention
562 module_type pickle_retention_file_generic
563 path /tmp/retention.dat
17a7a16c » Gabes Jean
2010-10-29 Add: missing module example in the configuration.
564 }
565
566
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
567 # Now the good flat file for retention module
b65be373 » Gabes Jean
2011-03-14 Add : pickle retention module for the broker.
568 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
569 module_name PickleRetentionBroker
570 module_type pickle_retention_file_generic
571 path /tmp/retention_broker.dat
b65be373 » Gabes Jean
2011-03-14 Add : pickle retention module for the broker.
572 }
573
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
574 # Now the good flat file for retention module
1d7d9327 » Gabes Jean
2011-03-14 * Fix : remove hook_late_configuration from BaseModule, if a module d…
575 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
576 module_name PickleRetentionArbiter
577 module_type pickle_retention_file_generic
578 path /tmp/retention_arbiter.dat
1d7d9327 » Gabes Jean
2011-03-14 * Fix : remove hook_late_configuration from BaseModule, if a module d…
579 }
580
b65be373 » Gabes Jean
2011-03-14 Add : pickle retention module for the broker.
581
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
582 #---- For the schedulers
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
583 # Now the good flat file for retention module
295cb71f » Gabes Jean
2010-11-17 Add: first version of a Nagios retention load file :) Just load, not …
584 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
585 module_name NagiosRetention
586 module_type nagios_retention_file
587 path /tmp/retention-nagios.dat
295cb71f » Gabes Jean
2010-11-17 Add: first version of a Nagios retention load file :) Just load, not …
588 }
589
590
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
591 # A Mongodb retention module for the scheduler
ab4e7978 »
2012-01-20 Add : mongodb retention module.
592 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
593 module_name MongodbRetention
594 module_type mongodb_retention
595 uri mongodb://localhost/?safe=true
596 database shinken
ab4e7978 »
2012-01-20 Add : mongodb retention module.
597 }
598
599
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
600 # Now the memcache one
601 # Now the good flat file for retention module
17a7a16c » Gabes Jean
2010-10-29 Add: missing module example in the configuration.
602 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
603 module_name MemcacheRetention
604 module_type memcache_retention
605 server 127.0.0.1
606 port 11211
17a7a16c » Gabes Jean
2010-10-29 Add: missing module example in the configuration.
607 }
608
609
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
610 # And the redis one
611 # Now the good flat file for retention module
c25f871e » Gabes Jean
2010-11-04 Add: redis retention module like the memcache but with... a redis ser…
612 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
613 module_name RedisRetention
614 module_type redis_retention
615 server 127.0.0.1
c25f871e » Gabes Jean
2010-11-04 Add: redis retention module like the memcache but with... a redis ser…
616 }
617
618
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
619 # The old namaed pipe way from Nagios
70d3a505 » Gabes Jean
2011-03-23 Add : named pipe module, so now nagios.cmd can be distributed with re…
620 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
621 module_name CommandFile
622 module_type named_pipe
623 command_file rw/nagios.cmd
70d3a505 » Gabes Jean
2011-03-23 Add : named pipe module, so now nagios.cmd can be distributed with re…
624 }
625
17a7a16c » Gabes Jean
2010-10-29 Add: missing module example in the configuration.
626
422cf7b9 »
2012-04-20 Add : First try of a collectd module that transform collectd metrics …
627 # Collectd receiver for the Arbiter/receiver
628 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
629 module_name Collectd
630 module_type collectd
422cf7b9 »
2012-04-20 Add : First try of a collectd module that transform collectd metrics …
631 }
632
633
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
634 # You know GLPI? You can load all configuration from this app (with
635 # the webservices plugins for GLPI, in xmlrpc mode and with plugin
636 # monitoring for GLPI)
637 # =============== Work with Plugin Monitoring of GLPI ===============
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
638 # All configuration read from this will be added to the others of the
639 # standard flat file
9aaa0b1e » ddurieux
2011-05-31 Add config for GLPI module arbiter in config
640 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
641 module_name GLPI
642 module_type glpi
643 uri http://localhost/glpi/plugins/webservices/xmlrpc.php
644 login_name glpi
645 login_password glpi
646 tag
9aaa0b1e » ddurieux
2011-05-31 Add config for GLPI module arbiter in config
647 }
648
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
649 # send into GLPI DB, it's a BROKER MODULE!
650 # =============== Work with Plugin Monitoring of GLPI ===============
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
651 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
652 module_name glpidb
653 module_type glpidb
654 database glpi ; database name
655 user root ; database user
656 password root ; must be changed
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
657 host localhost ; host to connect to
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
658 }
9aaa0b1e » ddurieux
2011-05-31 Add config for GLPI module arbiter in config
659
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
660
661
662
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
663 # This module can be call by:
664 # Arbiter: Read objects in a mongodb database (like hosts or services)
665 # WebUI : save/read user preferences
65266b72 »
2012-01-13 Add : mongodb insert capabilities for the discovery.
666 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
667 module_name Mongodb
668 module_type mongodb
669 uri mongodb://localhost/?safe=true
670 database shinken
65266b72 »
2012-01-13 Add : mongodb insert capabilities for the discovery.
671 }
672
673
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
674 # You know NSCA? You can send check results to Shinken
675 # using send_nsca command
b1cafe3e » vaxvms
2010-10-20 Add an NSCA server as an arbiter module
676 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
677 module_name NSCA
678 module_type nsca_server
679 host *
680 port 5667
681 encryption_method 1
682 password helloworld
b1cafe3e » vaxvms
2010-10-20 Add an NSCA server as an arbiter module
683 }
684
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
685 # This module implements TSCA, a thrift interface to submit check results
76a8f398 » Nicolas DUPEUX
2011-07-11 Configuration sample for TSCA
686 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
687 module_name TSCA
688 module_type tsca_server
689 host *
690 port 9090
76a8f398 » Nicolas DUPEUX
2011-07-11 Configuration sample for TSCA
691 }
34e1f640 » Gabes Jean
2010-09-23 *Add : first arbiter module : load from GLPI with webservices (xmlrpc)!
692
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
693 # You know VMWare? It's cool to VMotion VM, but after it's hard to
694 # follow host dependencies when it moves. With this module, you can
695 # just lookup at the vcenter from time to time and update dependencies
f0d6008d » Gabes Jean
2011-01-27 Add : first laste configuration arbiter module. Here links between VM…
696 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
697 module_name VMWare_auto_linking
698 module_type hot_dependencies
699 mapping_file /tmp/vmware_mapping_file.json
700 mapping_command /usr/local/shinken/libexec/link_vmware_host_vm.py -x '/usr/local/shinken/libexec/check_esx3.pl' -V 'vcenter.mydomain.com' -u 'admin' -p 'secret' -r 'lower|nofqdn' -o /tmp/vmware_mapping_file.json
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
701 mapping_command_interval 60 ; optional
702 mapping_command_timeout 300 ; optional
703
704 # Only useful if you want debug output. Can be verbose for large
705 # installations
706 #debug 1
f0d6008d » Gabes Jean
2011-01-27 Add : first laste configuration arbiter module. Here links between VM…
707 }
708
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
709 # Another way to update dependencies is to update a flat file
710 # See some examples to do that in the python script
2b8d5598 » olivierHa
2011-10-28 add module to deal with flat file dependencies
711 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
712 module_name External_auto_linking
713 module_type hot_dependencies
714 mapping_file /tmp/external_mapping_file.json
715 mapping_command /usr/local/shinken/libexec/external_mapping.py -i /tmp/shinken_flat_mapping -o /tmp/external_mapping_file.json
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
716 mapping_command_interval 60 ; optional
717 mapping_command_timeout 300 ; optional
2b8d5598 » olivierHa
2011-10-28 add module to deal with flat file dependencies
718 }
719
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
720 # Arbiter module to change on the fly a poller tag of a
721 # command by another.
722 # Useful when you use a fixed configuration tool that doesn't allow you
723 # to configure poller_tag.
ff5fce1a » Gabes Jean
2011-02-07 Add : sample of hack_commands_poller_tag
724 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
725 module_name HackCommandsPollerTag
726 module_type hack_commands_poller_tag
727 cmd_line_match (.*)check_esx3(.*)
728 poller_tag esx3
ff5fce1a » Gabes Jean
2011-02-07 Add : sample of hack_commands_poller_tag
729 }
34e1f640 » Gabes Jean
2010-09-23 *Add : first arbiter module : load from GLPI with webservices (xmlrpc)!
730
87f0f63d »
2011-09-30 Add : module for autotagging polelr_tag from a custom macro.
731
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
732 # Arbiter module to change on the fly a poller tag of hosts
733 # and services by search a custom macro
734 # Useful when you use a fixed configuration tool that doesn't allow you
735 # to configure poller_tag.
87f0f63d »
2011-09-30 Add : module for autotagging polelr_tag from a custom macro.
736 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
737 module_name HackPollerTagByMacros
738 module_type hack_poller_tag_by_macros
739 host_macro_name _poller_tag
740 service_macro_name _poller_tag
87f0f63d »
2011-09-30 Add : module for autotagging polelr_tag from a custom macro.
741 }
742
743
00843473 » olivierHa
2012-02-01 Enh: Add host/service dependencies and contactgroups
744 # Hosts, Services, Contacts and Dependencies configuration can be pulled from a MySQL database
745 # All hosts,services,contacts and dependencies read from the database will be added to the others of the
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
746 # standard flat file.
00843473 » olivierHa
2012-02-01 Enh: Add host/service dependencies and contactgroups
747 # You can easily use an existing database, you just have to define the queries to suit your database
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
748 # It can be a useful module to use for HA too :)
8e428de2 » olivierHa
2011-05-24 Fix indentation and add config example for mysql hosts/services import
749 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
750 module_name MySQLImport
751 module_type mysql_import
752 host localhost
753 login root
754 password azerty
755 database supervision
756 reqhosts SELECT host_name, alias, realm, address ,template AS 'use' FROM hosts
757 reqservices SELECT host_name, service_description, normal_check_interval, check_command ,template AS 'use' FROM services
758 reqcontacts SELECT contact_name, email, template AS 'use' FROM contacts
759 reqcontactgroups SELECT contactgroup_name, members FROM contactgroups
760 reqhostdependencies SELECT host_name, dependent_host_name, notification_failure_criteria FROM hostdependencies
761 reqservicedependencies SELECT host_name, service_description, dependent_host_name, dependent_service_description, execution_failure_criteria, notification_failure_criteria FROM servicedependencies
762 reqrealms SELECT realm_name, realm_members, `default` FROM realms
763 reqschedulers SELECT scheduler_name, address, port, spare, realm, modules FROM schedulers
764 reqpollers SELECT poller_name, address, port, spare, realm, manage_sub_realms, poller_tags, modules FROM pollers
765 reqreactionners SELECT reactionner_name, address, port, spare, realm, manage_sub_realms, modules FROM reactionners
766 reqbrokers SELECT broker_name, address, port, spare, realm, manage_sub_realms, modules FROM brokers
767 reqreceivers SELECT receiver_name, address, port, spare, realm, manage_sub_realms, modules FROM receivers
8e428de2 » olivierHa
2011-05-24 Fix indentation and add config example for mysql hosts/services import
768 }
769
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
770 # Will "tag" hosts by looking at their hostadress, and find the IP.
771 #
772 # If the IP is in the address range defined below, it will apply the property with
773 # the value as if the line
e6c14d3c »
2012-01-30 Fix : get back LS on the 50K port by default. + some comments fiexes.
774 # property value
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
775 # was in the definition of the host.
776 # Method: replace or append
777 # - replace will put the value if not another one is in place
778 # - append will add with a , if a value already exist
cdf000a6 »
2011-12-16 Add : ip_tag module for change property by looking at the hostip rang…
779 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
780 module_name IpTag
781 module_type ip_tag
782 ip_range 127.0.0.0/30
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
783 property poller_tag ; property to modify
784 value LOCAL ; value to append resp. use
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
785
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
786 # optional
787 method replace ; either replace or append
cdf000a6 »
2011-12-16 Add : ip_tag module for change property by looking at the hostip rang…
788 }
789
790
891dc23b »
2012-03-23 Add : webservice module for the arbiter. From now only the push check…
791
792 # WebService module for the arbiter so you can send (POST)
793 # passive checks to it :)
794 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
795 module_name WS_Arbiter
796 module_type ws_arbiter
797 host 0.0.0.0
798 port 7760
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
799 username anonymous ; if you want auth, change anonymous and
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
800 #password secret ; uncomment the password line
891dc23b »
2012-03-23 Add : webservice module for the arbiter. From now only the push check…
801 }
802
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
803 # #################################################
804 # Section 3 - Shinken Realm management
805 # #################################################
a14f5322 » Gabes Jean
2010-12-07 Fix : missing alive property in the arbtier link object.
806
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
807 # Advanced feature for multisite management.
808 # Read the documentation VERY CAREFULLY before changing these settings
e4878d93 » nap
2009-12-08 Put shinken specific objects into their own file
809 define realm{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
810 realm_name All
811 default 1
e4878d93 » nap
2009-12-08 Put shinken specific objects into their own file
812 }
16e103fa » Gabes Jean
2010-09-10 *Add : test for resultmodulation
813
9e20db8d » xkilian
2012-07-08 Reorganize Configuration file in sections. More consistent layout. Cl…
814 # #################################################
815 # Section 4 - Sample configurations
816 # #################################################
16e103fa » Gabes Jean
2010-09-10 *Add : test for resultmodulation
817
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
818 # Sample of an android SMS reactionner.
819 # 2 requirements:
820 # * modules AndroidSMS: so you will load SMS sending code
821 # * reactionner_tags android_sms: so ONLY commands with this tag will
822 # be sent to this reactionner, no mail things.
823 #define reactionner{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
824 # reactionner_name reactionner-Android
825 # address WIFI-IP-OF-YOUR-ANDROID-PHONE
826 # port 7769
827 # spare 0
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
828 #
829 # timeout 3 ; 'ping' timeout
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
830 # data_timeout 120 ; 'data send' timeout
831 # check_interval 60 ; ping it every minute
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
832 # max_check_attempts 3 ; if at least max_check_attempts ping failed, the node is DEAD
833 #
834 # # Modules
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
835 # modules AndroidSMS
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
836 #
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
837 # reactionner_tags android_sms
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
838 #
839 # # optional
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
840 # realm All
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
841 #}
2565a959 »
2011-10-31 Enh : better SMS things definitions.
842
843
4873bc10 » htgoebel
2012-07-04 Clean-up comments (issue #99), files in etc/ (except packs)
844 # Reactionner can be launched under an android device
845 # and can be used to send SMS with this module
2565a959 »
2011-10-31 Enh : better SMS things definitions.
846 define module{
7752cff3 » mfussenegger
2012-06-25 fix tab/whitespace mix in config files
847 module_name AndroidSMS
848 module_type android_sms
2565a959 »
2011-10-31 Enh : better SMS things definitions.
849 }
850
b75518ba »
2011-11-04 Enh : when there is a dispatching problem, the arbiter send and send …
851
852
853
854
Something went wrong with that request. Please try again.