Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. Oxidized Config:
  2.  
  3. ---
  4. source:
  5. default: http
  6. debug: true
  7. http:
  8. url: http://127.0.0.1/api/v0/oxidized
  9. map:
  10. name: hostname
  11. model: os
  12. group: group
  13. headers:
  14. X-Auth-Token: 'XXX'
  15. input:
  16. default: ssh
  17. output:
  18. default: git
  19. git:
  20. user: Oxidized
  21. email: o@example.com
  22. repo: "/var/lib/oxidized/git-repos/default.git"
  23. groups:
  24. core:
  25. username: dave
  26. password: xxx
  27. access:
  28. username: netadmin
  29. password: xxx
  30. firewall:
  31. username: dave.bell
  32. password: xxx
  33. vars:
  34. enable: xxx
  35. model_map:
  36. iosxe: ios
  37. vars:
  38. remove_secret: true
  39. rest: 0.0.0.0:8888
  40.  
  41. librenms config:
  42. $config['oxidized']['enabled'] = TRUE;
  43. $config['oxidized']['url'] = 'http://127.0.0.1:8888';
  44. $config['oxidized']['features']['versioning'] = true;
  45. $config['oxidized']['group_support'] = true;
  46. $config['oxidized']['default_group'] = 'access';
  47. $config['oxidized']['reload_nodes'] = true;
  48.  
  49. $config['oxidized']['group']['hostname'][] = array('regex' => '/-afw-/', 'group' => 'firewall');
  50. $config['oxidized']['group']['hostname'][] = array('regex' => '/-mfw-/', 'group' => 'firewall');
  51. $config['oxidized']['group']['hostname'][] = array('regex' => '/^slo-/', 'group' => 'core');
  52. $config['oxidized']['group']['hostname'][] = array('regex' => '/^bra-asw/', 'group' => 'access');
  53. $config['oxidized']['group']['hostname'][] = array('regex' => '/^bra-/', 'group' => 'core');
  54.  
  55. $config['oxidized']['ignore_types'] = array('server')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement