The ossec-dbd daemon inserts the alert logs into a database, either postgresql or mysql. ossec-dbd is configured in ossec.conf. (see ossec.conf: Database Output options)

ossec-dbd argument options

-c <config>

Run ossec-dbd using <config> as the configuration file.

Default: /var/ossec/etc/ossec.conf

-D <dir>

Chroot to <dir>.

Default: /var/ossec


Execute ossec-dbd in debug mode. This option can be used multiple times to increase the verbosity of the debug messages.


Run ossec-dbd in the foreground.

-g <group>

Run ossec-dbd as <group>.


Display the help message.


Test configuration.

-u <user>

Run ossec-dbd as <user>.

Default: ossecm


Version and license information.