Regenerate integrations.js (#18350)
Co-authored-by: ilyam8 <22274335+ilyam8@users.noreply.github.com>
Netdata bot committed
Aug 16, 2024 at 10:28 UTC
9f148ab67e754733e2730b00882bcf31bd819d40
5 files changed
+335
-77
integrations/integrations.js
+40
-38
@@ -5178,6 +5178,46 @@ export const integrations = [
5178
"edit_link": "https://github.com/netdata/netdata/blob/master/src/go/plugin/go.d/modules/mongodb/metadata.yaml",
5179
"related_resources": ""
5180
},
5181
+ {
5182
+ "meta": {
5183
+ "id": "collector-go.d.plugin-monit",
5184
+ "plugin_name": "go.d.plugin",
5185
+ "module_name": "monit",
5186
+ "monitored_instance": {
5187
+ "name": "Monit",
5188
+ "link": "https://mmonit.com/monit/",
5189
+ "categories": [
5190
+ "data-collection.synthetic-checks"
5191
+ ],
5192
+ "icon_filename": "monit.png"
5193
+ },
5194
+ "related_resources": {
5195
+ "integrations": {
5196
+ "list": []
5197
+ }
5198
+ },
5199
+ "alternative_monitored_instances": [],
5200
+ "info_provided_to_referring_integrations": {
5201
+ "description": ""
5202
+ },
5203
+ "keywords": [
5204
+ "monit",
5205
+ "mmonit",
5206
+ "supervision tool",
5207
+ "monitrc"
5208
+ ],
5209
+ "most_popular": false
5210
+ },
5211
+ "overview": "# Monit\n\nPlugin: go.d.plugin\nModule: monit\n\n## Overview\n\nThis collector monitors status of Monit's service checks.\n\n\nIt sends HTTP requests to the Monit `/_status?format=xml&level=full` endpoint.\n\n\nThis collector is supported on all platforms.\n\nThis collector supports collecting metrics from multiple instances of this integration, including remote instances.\n\n\n### Default Behavior\n\n#### Auto-Detection\n\nBy default, it detects Monit instances running on localhost that are listening on port 2812.\nOn startup, it tries to collect metrics from:\n\n- http://127.0.0.1:2812\n\n\n#### Limits\n\nThe default configuration for this integration does not impose any limits on data collection.\n\n#### Performance Impact\n\nThe default configuration for this integration is not expected to impose a significant performance impact on the system.\n",
5212
+ "setup": "## Setup\n\n### Prerequisites\n\n#### Enable TCP PORT\n\nSee [Syntax for TCP port](https://mmonit.com/monit/documentation/monit.html#TCP-PORT) for details.\n\n\n### Configuration\n\n#### File\n\nThe configuration file name for this integration is `go.d/monit.conf`.\n\n\nYou can edit the configuration file using the `edit-config` script from the\nNetdata [config directory](/docs/netdata-agent/configuration/README.md#the-netdata-config-directory).\n\n```bash\ncd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata\nsudo ./edit-config go.d/monit.conf\n```\n#### Options\n\nThe following options can be defined globally: update_every, autodetection_retry.\n\n\n{% details open=true summary=\"Config options\" %}\n| Name | Description | Default | Required |\n|:----|:-----------|:-------|:--------:|\n| update_every | Data collection frequency. | 1 | no |\n| autodetection_retry | Recheck interval in seconds. Zero means no recheck will be scheduled. | 0 | no |\n| url | Server URL. | http://127.0.0.1:2812 | yes |\n| timeout | HTTP request timeout. | 1 | no |\n| username | Username for basic HTTP authentication. | admin | no |\n| password | Password for basic HTTP authentication. | monit | no |\n| proxy_url | Proxy URL. | | no |\n| proxy_username | Username for proxy basic HTTP authentication. | | no |\n| proxy_password | Password for proxy basic HTTP authentication. | | no |\n| method | HTTP request method. | GET | no |\n| body | HTTP request body. | | no |\n| headers | HTTP request headers. | | no |\n| not_follow_redirects | Redirect handling policy. Controls whether the client follows redirects. | no | no |\n| tls_skip_verify | Server certificate chain and hostname validation policy. Controls whether the client performs this check. | no | no |\n| tls_ca | Certification authority that the client uses when verifying the server's certificates. | | no |\n| tls_cert | Client TLS certificate. | | no |\n| tls_key | Client TLS key. | | no |\n\n{% /details %}\n#### Examples\n\n##### HTTP authentication\n\nBasic HTTP authentication.\n\n{% details open=true summary=\"Config\" %}\n```yaml\njobs:\n - name: local\n url: http://127.0.0.1:2812\n username: admin\n password: monit\n\n```\n{% /details %}\n##### HTTPS with self-signed certificate\n\nWith enabled HTTPS and self-signed certificate.\n\n{% details open=true summary=\"Config\" %}\n```yaml\njobs:\n - name: local\n url: http://127.0.0.1:2812\n tls_skip_verify: yes\n\n```\n{% /details %}\n##### Multi-instance\n\n> **Note**: When you define multiple jobs, their names must be unique.\n\nCollecting metrics from local and remote instances.\n\n\n{% details open=true summary=\"Config\" %}\n```yaml\njobs:\n - name: local\n url: http://127.0.0.1:2812\n\n - name: remote\n url: http://192.0.2.1:2812\n\n```\n{% /details %}\n",
5213
+ "troubleshooting": "## Troubleshooting\n\n### Debug Mode\n\nTo troubleshoot issues with the `monit` collector, run the `go.d.plugin` with the debug option enabled. The output\nshould give you clues as to why the collector isn't working.\n\n- Navigate to the `plugins.d` directory, usually at `/usr/libexec/netdata/plugins.d/`. If that's not the case on\n your system, open `netdata.conf` and look for the `plugins` setting under `[directories]`.\n\n ```bash\n cd /usr/libexec/netdata/plugins.d/\n ```\n\n- Switch to the `netdata` user.\n\n ```bash\n sudo -u netdata -s\n ```\n\n- Run the `go.d.plugin` to debug the collector:\n\n ```bash\n ./go.d.plugin -d -m monit\n ```\n\n### Getting Logs\n\nIf you're encountering problems with the `monit` collector, follow these steps to retrieve logs and identify potential issues:\n\n- **Run the command** specific to your system (systemd, non-systemd, or Docker container).\n- **Examine the output** for any warnings or error messages that might indicate issues. These messages should provide clues about the root cause of the problem.\n\n#### System with systemd\n\nUse the following command to view logs generated since the last Netdata service restart:\n\n```bash\njournalctl _SYSTEMD_INVOCATION_ID=\"$(systemctl show --value --property=InvocationID netdata)\" --namespace=netdata --grep monit\n```\n\n#### System without systemd\n\nLocate the collector log file, typically at `/var/log/netdata/collector.log`, and use `grep` to filter for collector's name:\n\n```bash\ngrep monit /var/log/netdata/collector.log\n```\n\n**Note**: This method shows logs from all restarts. Focus on the **latest entries** for troubleshooting current issues.\n\n#### Docker Container\n\nIf your Netdata runs in a Docker container named \"netdata\" (replace if different), use this command:\n\n```bash\ndocker logs netdata 2>&1 | grep monit\n```\n\n",
5214
+ "alerts": "## Alerts\n\nThere are no alerts configured by default for this integration.\n",
5215
+ "metrics": "## Metrics\n\nMetrics grouped by *scope*.\n\nThe scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.\n\n\n\n### Per service\n\nThese metrics refer to the monitored Service.\n\nLabels:\n\n| Label | Description |\n|:-----------|:----------------|\n| server_hostname | Hostname of the Monit server. |\n| service_check_name | Service check name. |\n| service_check_type | Service check type. |\n\nMetrics:\n\n| Metric | Dimensions | Unit |\n|:------|:----------|:----|\n| monit.service_check_status | ok, error, initializing, not_monitored | status |\n\n",
5216
+ "integration_type": "collector",
5217
+ "id": "go.d.plugin-monit-Monit",
5218
+ "edit_link": "https://github.com/netdata/netdata/blob/master/src/go/plugin/go.d/modules/monit/metadata.yaml",
5219
+ "related_resources": ""
5220
+ },
5221
{
5222
"meta": {
5223
"id": "collector-go.d.plugin-mariadb",
@@ -19146,44 +19186,6 @@ export const integrations = [
19186
"edit_link": "https://github.com/netdata/netdata/blob/master/src/collectors/python.d.plugin/go_expvar/metadata.yaml",
19187
"related_resources": ""
19188
},
19149
- {
19150
- "meta": {
19151
- "plugin_name": "python.d.plugin",
19152
- "module_name": "monit",
19153
- "monitored_instance": {
19154
- "name": "Monit",
19155
- "link": "https://mmonit.com/monit/",
19156
- "categories": [
19157
- "data-collection.synthetic-checks"
19158
- ],
19159
- "icon_filename": "monit.png"
19160
- },
19161
- "related_resources": {
19162
- "integrations": {
19163
- "list": []
19164
- }
19165
- },
19166
- "info_provided_to_referring_integrations": {
19167
- "description": ""
19168
- },
19169
- "keywords": [
19170
- "monit",
19171
- "mmonit",
19172
- "supervision tool",
19173
- "monitrc"
19174
- ],
19175
- "most_popular": false
19176
- },
19177
- "overview": "# Monit\n\nPlugin: python.d.plugin\nModule: monit\n\n## Overview\n\nThis collector monitors Monit targets such as filesystems, directories, files, FIFO pipes and more.\n\n\nIt gathers data from Monit's XML interface.\n\n\nThis collector is supported on all platforms.\n\nThis collector supports collecting metrics from multiple instances of this integration, including remote instances.\n\n\n### Default Behavior\n\n#### Auto-Detection\n\nBy default, this collector will attempt to connect to Monit at `http://localhost:2812`\n\n#### Limits\n\nThe default configuration for this integration does not impose any limits on data collection.\n\n#### Performance Impact\n\nThe default configuration for this integration is not expected to impose a significant performance impact on the system.\n",
19178
- "setup": "## Setup\n\n### Prerequisites\n\nNo action required.\n\n### Configuration\n\n#### File\n\nThe configuration file name for this integration is `python.d/monit.conf`.\n\n\nYou can edit the configuration file using the `edit-config` script from the\nNetdata [config directory](/docs/netdata-agent/configuration/README.md#the-netdata-config-directory).\n\n```bash\ncd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata\nsudo ./edit-config python.d/monit.conf\n```\n#### Options\n\nThere are 2 sections:\n\n* Global variables\n* One or more JOBS that can define multiple different instances to monitor.\n\nThe following options can be defined globally: priority, penalty, autodetection_retry, update_every, but can also be defined per JOB to override the global values.\n\nAdditionally, the following collapsed table contains all the options that can be configured inside a JOB definition.\n\nEvery configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.\n\n\n{% details open=true summary=\"Config options\" %}\n| Name | Description | Default | Required |\n|:----|:-----------|:-------|:--------:|\n| update_every | Sets the default data collection frequency. | 1 | no |\n| priority | Controls the order of charts at the netdata dashboard. | 60000 | no |\n| autodetection_retry | Sets the job re-check interval in seconds. | 0 | no |\n| penalty | Indicates whether to apply penalty to update_every in case of failures. | yes | no |\n| name | 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. | local | no |\n| url | The URL to fetch Monit's metrics. | http://localhost:2812 | yes |\n| user | Username in case the URL is password protected. | | no |\n| pass | Password in case the URL is password protected. | | no |\n\n{% /details %}\n#### Examples\n\n##### Basic\n\nA basic configuration example.\n\n```yaml\nlocalhost:\n name : 'local'\n url : 'http://localhost:2812'\n\n```\n##### Basic Authentication\n\nExample using basic username and password in order to authenticate.\n\n{% details open=true summary=\"Config\" %}\n```yaml\nlocalhost:\n name : 'local'\n url : 'http://localhost:2812'\n user: 'foo'\n pass: 'bar'\n\n```\n{% /details %}\n##### Multi-instance\n\n> **Note**: When you define multiple jobs, their names must be unique.\n\nCollecting metrics from local and remote instances.\n\n\n{% details open=true summary=\"Config\" %}\n```yaml\nlocalhost:\n name: 'local'\n url: 'http://localhost:2812'\n\nremote_job:\n name: 'remote'\n url: 'http://192.0.2.1:2812'\n\n```\n{% /details %}\n",
19179
- "troubleshooting": "## Troubleshooting\n\n### Debug Mode\n\nTo troubleshoot issues with the `monit` collector, run the `python.d.plugin` with the debug option enabled. The output\nshould give you clues as to why the collector isn't working.\n\n- Navigate to the `plugins.d` directory, usually at `/usr/libexec/netdata/plugins.d/`. If that's not the case on\n your system, open `netdata.conf` and look for the `plugins` setting under `[directories]`.\n\n ```bash\n cd /usr/libexec/netdata/plugins.d/\n ```\n\n- Switch to the `netdata` user.\n\n ```bash\n sudo -u netdata -s\n ```\n\n- Run the `python.d.plugin` to debug the collector:\n\n ```bash\n ./python.d.plugin monit debug trace\n ```\n\n### Getting Logs\n\nIf you're encountering problems with the `monit` collector, follow these steps to retrieve logs and identify potential issues:\n\n- **Run the command** specific to your system (systemd, non-systemd, or Docker container).\n- **Examine the output** for any warnings or error messages that might indicate issues. These messages should provide clues about the root cause of the problem.\n\n#### System with systemd\n\nUse the following command to view logs generated since the last Netdata service restart:\n\n```bash\njournalctl _SYSTEMD_INVOCATION_ID=\"$(systemctl show --value --property=InvocationID netdata)\" --namespace=netdata --grep monit\n```\n\n#### System without systemd\n\nLocate the collector log file, typically at `/var/log/netdata/collector.log`, and use `grep` to filter for collector's name:\n\n```bash\ngrep monit /var/log/netdata/collector.log\n```\n\n**Note**: This method shows logs from all restarts. Focus on the **latest entries** for troubleshooting current issues.\n\n#### Docker Container\n\nIf your Netdata runs in a Docker container named \"netdata\" (replace if different), use this command:\n\n```bash\ndocker logs netdata 2>&1 | grep monit\n```\n\n",
19180
- "alerts": "## Alerts\n\nThere are no alerts configured by default for this integration.\n",
19181
- "metrics": "## Metrics\n\nMetrics grouped by *scope*.\n\nThe scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.\n\n\n\n### Per Monit instance\n\nThese metrics refer to the entire monitored application.\n\nThis scope has no labels.\n\nMetrics:\n\n| Metric | Dimensions | Unit |\n|:------|:----------|:----|\n| monit.filesystems | a dimension per target | filesystems |\n| monit.directories | a dimension per target | directories |\n| monit.files | a dimension per target | files |\n| monit.fifos | a dimension per target | pipes |\n| monit.programs | a dimension per target | programs |\n| monit.services | a dimension per target | processes |\n| monit.process_uptime | a dimension per target | seconds |\n| monit.process_threads | a dimension per target | threads |\n| monit.process_childrens | a dimension per target | children |\n| monit.hosts | a dimension per target | hosts |\n| monit.host_latency | a dimension per target | milliseconds |\n| monit.networks | a dimension per target | interfaces |\n\n",
19182
- "integration_type": "collector",
19183
- "id": "python.d.plugin-monit-Monit",
19184
- "edit_link": "https://github.com/netdata/netdata/blob/master/src/collectors/python.d.plugin/monit/metadata.yaml",
19185
- "related_resources": ""
19186
- },
19189
{
19190
"meta": {
19191
"plugin_name": "python.d.plugin",
integrations/integrations.json
+40
-38
@@ -5176,6 +5176,46 @@
5176
"edit_link": "https://github.com/netdata/netdata/blob/master/src/go/plugin/go.d/modules/mongodb/metadata.yaml",
5177
"related_resources": ""
5178
},
5179
+ {
5180
+ "meta": {
5181
+ "id": "collector-go.d.plugin-monit",
5182
+ "plugin_name": "go.d.plugin",
5183
+ "module_name": "monit",
5184
+ "monitored_instance": {
5185
+ "name": "Monit",
5186
+ "link": "https://mmonit.com/monit/",
5187
+ "categories": [
5188
+ "data-collection.synthetic-checks"
5189
+ ],
5190
+ "icon_filename": "monit.png"
5191
+ },
5192
+ "related_resources": {
5193
+ "integrations": {
5194
+ "list": []
5195
+ }
5196
+ },
5197
+ "alternative_monitored_instances": [],
5198
+ "info_provided_to_referring_integrations": {
5199
+ "description": ""
5200
+ },
5201
+ "keywords": [
5202
+ "monit",
5203
+ "mmonit",
5204
+ "supervision tool",
5205
+ "monitrc"
5206
+ ],
5207
+ "most_popular": false
5208
+ },
5209
+ "overview": "# Monit\n\nPlugin: go.d.plugin\nModule: monit\n\n## Overview\n\nThis collector monitors status of Monit's service checks.\n\n\nIt sends HTTP requests to the Monit `/_status?format=xml&level=full` endpoint.\n\n\nThis collector is supported on all platforms.\n\nThis collector supports collecting metrics from multiple instances of this integration, including remote instances.\n\n\n### Default Behavior\n\n#### Auto-Detection\n\nBy default, it detects Monit instances running on localhost that are listening on port 2812.\nOn startup, it tries to collect metrics from:\n\n- http://127.0.0.1:2812\n\n\n#### Limits\n\nThe default configuration for this integration does not impose any limits on data collection.\n\n#### Performance Impact\n\nThe default configuration for this integration is not expected to impose a significant performance impact on the system.\n",
5210
+ "setup": "## Setup\n\n### Prerequisites\n\n#### Enable TCP PORT\n\nSee [Syntax for TCP port](https://mmonit.com/monit/documentation/monit.html#TCP-PORT) for details.\n\n\n### Configuration\n\n#### File\n\nThe configuration file name for this integration is `go.d/monit.conf`.\n\n\nYou can edit the configuration file using the `edit-config` script from the\nNetdata [config directory](/docs/netdata-agent/configuration/README.md#the-netdata-config-directory).\n\n```bash\ncd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata\nsudo ./edit-config go.d/monit.conf\n```\n#### Options\n\nThe following options can be defined globally: update_every, autodetection_retry.\n\n\n| Name | Description | Default | Required |\n|:----|:-----------|:-------|:--------:|\n| update_every | Data collection frequency. | 1 | no |\n| autodetection_retry | Recheck interval in seconds. Zero means no recheck will be scheduled. | 0 | no |\n| url | Server URL. | http://127.0.0.1:2812 | yes |\n| timeout | HTTP request timeout. | 1 | no |\n| username | Username for basic HTTP authentication. | admin | no |\n| password | Password for basic HTTP authentication. | monit | no |\n| proxy_url | Proxy URL. | | no |\n| proxy_username | Username for proxy basic HTTP authentication. | | no |\n| proxy_password | Password for proxy basic HTTP authentication. | | no |\n| method | HTTP request method. | GET | no |\n| body | HTTP request body. | | no |\n| headers | HTTP request headers. | | no |\n| not_follow_redirects | Redirect handling policy. Controls whether the client follows redirects. | no | no |\n| tls_skip_verify | Server certificate chain and hostname validation policy. Controls whether the client performs this check. | no | no |\n| tls_ca | Certification authority that the client uses when verifying the server's certificates. | | no |\n| tls_cert | Client TLS certificate. | | no |\n| tls_key | Client TLS key. | | no |\n\n#### Examples\n\n##### HTTP authentication\n\nBasic HTTP authentication.\n\n```yaml\njobs:\n - name: local\n url: http://127.0.0.1:2812\n username: admin\n password: monit\n\n```\n##### HTTPS with self-signed certificate\n\nWith enabled HTTPS and self-signed certificate.\n\n```yaml\njobs:\n - name: local\n url: http://127.0.0.1:2812\n tls_skip_verify: yes\n\n```\n##### Multi-instance\n\n> **Note**: When you define multiple jobs, their names must be unique.\n\nCollecting metrics from local and remote instances.\n\n\n```yaml\njobs:\n - name: local\n url: http://127.0.0.1:2812\n\n - name: remote\n url: http://192.0.2.1:2812\n\n```\n",
5211
+ "troubleshooting": "## Troubleshooting\n\n### Debug Mode\n\nTo troubleshoot issues with the `monit` collector, run the `go.d.plugin` with the debug option enabled. The output\nshould give you clues as to why the collector isn't working.\n\n- Navigate to the `plugins.d` directory, usually at `/usr/libexec/netdata/plugins.d/`. If that's not the case on\n your system, open `netdata.conf` and look for the `plugins` setting under `[directories]`.\n\n ```bash\n cd /usr/libexec/netdata/plugins.d/\n ```\n\n- Switch to the `netdata` user.\n\n ```bash\n sudo -u netdata -s\n ```\n\n- Run the `go.d.plugin` to debug the collector:\n\n ```bash\n ./go.d.plugin -d -m monit\n ```\n\n### Getting Logs\n\nIf you're encountering problems with the `monit` collector, follow these steps to retrieve logs and identify potential issues:\n\n- **Run the command** specific to your system (systemd, non-systemd, or Docker container).\n- **Examine the output** for any warnings or error messages that might indicate issues. These messages should provide clues about the root cause of the problem.\n\n#### System with systemd\n\nUse the following command to view logs generated since the last Netdata service restart:\n\n```bash\njournalctl _SYSTEMD_INVOCATION_ID=\"$(systemctl show --value --property=InvocationID netdata)\" --namespace=netdata --grep monit\n```\n\n#### System without systemd\n\nLocate the collector log file, typically at `/var/log/netdata/collector.log`, and use `grep` to filter for collector's name:\n\n```bash\ngrep monit /var/log/netdata/collector.log\n```\n\n**Note**: This method shows logs from all restarts. Focus on the **latest entries** for troubleshooting current issues.\n\n#### Docker Container\n\nIf your Netdata runs in a Docker container named \"netdata\" (replace if different), use this command:\n\n```bash\ndocker logs netdata 2>&1 | grep monit\n```\n\n",
5212
+ "alerts": "## Alerts\n\nThere are no alerts configured by default for this integration.\n",
5213
+ "metrics": "## Metrics\n\nMetrics grouped by *scope*.\n\nThe scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.\n\n\n\n### Per service\n\nThese metrics refer to the monitored Service.\n\nLabels:\n\n| Label | Description |\n|:-----------|:----------------|\n| server_hostname | Hostname of the Monit server. |\n| service_check_name | Service check name. |\n| service_check_type | Service check type. |\n\nMetrics:\n\n| Metric | Dimensions | Unit |\n|:------|:----------|:----|\n| monit.service_check_status | ok, error, initializing, not_monitored | status |\n\n",
5214
+ "integration_type": "collector",
5215
+ "id": "go.d.plugin-monit-Monit",
5216
+ "edit_link": "https://github.com/netdata/netdata/blob/master/src/go/plugin/go.d/modules/monit/metadata.yaml",
5217
+ "related_resources": ""
5218
+ },
5219
{
5220
"meta": {
5221
"id": "collector-go.d.plugin-mariadb",
@@ -19144,44 +19184,6 @@
19184
"edit_link": "https://github.com/netdata/netdata/blob/master/src/collectors/python.d.plugin/go_expvar/metadata.yaml",
19185
"related_resources": ""
19186
},
19147
- {
19148
- "meta": {
19149
- "plugin_name": "python.d.plugin",
19150
- "module_name": "monit",
19151
- "monitored_instance": {
19152
- "name": "Monit",
19153
- "link": "https://mmonit.com/monit/",
19154
- "categories": [
19155
- "data-collection.synthetic-checks"
19156
- ],
19157
- "icon_filename": "monit.png"
19158
- },
19159
- "related_resources": {
19160
- "integrations": {
19161
- "list": []
19162
- }
19163
- },
19164
- "info_provided_to_referring_integrations": {
19165
- "description": ""
19166
- },
19167
- "keywords": [
19168
- "monit",
19169
- "mmonit",
19170
- "supervision tool",
19171
- "monitrc"
19172
- ],
19173
- "most_popular": false
19174
- },
19175
- "overview": "# Monit\n\nPlugin: python.d.plugin\nModule: monit\n\n## Overview\n\nThis collector monitors Monit targets such as filesystems, directories, files, FIFO pipes and more.\n\n\nIt gathers data from Monit's XML interface.\n\n\nThis collector is supported on all platforms.\n\nThis collector supports collecting metrics from multiple instances of this integration, including remote instances.\n\n\n### Default Behavior\n\n#### Auto-Detection\n\nBy default, this collector will attempt to connect to Monit at `http://localhost:2812`\n\n#### Limits\n\nThe default configuration for this integration does not impose any limits on data collection.\n\n#### Performance Impact\n\nThe default configuration for this integration is not expected to impose a significant performance impact on the system.\n",
19176
- "setup": "## Setup\n\n### Prerequisites\n\nNo action required.\n\n### Configuration\n\n#### File\n\nThe configuration file name for this integration is `python.d/monit.conf`.\n\n\nYou can edit the configuration file using the `edit-config` script from the\nNetdata [config directory](/docs/netdata-agent/configuration/README.md#the-netdata-config-directory).\n\n```bash\ncd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata\nsudo ./edit-config python.d/monit.conf\n```\n#### Options\n\nThere are 2 sections:\n\n* Global variables\n* One or more JOBS that can define multiple different instances to monitor.\n\nThe following options can be defined globally: priority, penalty, autodetection_retry, update_every, but can also be defined per JOB to override the global values.\n\nAdditionally, the following collapsed table contains all the options that can be configured inside a JOB definition.\n\nEvery configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.\n\n\n| Name | Description | Default | Required |\n|:----|:-----------|:-------|:--------:|\n| update_every | Sets the default data collection frequency. | 1 | no |\n| priority | Controls the order of charts at the netdata dashboard. | 60000 | no |\n| autodetection_retry | Sets the job re-check interval in seconds. | 0 | no |\n| penalty | Indicates whether to apply penalty to update_every in case of failures. | yes | no |\n| name | 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. | local | no |\n| url | The URL to fetch Monit's metrics. | http://localhost:2812 | yes |\n| user | Username in case the URL is password protected. | | no |\n| pass | Password in case the URL is password protected. | | no |\n\n#### Examples\n\n##### Basic\n\nA basic configuration example.\n\n```yaml\nlocalhost:\n name : 'local'\n url : 'http://localhost:2812'\n\n```\n##### Basic Authentication\n\nExample using basic username and password in order to authenticate.\n\n```yaml\nlocalhost:\n name : 'local'\n url : 'http://localhost:2812'\n user: 'foo'\n pass: 'bar'\n\n```\n##### Multi-instance\n\n> **Note**: When you define multiple jobs, their names must be unique.\n\nCollecting metrics from local and remote instances.\n\n\n```yaml\nlocalhost:\n name: 'local'\n url: 'http://localhost:2812'\n\nremote_job:\n name: 'remote'\n url: 'http://192.0.2.1:2812'\n\n```\n",
19177
- "troubleshooting": "## Troubleshooting\n\n### Debug Mode\n\nTo troubleshoot issues with the `monit` collector, run the `python.d.plugin` with the debug option enabled. The output\nshould give you clues as to why the collector isn't working.\n\n- Navigate to the `plugins.d` directory, usually at `/usr/libexec/netdata/plugins.d/`. If that's not the case on\n your system, open `netdata.conf` and look for the `plugins` setting under `[directories]`.\n\n ```bash\n cd /usr/libexec/netdata/plugins.d/\n ```\n\n- Switch to the `netdata` user.\n\n ```bash\n sudo -u netdata -s\n ```\n\n- Run the `python.d.plugin` to debug the collector:\n\n ```bash\n ./python.d.plugin monit debug trace\n ```\n\n### Getting Logs\n\nIf you're encountering problems with the `monit` collector, follow these steps to retrieve logs and identify potential issues:\n\n- **Run the command** specific to your system (systemd, non-systemd, or Docker container).\n- **Examine the output** for any warnings or error messages that might indicate issues. These messages should provide clues about the root cause of the problem.\n\n#### System with systemd\n\nUse the following command to view logs generated since the last Netdata service restart:\n\n```bash\njournalctl _SYSTEMD_INVOCATION_ID=\"$(systemctl show --value --property=InvocationID netdata)\" --namespace=netdata --grep monit\n```\n\n#### System without systemd\n\nLocate the collector log file, typically at `/var/log/netdata/collector.log`, and use `grep` to filter for collector's name:\n\n```bash\ngrep monit /var/log/netdata/collector.log\n```\n\n**Note**: This method shows logs from all restarts. Focus on the **latest entries** for troubleshooting current issues.\n\n#### Docker Container\n\nIf your Netdata runs in a Docker container named \"netdata\" (replace if different), use this command:\n\n```bash\ndocker logs netdata 2>&1 | grep monit\n```\n\n",
19178
- "alerts": "## Alerts\n\nThere are no alerts configured by default for this integration.\n",
19179
- "metrics": "## Metrics\n\nMetrics grouped by *scope*.\n\nThe scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.\n\n\n\n### Per Monit instance\n\nThese metrics refer to the entire monitored application.\n\nThis scope has no labels.\n\nMetrics:\n\n| Metric | Dimensions | Unit |\n|:------|:----------|:----|\n| monit.filesystems | a dimension per target | filesystems |\n| monit.directories | a dimension per target | directories |\n| monit.files | a dimension per target | files |\n| monit.fifos | a dimension per target | pipes |\n| monit.programs | a dimension per target | programs |\n| monit.services | a dimension per target | processes |\n| monit.process_uptime | a dimension per target | seconds |\n| monit.process_threads | a dimension per target | threads |\n| monit.process_childrens | a dimension per target | children |\n| monit.hosts | a dimension per target | hosts |\n| monit.host_latency | a dimension per target | milliseconds |\n| monit.networks | a dimension per target | interfaces |\n\n",
19180
- "integration_type": "collector",
19181
- "id": "python.d.plugin-monit-Monit",
19182
- "edit_link": "https://github.com/netdata/netdata/blob/master/src/collectors/python.d.plugin/monit/metadata.yaml",
19183
- "related_resources": ""
19184
- },
19187
{
19188
"meta": {
19189
"plugin_name": "python.d.plugin",
src/collectors/COLLECTORS.md
+1
-1
@@ -1041,7 +1041,7 @@ If you don't see the app/service you'd like to monitor in this list:
1041
1042
- [Idle OS Jitter](https://github.com/netdata/netdata/blob/master/src/collectors/idlejitter.plugin/integrations/idle_os_jitter.md)
1043
1044
-- [Monit](https://github.com/netdata/netdata/blob/master/src/collectors/python.d.plugin/monit/integrations/monit.md)
1044
+- [Monit](https://github.com/netdata/netdata/blob/master/src/go/plugin/go.d/modules/monit/integrations/monit.md)
1045
1046
- [Ping](https://github.com/netdata/netdata/blob/master/src/go/plugin/go.d/modules/ping/integrations/ping.md)
1047
src/go/plugin/go.d/modules/monit/README.md
new
+1
@@ -0,0 +1 @@
1
+integrations/monit.md
\ No newline at end of file
src/go/plugin/go.d/modules/monit/integrations/monit.md
new
+253
@@ -0,0 +1,253 @@
1
+<!--startmeta
2
+custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/go/plugin/go.d/modules/monit/README.md"
3
+meta_yaml: "https://github.com/netdata/netdata/edit/master/src/go/plugin/go.d/modules/monit/metadata.yaml"
4
+sidebar_label: "Monit"
5
+learn_status: "Published"
6
+learn_rel_path: "Collecting Metrics/Synthetic Checks"
7
+most_popular: False
8
+message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE COLLECTOR'S metadata.yaml FILE"
9
+endmeta-->
10
+
11
+# Monit
12
+
13
+
14
+<img src="https://netdata.cloud/img/monit.png" width="150"/>
15
+
16
+
17
+Plugin: go.d.plugin
18
+Module: monit
19
+
20
+<img src="https://img.shields.io/badge/maintained%20by-Netdata-%2300ab44" />
21
+
22
+## Overview
23
+
24
+This collector monitors status of Monit's service checks.
25
+
26
+
27
+It sends HTTP requests to the Monit `/_status?format=xml&level=full` endpoint.
28
+
29
+
30
+This collector is supported on all platforms.
31
+
32
+This collector supports collecting metrics from multiple instances of this integration, including remote instances.
33
+
34
+
35
+### Default Behavior
36
+
37
+#### Auto-Detection
38
+
39
+By default, it detects Monit instances running on localhost that are listening on port 2812.
40
+On startup, it tries to collect metrics from:
41
+
42
+- http://127.0.0.1:2812
43
+
44
+
45
+#### Limits
46
+
47
+The default configuration for this integration does not impose any limits on data collection.
48
+
49
+#### Performance Impact
50
+
51
+The default configuration for this integration is not expected to impose a significant performance impact on the system.
52
+
53
+
54
+## Metrics
55
+
56
+Metrics grouped by *scope*.
57
+
58
+The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.
59
+
60
+
61
+
62
+### Per service
63
+
64
+These metrics refer to the monitored Service.
65
+
66
+Labels:
67
+
68
+| Label | Description |
69
+|:-----------|:----------------|
70
+| server_hostname | Hostname of the Monit server. |
71
+| service_check_name | Service check name. |
72
+| service_check_type | Service check type. |
73
+
74
+Metrics:
75
+
76
+| Metric | Dimensions | Unit |
77
+|:------|:----------|:----|
78
+| monit.service_check_status | ok, error, initializing, not_monitored | status |
79
+
80
+
81
+
82
+## Alerts
83
+
84
+There are no alerts configured by default for this integration.
85
+
86
+
87
+## Setup
88
+
89
+### Prerequisites
90
+
91
+#### Enable TCP PORT
92
+
93
+See [Syntax for TCP port](https://mmonit.com/monit/documentation/monit.html#TCP-PORT) for details.
94
+
95
+
96
+### Configuration
97
+
98
+#### File
99
+
100
+The configuration file name for this integration is `go.d/monit.conf`.
101
+
102
+
103
+You can edit the configuration file using the `edit-config` script from the
104
+Netdata [config directory](/docs/netdata-agent/configuration/README.md#the-netdata-config-directory).
105
+
106
+```bash
107
+cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
108
+sudo ./edit-config go.d/monit.conf
109
+```
110
+#### Options
111
+
112
+The following options can be defined globally: update_every, autodetection_retry.
113
+
114
+
115
+<details open><summary>Config options</summary>
116
+
117
+| Name | Description | Default | Required |
118
+|:----|:-----------|:-------|:--------:|
119
+| update_every | Data collection frequency. | 1 | no |
120
+| autodetection_retry | Recheck interval in seconds. Zero means no recheck will be scheduled. | 0 | no |
121
+| url | Server URL. | http://127.0.0.1:2812 | yes |
122
+| timeout | HTTP request timeout. | 1 | no |
123
+| username | Username for basic HTTP authentication. | admin | no |
124
+| password | Password for basic HTTP authentication. | monit | no |
125
+| proxy_url | Proxy URL. | | no |
126
+| proxy_username | Username for proxy basic HTTP authentication. | | no |
127
+| proxy_password | Password for proxy basic HTTP authentication. | | no |
128
+| method | HTTP request method. | GET | no |
129
+| body | HTTP request body. | | no |
130
+| headers | HTTP request headers. | | no |
131
+| not_follow_redirects | Redirect handling policy. Controls whether the client follows redirects. | no | no |
132
+| tls_skip_verify | Server certificate chain and hostname validation policy. Controls whether the client performs this check. | no | no |
133
+| tls_ca | Certification authority that the client uses when verifying the server's certificates. | | no |
134
+| tls_cert | Client TLS certificate. | | no |
135
+| tls_key | Client TLS key. | | no |
136
+
137
+</details>
138
+
139
+#### Examples
140
+
141
+##### HTTP authentication
142
+
143
+Basic HTTP authentication.
144
+
145
+<details open><summary>Config</summary>
146
+
147
+```yaml
148
+jobs:
149
+ - name: local
150
+ url: http://127.0.0.1:2812
151
+ username: admin
152
+ password: monit
153
+
154
+```
155
+</details>
156
+
157
+##### HTTPS with self-signed certificate
158
+
159
+With enabled HTTPS and self-signed certificate.
160
+
161
+<details open><summary>Config</summary>
162
+
163
+```yaml
164
+jobs:
165
+ - name: local
166
+ url: http://127.0.0.1:2812
167
+ tls_skip_verify: yes
168
+
169
+```
170
+</details>
171
+
172
+##### Multi-instance
173
+
174
+> **Note**: When you define multiple jobs, their names must be unique.
175
+
176
+Collecting metrics from local and remote instances.
177
+
178
+
179
+<details open><summary>Config</summary>
180
+
181
+```yaml
182
+jobs:
183
+ - name: local
184
+ url: http://127.0.0.1:2812
185
+
186
+ - name: remote
187
+ url: http://192.0.2.1:2812
188
+
189
+```
190
+</details>
191
+
192
+
193
+
194
+## Troubleshooting
195
+
196
+### Debug Mode
197
+
198
+To troubleshoot issues with the `monit` collector, run the `go.d.plugin` with the debug option enabled. The output
199
+should give you clues as to why the collector isn't working.
200
+
201
+- Navigate to the `plugins.d` directory, usually at `/usr/libexec/netdata/plugins.d/`. If that's not the case on
202
+ your system, open `netdata.conf` and look for the `plugins` setting under `[directories]`.
203
+
204
+ ```bash
205
+ cd /usr/libexec/netdata/plugins.d/
206
+ ```
207
+
208
+- Switch to the `netdata` user.
209
+
210
+ ```bash
211
+ sudo -u netdata -s
212
+ ```
213
+
214
+- Run the `go.d.plugin` to debug the collector:
215
+
216
+ ```bash
217
+ ./go.d.plugin -d -m monit
218
+ ```
219
+
220
+### Getting Logs
221
+
222
+If you're encountering problems with the `monit` collector, follow these steps to retrieve logs and identify potential issues:
223
+
224
+- **Run the command** specific to your system (systemd, non-systemd, or Docker container).
225
+- **Examine the output** for any warnings or error messages that might indicate issues. These messages should provide clues about the root cause of the problem.
226
+
227
+#### System with systemd
228
+
229
+Use the following command to view logs generated since the last Netdata service restart:
230
+
231
+```bash
232
+journalctl _SYSTEMD_INVOCATION_ID="$(systemctl show --value --property=InvocationID netdata)" --namespace=netdata --grep monit
233
+```
234
+
235
+#### System without systemd
236
+
237
+Locate the collector log file, typically at `/var/log/netdata/collector.log`, and use `grep` to filter for collector's name:
238
+
239
+```bash
240
+grep monit /var/log/netdata/collector.log
241
+```
242
+
243
+**Note**: This method shows logs from all restarts. Focus on the **latest entries** for troubleshooting current issues.
244
+
245
+#### Docker Container
246
+
247
+If your Netdata runs in a Docker container named "netdata" (replace if different), use this command:
248
+
249
+```bash
250
+docker logs netdata 2>&1 | grep monit
251
+```
252
+
253
+