<?xml version="1.0" encoding="UTF-8"?>
<ae:configurations xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0"   xmlns="http://icinga.org/icinga/config/global/api/views/1.0">
    <ae:configuration>
        <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
            href="views/contactgroups.xml"
            xpointer="xmlns(ae=http://agavi.org/agavi/config/global/envelope/1.0)
                xmlns(default=http://icinga.org/icinga/config/global/api/views/1.0)
                xpointer(//ae:configurations//ae:configuration/node())"
        />       

        <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
            href="views/notifications.xml"
            xpointer="xmlns(ae=http://agavi.org/agavi/config/global/envelope/1.0)
                xmlns(default=http://icinga.org/icinga/config/global/api/views/1.0)
                xpointer(//ae:configurations//ae:configuration/node())"
        />

        <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
            href="views/service.xml"
            xpointer="xmlns(ae=http://agavi.org/agavi/config/global/envelope/1.0)
                xmlns(default=http://icinga.org/icinga/config/global/api/views/1.0)
                xpointer(//ae:configurations//ae:configuration/node())"
        />

        <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
            href="views/host.xml"
            xpointer="xmlns(ae=http://agavi.org/agavi/config/global/envelope/1.0)
                xmlns(default=http://icinga.org/icinga/config/global/api/views/1.0)
                xpointer(//ae:configurations//ae:configuration/node())"
        />

         <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
            href="views/servicegroups.xml"
            xpointer="xmlns(ae=http://agavi.org/agavi/config/global/envelope/1.0)
                xmlns(default=http://icinga.org/icinga/config/global/api/views/1.0)
                xpointer(//ae:configurations//ae:configuration/node())"
        />

         <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
            href="views/hostgroups.xml"
            xpointer="xmlns(ae=http://agavi.org/agavi/config/global/envelope/1.0)
                xmlns(default=http://icinga.org/icinga/config/global/api/views/1.0)
                xpointer(//ae:configurations//ae:configuration/node())"
        />

        <!-- Views displaying historical data (servicehistory, hosthistory) -->
        <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
            href="views/histories.xml"
            xpointer="xmlns(ae=http://agavi.org/agavi/config/global/envelope/1.0)
                xmlns(default=http://icinga.org/icinga/config/global/api/views/1.0)
                xpointer(//ae:configurations//ae:configuration/node())" />

        <!-- views for overviewcronks -->
        <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
            href="views/overview.xml"
            xpointer="xmlns(ae=http://agavi.org/agavi/config/global/envelope/1.0)
                xmlns(default=http://icinga.org/icinga/config/global/api/views/1.0)
                xpointer(//ae:configurations//ae:configuration/node())"
        />

        <!-- Misceallaneous views like instance, downtimes -->
        <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
            href="views/misc.xml"
            xpointer="xmlns(ae=http://agavi.org/agavi/config/global/envelope/1.0)
                xmlns(default=http://icinga.org/icinga/config/global/api/views/1.0)
                xpointer(//ae:configurations//ae:configuration/node())"
        />

        <!-- User defined views in conf.d -->
        <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 
            href="/var/www/icinga-web/etc/conf.d/views.xml"
            xpointer="xmlns(ae=http://agavi.org/agavi/config/global/envelope/1.0)
                xmlns(default=http://icinga.org/icinga/config/global/api/views/1.0)
                xpointer(//ae:configurations//ae:configuration/node())"
        >
            <xi:fallback></xi:fallback>
        </xi:include>
    </ae:configuration>
</ae:configurations>
