Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  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.  
  4. ### Database config
  5. $config['db_host'] = 'localhost';
  6. $config['db_port'] = '3306';
  7. $config['db_user'] = '--redacted--';
  8. $config['db_pass'] = '--redacted--';
  9. $config['db_name'] = '--redacted--';
  10. $config['db_socket'] = '';
  11.  
  12. // This is the user LibreNMS will run as
  13. //Please ensure this user is created and has the correct permissions to your install
  14. $config['user'] = '--redacted--';
  15.  
  16. ### Memcached config - We use this to store realtime usage
  17. $config['memcached']['enable'] = FALSE;
  18. $config['memcached']['host'] = "localhost";
  19. $config['memcached']['port'] = 11211;
  20.  
  21. ### Default community
  22. $config['snmp']['community'] = array("UMTSERV");
  23.  
  24. ### Authentication Model
  25. $config['auth_mechanism'] = "mysql"; # default, other options: ldap, http-auth
  26. #$config['http_auth_guest'] = "guest"; # remember to configure this user if you use http-auth
  27.  
  28.  
  29. $config['fping'] = "/usr/sbin/fping";
  30.  
  31. $config['show_services'] = 1;
  32. $config['nagios_plugins'] = "/usr/lib64/nagios/plugins";
  33.  
  34. $config['whois'] = "/usr/bin/whois";
  35. $config['ping'] = "/bin/ping";
  36. $config['mtr'] = "/usr/bin/mtr";
  37. $config['nmap'] = "/usr/bin/nmap";
  38. $config['ipmitool'] = "/usr/bin/ipmitool";
  39. $config['virsh'] = "/usr/bin/virsh";
  40. $config['dot'] = "/usr/bin/dot";
  41. $config['unflatten'] = "/usr/bin/unflatten";
  42. $config['neato'] = "/usr/bin/neato";
  43. $config['sfdp'] = "/usr/bin/sfdp";
  44.  
  45. $config['site_style'] = "light";
  46.  
  47. #ignore mountpoints
  48. $config['ignore_mount_removable'] = 1;
  49. #$config['ignore_mount_network'] = 1;
  50. $config['ignore_mount_optical'] = 1;
  51.  
  52. $config['ignore_mount'][] = "/kern";
  53. $config['ignore_mount'][] = "/mnt/cdrom";
  54. $config['ignore_mount'][] = "/proc";
  55. $config['ignore_mount'][] = "/dev";
  56.  
  57. $config['ignore_mount_string'][] = "packages";
  58. $config['ignore_mount_string'][] = "devfs";
  59. $config['ignore_mount_string'][] = "procfs";
  60. $config['ignore_mount_string'][] = "UMA";
  61. $config['ignore_mount_string'][] = "MALLOC";
  62.  
  63. $config['ignore_mount_regexp'][] = "/on: \/packages/";
  64. $config['ignore_mount_regexp'][] = "/on: \/dev/";
  65. $config['ignore_mount_regexp'][] = "/on: \/proc/";
  66. $config['ignore_mount_regexp'][] = "/on: \/junos^/";
  67. $config['ignore_mount_regexp'][] = "/on: \/junos\/dev/";
  68. $config['ignore_mount_regexp'][] = "/on: \/jail\/dev/";
  69. $config['ignore_mount_regexp'][] = "/^(dev|proc)fs/";
  70. $config['ignore_mount_regexp'][] = "/^\/dev\/md0/";
  71. $config['ignore_mount_regexp'][] = "/^\/var\/dhcpd\/dev,/";
  72. $config['ignore_mount_regexp'][] = "/UMA/";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement