alarms.conf 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # netdata python.d.plugin configuration for example
  2. #
  3. # This file is in YaML format. Generally the format is:
  4. #
  5. # name: value
  6. #
  7. # There are 2 sections:
  8. # - global variables
  9. # - one or more JOBS
  10. #
  11. # JOBS allow you to collect values from multiple sources.
  12. # Each source will have its own set of charts.
  13. #
  14. # JOB parameters have to be indented (using spaces only, example below).
  15. # ----------------------------------------------------------------------
  16. # Global Variables
  17. # These variables set the defaults for all JOBs, however each JOB
  18. # may define its own, overriding the defaults.
  19. # update_every sets the default data collection frequency.
  20. # If unset, the python.d.plugin default is used.
  21. # update_every: 10
  22. # priority controls the order of charts at the netdata dashboard.
  23. # Lower numbers move the charts towards the top of the page.
  24. # If unset, the default for python.d.plugin is used.
  25. # priority: 60000
  26. # penalty indicates whether to apply penalty to update_every in case of failures.
  27. # Penalty will increase every 5 failed updates in a row. Maximum penalty is 10 minutes.
  28. # penalty: yes
  29. # autodetection_retry sets the job re-check interval in seconds.
  30. # The job is not deleted if check fails.
  31. # Attempts to start the job are made once every autodetection_retry.
  32. # This feature is disabled by default.
  33. # autodetection_retry: 0
  34. # ----------------------------------------------------------------------
  35. # JOBS (data collection sources)
  36. # what url to pull data from
  37. local:
  38. url: 'http://127.0.0.1:19999/api/v1/alarms?all'
  39. # define how to map alarm status to numbers for the chart
  40. status_map:
  41. CLEAR: 0
  42. WARNING: 1
  43. CRITICAL: 2
  44. # set to true to include a chart with calculated alarm values over time
  45. collect_alarm_values: false
  46. # define the type of chart for plotting status over time e.g. 'line' or 'stacked'
  47. alarm_status_chart_type: 'line'
  48. # a "," separated list of words you want to filter alarm names for. For example 'cpu,load' would filter for only
  49. # alarms with "cpu" or "load" in alarm name. Default includes all.
  50. alarm_contains_words: ''
  51. # a "," separated list of words you want to exclude based on alarm name. For example 'cpu,load' would exclude
  52. # all alarms with "cpu" or "load" in alarm name. Default excludes None.
  53. alarm_excludes_words: ''