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