ospatrol.conf: Database Output options¶
Overview¶
Supported types¶
Database Output options are available in the the following installation types:
- server
- local
Location¶
All database_output options must be configured in the /var/ospatrol/etc/ospatrol.conf and used within the <ospatrol_config> tag.
XML excerpt to show location:
<ospatrol_config>
<database_output>
<!--
Database Output options here
-->
</database_output>
</ospatrol_config>
Options¶
- database_output¶
- hostname¶
IP Address of the database server.
Allowed: any valid IP address
- username¶
Username to access the database.
Allowed: Any Valid Username
- password¶
Password to access the database.
Allowed: Any Password
- database¶
Database name to store the alerts.
Allowed: database name
- type¶
Type of database (Mysql or PostgreSQL).
Note
OSPatrol must be compiled with the database type that is to be used.
Allowed: mysql/postgresql