1 #The log managment for ALL daemons (all in one log, cool isn't it? ).
5 path /dev/shm/nagios.log
9 #Status.dat and objects.cache export. For the old Nagios
12 module_name Status-Dat
13 module_type status_dat
14 status_file /usr/local/shinken/var/status.data
15 object_cache_file /usr/local/shinken/var/objects.cache
16 status_update_interval 15 ; update status.dat every 15s
19 ##All other modules thtat can be called if you have installed
20 #the databses, or if you want to test something else :)
22 #Here the NDO/MySQL module
23 #So you can use with NagVis or Centreon
25 module_name ToNdodb_Mysql
26 module_type ndodb_mysql
27 database ndo ; database name
28 user root ; user of the database
29 password root ; must be changed
30 host localhost ; host to connect to
31 character_set utf8 ;optionnal, UTF8 is the default
35 #Here a NDO/Oracle module. For Icinga web connexion
36 #Or for DBA that do not like MySQL
38 module_name ToNdodb_Oracle
39 module_type ndodb_oracle
40 database XE ;database name (listener in fact)
41 user system ;user to connect
42 password password ;Yes I know I have to change my default password...
43 oracle_home /usr/lib/oracle/xe/app/oracle/product/10.2.0/server ;optional, but can be useful
47 #Here for Merlin/MySQL. For the cool Ninja connexion
49 module_name ToMerlindb_Mysql
51 backend mysql ;backend to use, here mysql databse
52 database merlin ;database name
53 user root ; ? .. yes, the user of the database...
54 password root ; wtf? you ask?
55 host localhost ; host of the database
56 character_set utf8 ;optionnal, UTF8 is the default
60 #Here the Merlin/Sqlite. No one use it for now :)
61 #You look at something : it's also the merlindb module, like the previous,
62 #it's the same code, it's just the backend parameter that change (and path).
64 module_name ToMerlindb_Sqlite
66 backend sqlite ;like the mysql, but sqlite :)
67 database_path /usr/local/shinken/var/merlindb.sqlite ;path of the sqlite file
71 #Here the couchdb export. Maybe use one day...
72 #I should do a mangodb too one day...
75 #and all other NoSQL database in fact :)
85 #Export services perfdata to flat file. for centreon or
88 module_name Service-Perfdata
89 module_type service_perfdata
90 path /usr/local/shinken/var/service-perfdata
95 #like the previous, but for hosts....
97 module_name Host-Perfdata
98 module_type host_perfdata
99 path /usr/local/shinken/var/host-perfdata
103 #You know livestatus? Yes, there a Livestatus module for shinken too :)
105 module_name Livestatus
106 module_type livestatus
107 host * ; * = listen on all configured ip addresses
108 port 50000 ; port to listen