.. _ossec-dbd: ossec-dbd ============= The ``ossec-dbd`` daemon inserts the alert logs into a database, either postgresql or mysql. ``ossec-dbd`` is configured in ossec.conf. (see :ref:`ossec_config.database_output`) ossec-dbd argument options ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. program:: ossec-dbd .. option:: -c Run ``ossec-dbd`` using as the configuration file. **Default:** /var/ossec/etc/ossec.conf .. option:: -D Chroot to . **Default:** /var/ossec .. option:: -d Execute ossec-dbd in debug mode. This option can be used multiple times to increase the verbosity of the debug messages. .. option:: -f Run ``ossec-dbd`` in the foreground. .. option:: -g Run ``ossec-dbd`` as . .. option:: -h Display the help message. .. option:: -t Test configuration. .. option:: -u Run ``ossec-dbd`` as . **Default:** ossecm .. option:: -V Version and license information.