-
Notifications
You must be signed in to change notification settings - Fork 16
Database Setup
There are two supported database configurations for using the syslog plugin. The internal database will use the main cacti configuration settings to obtain the database connection. The external database requires that all database parameters are edited and set though the database can reside on the same server as cacti's database.
In this setup you only need to make sure that the following is set within the syslog config.php
file. Note, do not edit the cacti configuration file.
$use_cacti_db = true;
To make use of an external database either local or remote, make sure you set $use_cacti_db
to false and specify the database connection details. The default connection settings are shown below and should be edited within the syslog config.php
$use_cacti_db = false;
if (!$use_cacti_db) {
$syslogdb_type = 'mysql';
$syslogdb_default = 'syslog';
$syslogdb_hostname = 'localhost';
$syslogdb_username = 'cactiuser';
$syslogdb_password = 'cactiuser';
$syslogdb_port = 3306;```
Again, do not edit the Cacti configuration file.
Copyright (C) 2004-2018 The Cacti Group