1 #The log managment for ALL daemons (all in one log, cool isn't it? ).
10 #Status.dat and objects.cache export. For the old Nagios
13 module_name Status-Dat
14 module_type status_dat
15 status_file /usr/local/shinken/var/status.data
16 object_cache_file /usr/local/shinken/var/objects.cache
17 status_update_interval 15 ; update status.dat every 15s
20 ##All other modules thtat can be called if you have installed
21 #the databses, or if you want to test something else :)
23 #Here the NDO/MySQL module
24 #So you can use with NagVis or Centreon
26 module_name ToNdodb_Mysql
27 module_type ndodb_mysql
28 database ndo ; database name
29 user root ; user of the database
30 password root ; must be changed
31 host localhost ; host to connect to
32 character_set utf8 ;optionnal, UTF8 is the default
36 #Here a NDO/Oracle module. For Icinga web connexion
37 #Or for DBA that do not like MySQL
39 module_name ToNdodb_Oracle
40 module_type ndodb_oracle
41 database XE ;database name (listener in fact)
42 user system ;user to connect
43 password password ;Yes I know I have to change my default password...
44 oracle_home /usr/lib/oracle/xe/app/oracle/product/10.2.0/server ;optional, but can be useful
48 #Here for Merlin/MySQL. For the cool Ninja connexion
50 module_name ToMerlindb_Mysql
52 backend mysql ;backend to use, here mysql databse
53 database merlin ;database name
54 user root ; ? .. yes, the user of the database...
55 password root ; wtf? you ask?
56 host localhost ; host of the database
57 character_set utf8 ;optionnal, UTF8 is the default
61 #Here the Merlin/Sqlite. No one use it for now :)
62 #You look at something : it's also the merlindb module, like the previous,
63 #it's the same code, it's just the backend parameter that change (and path).
65 module_name ToMerlindb_Sqlite
67 backend sqlite ;like the mysql, but sqlite :)
68 database_path /usr/local/shinken/var/merlindb.sqlite ;path of the sqlite file
72 #Here the couchdb export. Maybe use one day...
73 #I should do a mangodb too one day...
76 #and all other NoSQL database in fact :)
86 #Export services perfdata to flat file. for centreon or
89 module_name Service-Perfdata
90 module_type service_perfdata
91 path tmp/service-perfdata
92 mode a ;optionnal. Here append
93 template $LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICESTATE$\t$SERVICEPERFDATA$\n
98 #like the previous, but for hosts....
100 module_name Host-Perfdata
101 module_type host_perfdata
102 path tmp/host-perfdata
103 mode a ;optionna. Here append
104 template $LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTOUTPUT$\t$HOSTSTATE$\t$HOSTPERFDATA$\n
108 #You know livestatus? Yes, there a Livestatus module for shinken too :)
110 module_name Livestatus
111 module_type livestatus
112 host * ; * = listen on all configured ip addresses
113 port 50000 ; port to listen