This file is indexed.

/usr/share/cacti/conf_templates/spine.conf.dbconfig is in cacti-spine 1.1.35-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# +-------------------------------------------------------------------------+
# | Copyright (C) 2004-2017 The Cacti Group                                 |
# |                                                                         |
# | This program is free software; you can redistribute it and/or           |
# | modify it under the terms of the GNU Lesser General Public License      |
# | as published by the Free Software Foundation; either version 2.1        |
# | of the License, or (at your option) any later version.                  |
# |                                                                         |
# | This program is distributed in the hope that it will be useful,         |
# | but WITHOUT ANY WARRANTY; without even the implied warranty of          |
# | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           |
# | GNU General Public License for more details.                            |
# +-------------------------------------------------------------------------+
# | spine: a backend data gatherer for Cacti                                |
# +-------------------------------------------------------------------------+
# | This poller would not have been possible without:                       |
# |   - Larry Adams (current development and enhancements)                  |
# |   - Rivo Nurges (rrd support, mysql poller cache, misc functions)       |
# |   - RTG (core poller code, pthreads, snmp, autoconf examples)           |
# |   - Brady Alleman/Doug Warner (threading ideas, implimentation details) |
# +-------------------------------------------------------------------------+
# | Settings                                                                |
# +-------------------------------------------------------------------------+
# | DB_Host         'localhost' or socket file for UNIX/Linux               |
# |                 IP Address for Windows                                  |
# | DB_Database     Database name, typically 'cacti'                        |
# | DB_Port         The database port to use                                |
# | DB_User         The user to access the database, typically 'cactiuser'  |
# | DB_Pass         The password for the Cacti user                         |
# | SNMP_Clientaddr Bind SNMP to a specific address for sites that use      |
# |                 higher security levels                                  |
# +-------------------------------------------------------------------------+
# | Settings for Remote Polling                                             |
# +-------------------------------------------------------------------------+
# | RDB_Host        The remote database hostname.                           |
# | RDB_Database    The remote database name, typically 'cacti'             |
# | RDB_Port        The remote database port to use                         |
# | RDB_User        The remote database user, typically 'cactiuser'         |
# | RDB_Pass        The remote database password.                           |
# +-------------------------------------------------------------------------+

DB_Host         _DBC_DBSERVER_
DB_Database     _DBC_DBNAME_
DB_User         _DBC_DBUSER_
DB_Pass         _DBC_DBPASS_
DB_Port         _DBC_DBPORT_

RDB_Host        _DBC_DBSERVER_
RDB_Database    _DBC_DBNAME_
RDB_User        _DBC_DBUSER_
RDB_Pass        _DBC_DBPASS_
RDB_Port        _DBC_DBPORT_