metadata.yaml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. plugin_name: python.d.plugin
  2. modules:
  3. - meta:
  4. plugin_name: python.d.plugin
  5. module_name: exim
  6. monitored_instance:
  7. name: Exim
  8. link: "https://www.exim.org/"
  9. categories:
  10. - data-collection.mail-servers
  11. icon_filename: "exim.jpg"
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ""
  17. keywords:
  18. - exim
  19. - mail
  20. - server
  21. most_popular: false
  22. overview:
  23. data_collection:
  24. metrics_description: "This collector monitors Exim mail queue."
  25. method_description: "It uses the `exim` command line binary to get the statistics."
  26. supported_platforms:
  27. include: []
  28. exclude: []
  29. multi_instance: false
  30. additional_permissions:
  31. description: ""
  32. default_behavior:
  33. auto_detection:
  34. description: "Assuming setup prerequisites are met, the collector will try to gather statistics using the method described above, even without any configuration."
  35. limits:
  36. description: ""
  37. performance_impact:
  38. description: ""
  39. setup:
  40. prerequisites:
  41. list:
  42. - title: "Exim configuration - local installation"
  43. description: |
  44. The module uses the `exim` binary, which can only be executed as root by default. We need to allow other users to `exim` binary. We solve that adding `queue_list_requires_admin` statement in exim configuration and set to `false`, because it is `true` by default. On many Linux distributions, the default location of `exim` configuration is in `/etc/exim.conf`.
  45. 1. Edit the `exim` configuration with your preferred editor and add:
  46. `queue_list_requires_admin = false`
  47. 2. Restart `exim` and Netdata
  48. - title: "Exim configuration - WHM (CPanel) server"
  49. description: |
  50. On a WHM server, you can reconfigure `exim` over the WHM interface with the following steps.
  51. 1. Login to WHM
  52. 2. Navigate to Service Configuration --> Exim Configuration Manager --> tab Advanced Editor
  53. 3. Scroll down to the button **Add additional configuration setting** and click on it.
  54. 4. In the new dropdown which will appear above we need to find and choose:
  55. `queue_list_requires_admin` and set to `false`
  56. 5. Scroll to the end and click the **Save** button.
  57. configuration:
  58. file:
  59. name: python.d/exim.conf
  60. options:
  61. description: |
  62. There are 2 sections:
  63. * Global variables
  64. * One or more JOBS that can define multiple different instances to monitor.
  65. The following options can be defined globally: priority, penalty, autodetection_retry, update_every, but can also be defined per JOB to override the global values.
  66. Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
  67. Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
  68. folding:
  69. title: "Config options"
  70. enabled: true
  71. list:
  72. - name: update_every
  73. description: Sets the default data collection frequency.
  74. default_value: 5
  75. required: false
  76. - name: priority
  77. description: Controls the order of charts at the netdata dashboard.
  78. default_value: 60000
  79. required: false
  80. - name: autodetection_retry
  81. description: Sets the job re-check interval in seconds.
  82. default_value: 0
  83. required: false
  84. - name: penalty
  85. description: Indicates whether to apply penalty to update_every in case of failures.
  86. default_value: yes
  87. required: false
  88. - name: name
  89. description: Job name. This value will overwrite the `job_name` value. JOBS with the same name are mutually exclusive. Only one of them will be allowed running at any time. This allows autodetection to try several alternatives and pick the one that works.
  90. default_value: ""
  91. required: false
  92. - name: command
  93. description: Path and command to the `exim` binary
  94. default_value: "exim -bpc"
  95. required: false
  96. examples:
  97. folding:
  98. enabled: false
  99. title: "Config"
  100. list:
  101. - name: Local exim install
  102. description: A basic local exim install
  103. config: |
  104. local:
  105. command: 'exim -bpc'
  106. troubleshooting:
  107. problems:
  108. list: []
  109. alerts: []
  110. metrics:
  111. folding:
  112. title: Metrics
  113. enabled: false
  114. description: ""
  115. availability: []
  116. scopes:
  117. - name: global
  118. description: "These metrics refer to the entire monitored application."
  119. labels: []
  120. metrics:
  121. - name: exim.qemails
  122. description: Exim Queue Emails
  123. unit: "emails"
  124. chart_type: line
  125. dimensions:
  126. - name: emails