The ossec-dbd program inserts the alert logs into a database. These alerts can be inserted into either postgresql or mysql.

-c <config>

Run using <config> as the configuration file.

Default value


-D <dir>

Chroot to <dir>

Default value



Run in debug mode. This option may be repeated to increase the verbosity of the debug messages.


Run in the foreground.

-g <group>

Run as a group.


Display the help message.


Test configuration.

-u <user>

Run as a specific user.

Default value



Display the version and license information