metadata.yaml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. plugin_name: python.d.plugin
  2. modules:
  3. - meta:
  4. plugin_name: python.d.plugin
  5. module_name: tomcat
  6. monitored_instance:
  7. name: Tomcat
  8. link: "https://tomcat.apache.org/"
  9. categories:
  10. - data-collection.web-servers-and-web-proxies
  11. icon_filename: "tomcat.svg"
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ""
  17. keywords:
  18. - apache
  19. - tomcat
  20. - webserver
  21. - websocket
  22. - jakarta
  23. - javaEE
  24. most_popular: false
  25. overview:
  26. data_collection:
  27. metrics_description: |
  28. This collector monitors Tomcat metrics about bandwidth, processing time, threads and more.
  29. method_description: |
  30. It parses the information provided by the http endpoint of the `/manager/status` in XML format
  31. supported_platforms:
  32. include: []
  33. exclude: []
  34. multi_instance: true
  35. additional_permissions:
  36. description: "You need to provide the username and the password, to access the webserver's status page. Create a seperate user with read only rights for this particular endpoint"
  37. default_behavior:
  38. auto_detection:
  39. description: "If the Netdata Agent and the Tomcat webserver are in the same host, without configuration, module attempts to connect to http://localhost:8080/manager/status?XML=true, without any credentials. So it will probably fail."
  40. limits:
  41. description: "This module is not supporting SSL communication. If you want a Netdata Agent to monitor a Tomcat deployment, you shouldnt try to monitor it via public network (public internet). Credentials are passed by Netdata in an unsecure port"
  42. performance_impact:
  43. description: ""
  44. setup:
  45. prerequisites:
  46. list:
  47. - title: Create a read-only `netdata` user, to monitor the `/status` endpoint.
  48. description: This is necessary for configuring the collector.
  49. configuration:
  50. file:
  51. name: "python.d/tomcat.conf"
  52. options:
  53. description: |
  54. There are 2 sections:
  55. * Global variables
  56. * One or more JOBS that can define multiple different instances to monitor.
  57. 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.Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
  58. Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
  59. folding:
  60. title: "Config options per job"
  61. enabled: true
  62. list:
  63. - name: update_every
  64. description: Sets the default data collection frequency.
  65. default_value: 5
  66. required: false
  67. - name: priority
  68. description: Controls the order of charts at the netdata dashboard.
  69. default_value: 60000
  70. required: false
  71. - name: autodetection_retry
  72. description: Sets the job re-check interval in seconds.
  73. default_value: 0
  74. required: false
  75. - name: penalty
  76. description: Indicates whether to apply penalty to update_every in case of failures.
  77. default_value: yes
  78. required: false
  79. - name: url
  80. description: The URL of the Tomcat server's status endpoint. Always add the suffix ?XML=true.
  81. default_value: no
  82. required: true
  83. - name: user
  84. description: A valid user with read permission to access the /manager/status endpoint of the server. Required if the endpoint is password protected
  85. default_value: no
  86. required: false
  87. - name: pass
  88. description: A valid password for the user in question. Required if the endpoint is password protected
  89. default_value: no
  90. required: false
  91. - name: connector_name
  92. description: The connector component that communicates with a web connector via the AJP protocol, e.g ajp-bio-8009
  93. default_value: ""
  94. required: false
  95. examples:
  96. folding:
  97. enabled: true
  98. title: "Config"
  99. list:
  100. - name: Basic
  101. folding:
  102. enabled: false
  103. description: A basic example configuration
  104. config: |
  105. localhost:
  106. name : 'local'
  107. url : 'http://localhost:8080/manager/status?XML=true'
  108. - name: Using an IPv4 endpoint
  109. description: A typical configuration using an IPv4 endpoint
  110. config: |
  111. local_ipv4:
  112. name : 'local'
  113. url : 'http://127.0.0.1:8080/manager/status?XML=true'
  114. - name: Using an IPv6 endpoint
  115. description: A typical configuration using an IPv6 endpoint
  116. config: |
  117. local_ipv6:
  118. name : 'local'
  119. url : 'http://[::1]:8080/manager/status?XML=true'
  120. troubleshooting:
  121. problems:
  122. list: []
  123. alerts: []
  124. metrics:
  125. folding:
  126. title: Metrics
  127. enabled: false
  128. description: ""
  129. availability: []
  130. scopes:
  131. - name: global
  132. description: "These metrics refer to the entire monitored application."
  133. labels: []
  134. metrics:
  135. - name: tomcat.accesses
  136. description: Requests
  137. unit: "requests/s"
  138. chart_type: area
  139. dimensions:
  140. - name: accesses
  141. - name: errors
  142. - name: tomcat.bandwidth
  143. description: Bandwidth
  144. unit: "KiB/s"
  145. chart_type: area
  146. dimensions:
  147. - name: sent
  148. - name: received
  149. - name: tomcat.processing_time
  150. description: processing time
  151. unit: "seconds"
  152. chart_type: area
  153. dimensions:
  154. - name: processing time
  155. - name: tomcat.threads
  156. description: Threads
  157. unit: "current threads"
  158. chart_type: area
  159. dimensions:
  160. - name: current
  161. - name: busy
  162. - name: tomcat.jvm
  163. description: JVM Memory Pool Usage
  164. unit: "MiB"
  165. chart_type: stacked
  166. dimensions:
  167. - name: free
  168. - name: eden
  169. - name: survivor
  170. - name: tenured
  171. - name: code cache
  172. - name: compressed
  173. - name: metaspace
  174. - name: tomcat.jvm_eden
  175. description: Eden Memory Usage
  176. unit: "MiB"
  177. chart_type: area
  178. dimensions:
  179. - name: used
  180. - name: committed
  181. - name: max
  182. - name: tomcat.jvm_survivor
  183. description: Survivor Memory Usage
  184. unit: "MiB"
  185. chart_type: area
  186. dimensions:
  187. - name: used
  188. - name: committed
  189. - name: max
  190. - name: tomcat.jvm_tenured
  191. description: Tenured Memory Usage
  192. unit: "MiB"
  193. chart_type: area
  194. dimensions:
  195. - name: used
  196. - name: committed
  197. - name: max