wysedata

config.php

Sep 8th, 2020
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. <?php
  2.  
  3. ## Have a look in includes/defaults.inc.php for examples of settings you can set here. DO NOT EDIT defaults.inc.php!
  4.  
  5. ### Database config
  6. $config['db_host'] = 'localhost';
  7. $config['db_user'] = 'librenms';
  8. $config['db_pass'] = 'D42nf23rewD';
  9. $config['db_name'] = 'librenms';
  10.  
  11. // This is the user LibreNMS will run as
  12. //Please ensure this user is created and has the correct permissions to your install
  13. $config['user'] = 'librenms';
  14.  
  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'] = "/";
  18.  
  19. ### Enable this to use rrdcached. Be sure rrd_dir is within the rrdcached dir
  20. ### and that your web server has permission to talk to rrdcached.
  21. $config['rrdcached'] = "unix:/var/run/rrdcached.sock";
  22.  
  23. ### Default community
  24. $config['snmp']['community'] = array('public');
  25.  
  26. ### Authentication Model
  27. $config['auth_mechanism'] = "mysql"; # default, other options: ldap, http-auth
  28. #$config['http_auth_guest'] = "guest"; # remember to configure this user if you use http-auth
  29.  
  30. ### List of RFC1918 networks to allow scanning-based discovery
  31. #$config['nets'][] = "10.0.0.0/8";
  32. #$config['nets'][] = "172.16.0.0/12";
  33. #$config['nets'][] = "192.168.0.0/16";
  34.  
  35. # Uncomment the next line to disable daily updates
  36. #$config['update'] = 0;
  37.  
  38. # Number in days of how long to keep old rrd files. 0 disables this feature
  39. $config['rrd_purge'] = 0;
  40.  
  41. # Uncomment to submit callback stats via proxy
  42. #$config['callback_proxy'] = "hostname:port";
  43.  
  44. # Set default port association mode for new devices (default: ifIndex)
  45. #$config['default_port_association_mode'] = 'ifIndex';
  46.  
  47. # Enable the in-built billing extension
  48. $config['enable_billing'] = 1;
  49.  
  50. # Enable the in-built services support (Nagios plugins)
  51. $config['show_services'] = 1;
  52. $config["rrdcached"] = "unix:/var/run/rrdcached/rrdcached.sock";
  53. $config["update_channel"] = "release";
  54. $config["enable_syslog"] = 1;
Add Comment
Please, Sign In to add comment