config.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. probes:
  2. - name: latency
  3. type: std_fping
  4. output:
  5. - vodka
  6. public_dns:
  7. hosts:
  8. - host: 8.8.8.8
  9. name: Google
  10. color: red
  11. - host: 4.2.2.1
  12. name: Level(3)
  13. color: blue
  14. - host: 208.67.222.222
  15. name: OpenDNS
  16. color: orange
  17. raspis:
  18. hosts:
  19. - host: 192.168.178.49
  20. name: Blaubeere
  21. color: red
  22. - host: 192.168.178.43
  23. name: Himbeere
  24. color: blue
  25. plugins:
  26. - name: std_fping
  27. type: fping
  28. count: 10
  29. interval: 3s
  30. output:
  31. - vodka
  32. - name: vodka
  33. type: vodka
  34. logging:
  35. version: 1
  36. formatters:
  37. simple:
  38. format: '%(asctime)s - %(name)s - %(levelname)s: %(message)s'
  39. handlers:
  40. console:
  41. class: logging.StreamHandler
  42. level: DEBUG
  43. formatter: simple
  44. stream: ext://sys.stdout
  45. loggers:
  46. vodka:
  47. level: DEBUG
  48. handlers:
  49. - console
  50. data:
  51. - type: fping
  52. handlers:
  53. - type: index
  54. index: host
  55. - type: store
  56. container: list
  57. limit: 500
  58. apps:
  59. graphsrv:
  60. tmpl_engine: jinja2
  61. enabled: true
  62. graphs:
  63. multitarget:
  64. id_field: host
  65. type: multitarget
  66. plot_y: avg
  67. format_y: ms
  68. smokestack:
  69. id_field: host
  70. type: smokestack
  71. plot_y: avg
  72. plugins:
  73. - name: http
  74. type: flask
  75. host: 0.0.0.0
  76. port: 7021
  77. debug: true
  78. static_url_path: /static
  79. server: self
  80. async: thread
  81. routes:
  82. /targets : graphsrv->targets
  83. /graph_data :
  84. methods:
  85. - POST
  86. - GET
  87. target: graphsrv->graph_data
  88. /graph : graphsrv->graph_view
  89. /overview_read_file : graphsrv->overview_read_file
  90. /: graphsrv->overview_view