Files
spine/spine.conf.dist
Thomas VincentandnetniV ff36da7ac8 fix: resolve content issues in spine.c, configure.ac, spine.conf.dist, and Copilot instructions (#437)
Fixes #438

Four targeted content fixes:

1. **spine.c**: replace `[WHERE?]` placeholder in doxygen comment and
expand `--help` output to list the actual spine.conf search order:
current directory, /etc/, /etc/cacti/, ../etc/.

2. **configure.ac**: raise AC_PREREQ from 2.63 to 2.69; remove obsolete
macros no longer needed in C99 builds (AC_C_CONST, AC_HEADER_TIME,
AC_STRUCT_TM, RETSIGTYPE block).

3. **spine.conf.dist**: document SNMP_Clientaddr, DB_SSL_Verify, and
RDB_SSL_Verify in the header comment block and add them as commented
example lines in the settings section.

4. **.github/instructions/instructions.md**: replace generic blueprint
template with spine-specific Copilot instructions (C99/POSIX, pthreads,
net-snmp, libmariadb, autotools, CI, commit conventions).

No behaviour changes. man page content improves automatically via
help2man.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
Co-authored-by: netniV <netniv@hotmail.com>
2026-03-11 20:39:14 +00:00

65 lines
3.5 KiB
Plaintext

# +-------------------------------------------------------------------------+
# | Copyright (C) 2004-2026 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, implementation 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 |
# | Cacti_Log Optional path to the Cacti log file |
# +-------------------------------------------------------------------------+
# | 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 localhost
DB_Database cacti
DB_User cactiuser
DB_Pass cactiuser
DB_Port 3306
#DB_UseSSL 0
#DB_SSL_Key
#DB_SSL_Cert
#DB_SSL_CA
#SNMP_Clientaddr
#Cacti_Log /var/www/html/cacti/log/cacti.log
#RDB_Host localhost
#RDB_Database cacti
#RDB_User cactiuser
#RDB_Pass cactiuser
#RDB_Port 3306
#RDB_UseSSL 0
#RDB_SSL_Key
#RDB_SSL_Cert
#RDB_SSL_CA