<!--
 This library is free software; you can redistribute it and/or modify
 it under the terms of version 2.1 of the GNU Lesser General Public
 License as published by the Free Software Foundation.

 This library is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
 USA.

 Copyright (C) 2011, 2012 Nicira, Inc.
-->

<collect>
    <directory label="ovsdb-backups" filters="ovs" pattern=".*/conf.db.backup[0-9][^/]*$">/etc/openvswitch</directory>
    <directory label="ovsdb-backups2" filters="ovs" pattern=".*/conf.db.backup[0-9][^/]*$">/var/lib/openvswitch</directory>
    <command label="system_memory_status" filters="ovs">df -h</command>
    <command label="check_number_of_pmds" filters="ovs">ovs-appctl dpif-netdev/pmd-stats-show | grep pmd</command>
    <command label="ovs-appctl-vlog-list" filters="ovs">ovs-appctl vlog/list</command>
    <command label="journalctl" filters="ovs">journalctl</command>
    <command label="user_limits" filters="ovs">ulimit -a</command>
    <files filters="ovs">
        /var/log/syslog
        /var/log/daemon.log
        /var/log/upstart/libvirt-bin.log
        /var/log/upstart/ndevalarm.log
        /var/log/upstart/nova-compute.log
        /var/log/upstart/neutron-plugin-openvswitch-agent.log
        /var/log/upstart/openvswitch-switch.log
        /var/log/messages*
        /var/log/secure
        /var/log/dmesg*
    </files>
</collect>
