This file is indexed.

/etc/icinga-web/conf.d/databases.xml is in icinga-web 1.11.2+dfsg1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version="1.0" encoding="UTF-8"?>
<!--
    databases.xml
    Defines which databases to use to store internal icinga-data and where to request icinga monitoring status from
    
    Have a look on app/config/databases.xml for configuration examples.
    
    http://docs.icinga.org/latest/de/icinga-web-config.html#configweb-databases
    https://wiki.icinga.org/display/howtos/databases.xml
-->

	
<databases xmlns:db="http://agavi.org/agavi/config/parts/databases/1.0" xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0">


    <!-- comment this if you do not want to use debconf with dbconfig-common -->
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="/etc/icinga-web/conf.d/database-web.xml#xpointer(databases/node())">
        <xi:fallback></xi:fallback>
    </xi:include>

    <!-- 
    Overwrite the icinga-web database (where users, roles, views, etc are stored 
    -->
    <!--
    <db:database name="icinga_web" class="AppKitDoctrineDatabase">
         <ae:parameter name="dsn">mysql://icinga_web:icinga_web@localhost:3306/icinga_web</ae:parameter>

        <ae:parameter name="charset">utf8</ae:parameter>
        <ae:parameter name="manager_attributes">
            <ae:parameter name="Doctrine_Core::ATTR_MODEL_LOADING">CONSERVATIVE</ae:parameter>
        </ae:parameter>
        
        <ae:parameter name="load_models">%core.module_dir%/AppKit/lib/database/models/generated</ae:parameter>
        <ae:parameter name="models_directory">%core.module_dir%/AppKit/lib/database/models</ae:parameter>				
        <ae:parameter name="date_format"><![CDATA[YYYY-MM-DD HH24:MI:SS]]></ae:parameter>
    

        <ae:parameter name="caching">
            <ae:parameter name="enabled">false</ae:parameter>
            <ae:parameter name="driver">apc</ae:parameter>
            <ae:parameter name="use_query_cache">true</ae:parameter>
            <ae:parameter name="use_result_cache">true</ae:parameter>
            <ae:parameter name="result_cache_lifespan">60</ae:parameter>
        </ae:parameter>		
        
    </db:database>
    -->

    <!-- comment this if you do not want to use debconf with dbconfig-common for the IDO database -->
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="/etc/icinga-web/conf.d/database-ido.xml#xpointer(databases/node())">
        <xi:fallback></xi:fallback>
    </xi:include>

    <!-- 
        Overwrite the default database conneciton for icinga data retrieval
        Make sure to use IcingaDoctrineDatabase, otherwise the use_retained parameter will be ignored
        EXAMPLE (oracle needs icingaOracle as the db driver) 
    -->
    <!--
    <db:database xmlns="http://agavi.org/agavi/config/parts/databases/1.0" name="icinga" class="IcingaDoctrineDatabase">
        <ae:parameter name="dsn">mysql://icinga:icinga@localhost:3306/icinga</ae:parameter>
        <ae:parameter name="prefix">icinga_</ae:parameter>
        <ae:parameter name="charset">utf8</ae:parameter>
        <ae:parameter name="use_retained">true</ae:parameter>
        <ae:parameter name="date_format"><![CDATA[YYYY-MM-DD HH24:MI:SS]]></ae:parameter>
        <ae:parameter name="manager_attributes">
            <ae:parameter name="Doctrine_Core::ATTR_MODEL_LOADING">CONSERVATIVE</ae:parameter>
        </ae:parameter>
        <ae:parameter name="load_models">%core.module_dir%/Api/lib/database/models/generated</ae:parameter>
        <ae:parameter name="models_directory">%core.module_dir%/Api/lib/database/models</ae:parameter>				
        <ae:parameter name="caching">  
            <ae:parameter name="enabled">false</ae:parameter>
            <ae:parameter name="driver">apc</ae:parameter>
            <ae:parameter name="use_query_cache">true</ae:parameter>
        </ae:parameter>

    </db:database>

    -->
    
</databases>