ansible role to deploy librenms on debian
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.php.j2 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ?php
  2. ## Have a look in defaults.inc.php for examples of settings you can set here. DO NOT EDIT defaults.inc.php!
  3. ### Database config
  4. $config['db_host'] = '{{librenms_db_host}}';
  5. $config['db_port'] = '{{librenms_db_port}}';
  6. $config['db_user'] = '{{librenms_db_user}}';
  7. $config['db_pass'] = '{{librenms_db_pass}}';
  8. $config['db_name'] = '{{librenms_db_name}}';
  9. $config['db_socket'] = '';
  10. // This is the user LibreNMS will run as
  11. //Please ensure this user is created and has the correct permissions to your install
  12. $config['user'] = '{{librenms_user}}';
  13. ### Locations - it is recommended to keep the default
  14. #$config['install_dir'] = "{{librenms_home}}";
  15. ### This should *only* be set if you want to *force* a particular hostname/port
  16. ### It will prevent the web interface being usable form any other hostname
  17. #$config['base_url'] = "http://librenms.company.com";
  18. ### Enable this to use rrdcached. Be sure rrd_dir is within the rrdcached dir
  19. ### and that your web server has permission to talk to rrdcached.
  20. #$config['rrdcached'] = "unix:/var/run/rrdcached.sock";
  21. ### Default community
  22. $config['snmp']['community'] = array("public");
  23. ### Authentication Model
  24. $config['auth_mechanism'] = "mysql"; # default, other options: ldap, http-auth
  25. #$config['http_auth_guest'] = "guest"; # remember to configure this user if you use http-auth
  26. ### List of RFC1918 networks to allow scanning-based discovery
  27. #$config['nets'][] = "10.0.0.0/8";
  28. #$config['nets'][] = "172.16.0.0/12";
  29. #$config['nets'][] = "192.168.0.0/16";
  30. # Update configuration
  31. #$config['update_channel'] = 'release'; # uncomment to follow the monthly release channel
  32. #$config['update'] = 0; # uncomment to completely disable updates