From nivek90, 5 Years ago, written in YAML.
Embed
  1.  
  2. ---
  3. resolve_dns: false
  4. interval: 3600
  5. use_syslog: false
  6. debug: false
  7. threads: 30
  8. timeout: 20
  9. retries: 2
  10. prompt: !ruby/regexp  /^\(?.+\)?\s?[#>]/
  11. rest: 192.168.195.57:8888
  12. next_adds_job: false
  13. #vars:
  14.  # enable: enable
  15. groups: {}
  16. models: {}
  17. pid: "/home/oxidized/.config/oxidized/pid"
  18. crash:
  19.   directory: "/home/oxidized/.config/oxidized/crashes"
  20.   hostnames: false
  21. stats:
  22.   history_size: 10
  23. input:
  24.   default: ssh
  25.   debug: "/home/oxidized/.config/oxidized/log_input"
  26.   ssh:
  27.     secure: false
  28.   ftp:
  29.     passive: true
  30.   utf8_encoded: true
  31. output:
  32.   default: git
  33.   git:
  34.     user: oxidized
  35.     email: oxidized@example.com
  36.     #single_repo: true
  37.     repo: /home/oxidized/.config/oxidized/devices.git
  38. management ssh:
  39.    auth_methods: none, publickey, password, keyboard-interactive
  40. source:
  41.   default: http
  42.   debug: false
  43.   http:
  44.     url: http://192.168.195.57/api/v0/oxidized
  45. source:
  46.   default: csv
  47.   csv:
  48.     file: /home/oxidized/.config/oxidized/router.db
  49.     delimiter: !ruby/regexp /:/
  50.     map:
  51.       name: 0
  52.       ip: 1
  53.       model: 2
  54.       group: 3
  55.     vars_map:
  56.       enable: 4
  57. model_map:
  58.   Juniper: junos
  59.   A10: acos
  60.   VSP7K: VSP7K
  61.   VSP7K_: VSP7K_
  62.   VSP8K2: VSP8K2
  63.   VSP8K4: VSP8K4
  64.   VSP9K: VSP9K
  65.   ERS2550: ERS2550
  66.   ERS3549: ERS3549
  67.   ERS4850: ERS4850
  68.   Palo: panos
  69. groups:
  70.    palo:
  71.      username: admin
  72.      password: admin
  73.    Juniper:
  74.      username: rancid
  75.      password: admin
  76.    VSP7K:
  77.      username: rancid
  78.      password: dicnar
  79.    A10:
  80.      username: rancid
  81.      password: dicnar
  82.    VSP7K_:
  83.      username: nettverk
  84.      password: HarmoniX
  85.    ERS4850:
  86.      username: nettverk
  87.      password: admin
  88.    VSP8K4:
  89.      username: nettverk
  90.      password: HarmoniX
  91.    VSP8K2:
  92.      username: rancid
  93.      password: admin2
  94.    VSP9K:
  95.      username: nettverk
  96.      password: admin
  97.    ERS2550:
  98.      username: oob
  99.      password: admin3
  100.    ERS3549:
  101.      username: oob
  102.      password: admin3
  103. hooks:
  104.  post-commit:
  105.   type: exec
  106.   events: [node_success, post_store]
  107.   cmd: 'cd /home/oxidized/.config/oxidized/devices.git && git push -f -q /home/oxidized/.config/oxidized/devices.git master'
  108.