metadata.yaml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. plugin_name: python.d.plugin
  2. modules:
  3. - meta:
  4. plugin_name: python.d.plugin
  5. module_name: spigotmc
  6. monitored_instance:
  7. name: SpigotMC
  8. link: ""
  9. categories:
  10. - data-collection.gaming
  11. icon_filename: "spigot.jfif"
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ""
  17. keywords:
  18. - minecraft server
  19. - spigotmc server
  20. - spigot
  21. most_popular: false
  22. overview:
  23. data_collection:
  24. metrics_description: |
  25. This collector monitors SpigotMC server performance, in the form of ticks per second average, memory utilization, and active users.
  26. method_description: |
  27. It sends the `tps`, `list` and `online` commands to the Server, and gathers the metrics from the responses.
  28. supported_platforms:
  29. include:
  30. - Linux
  31. exclude: []
  32. multi_instance: true
  33. additional_permissions:
  34. description: ""
  35. default_behavior:
  36. auto_detection:
  37. description: By default, this collector will attempt to connect to a Spigot server running on the local host on port `25575`.
  38. limits:
  39. description: ""
  40. performance_impact:
  41. description: ""
  42. setup:
  43. prerequisites:
  44. list:
  45. - title: Enable the Remote Console Protocol
  46. description: |
  47. Under your SpigotMC server's `server.properties` configuration file, you should set `enable-rcon` to `true`.
  48. This will allow the Server to listen and respond to queries over the rcon protocol.
  49. configuration:
  50. file:
  51. name: "python.d/spigotmc.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.
  58. Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
  59. Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
  60. folding:
  61. title: "Config options"
  62. enabled: true
  63. list:
  64. - name: update_every
  65. description: Sets the default data collection frequency.
  66. default_value: 1
  67. required: false
  68. - name: priority
  69. description: Controls the order of charts at the netdata dashboard.
  70. default_value: 60000
  71. required: false
  72. - name: autodetection_retry
  73. description: Sets the job re-check interval in seconds.
  74. default_value: 0
  75. required: false
  76. - name: penalty
  77. description: Indicates whether to apply penalty to update_every in case of failures.
  78. default_value: yes
  79. required: false
  80. - name: name
  81. description: >
  82. 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
  83. running at any time. This allows autodetection to try several alternatives and pick the one that works.
  84. default_value: ""
  85. required: false
  86. - name: host
  87. description: The host's IP to connect to.
  88. default_value: localhost
  89. required: true
  90. - name: port
  91. description: The port the remote console is listening on.
  92. default_value: 25575
  93. required: true
  94. - name: password
  95. description: Remote console password if any.
  96. default_value: ""
  97. required: false
  98. examples:
  99. folding:
  100. enabled: true
  101. title: "Config"
  102. list:
  103. - name: Basic
  104. description: A basic configuration example.
  105. folding:
  106. enabled: false
  107. config: |
  108. local:
  109. name: local_server
  110. url: 127.0.0.1
  111. port: 25575
  112. - name: Basic Authentication
  113. description: An example using basic password for authentication with the remote console.
  114. config: |
  115. local:
  116. name: local_server_pass
  117. url: 127.0.0.1
  118. port: 25575
  119. password: 'foobar'
  120. - name: Multi-instance
  121. description: |
  122. > **Note**: When you define multiple jobs, their names must be unique.
  123. Collecting metrics from local and remote instances.
  124. config: |
  125. local_server:
  126. name : my_local_server
  127. url : 127.0.0.1
  128. port: 25575
  129. remote_server:
  130. name : another_remote_server
  131. url : 192.0.2.1
  132. port: 25575
  133. troubleshooting:
  134. problems:
  135. list: []
  136. alerts: []
  137. metrics:
  138. folding:
  139. title: Metrics
  140. enabled: false
  141. description: ""
  142. availability: []
  143. scopes:
  144. - name: global
  145. description: "These metrics refer to the entire monitored application."
  146. labels: []
  147. metrics:
  148. - name: spigotmc.tps
  149. description: Spigot Ticks Per Second
  150. unit: "ticks"
  151. chart_type: line
  152. dimensions:
  153. - name: 1 Minute Average
  154. - name: 5 Minute Average
  155. - name: 15 Minute Average
  156. - name: spigotmc.users
  157. description: Minecraft Users
  158. unit: "users"
  159. chart_type: area
  160. dimensions:
  161. - name: Users
  162. - name: spigotmc.mem
  163. description: Minecraft Memory Usage
  164. unit: "MiB"
  165. chart_type: line
  166. dimensions:
  167. - name: used
  168. - name: allocated
  169. - name: max