config.sample.php 767 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. if (!defined("CONFIG"))die("Not defined");
  3. setlocale(LC_ALL, 'ru_RU.UTF8');
  4. define("HTML_LANG","russian");
  5. define("HTML_STYLE","white");
  6. define("DB_HOST","localhost");
  7. //db_type => mysql OR pgsql
  8. define("DB_TYPE","db_type");
  9. define("DB_NAME","stat");
  10. define("DB_USER","user");
  11. define("DB_PASS","password");
  12. define("CACTI_DB_HOST","localhost");
  13. define("CACTI_DB_NAME","cacti");
  14. define("CACTI_DB_USER","");
  15. define("CACTI_DB_PASS","");
  16. define("IPCAM_GROUP_ID","5");
  17. #snmp timeout in microsecond
  18. define("SNMP_timeout","500000");
  19. #snmp retry after timeout
  20. define("SNMP_retry","1");
  21. #crypt config - CHANGE IT!!!
  22. define("ENCRYPTION_KEY","!!!CHANGE_ME!!!");
  23. define("ENCRYPTION_IV","123456782345");
  24. #session timeout, sec
  25. define("SESSION_LIFETIME","86400");
  26. ?>