summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/filecheck/metadata.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/go/collectors/go.d.plugin/modules/filecheck/metadata.yaml188
1 files changed, 188 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/filecheck/metadata.yaml b/src/go/collectors/go.d.plugin/modules/filecheck/metadata.yaml
new file mode 100644
index 000000000..57a121ec1
--- /dev/null
+++ b/src/go/collectors/go.d.plugin/modules/filecheck/metadata.yaml
@@ -0,0 +1,188 @@
+plugin_name: go.d.plugin
+modules:
+ - meta:
+ id: collector-go.d.plugin-filecheck
+ plugin_name: go.d.plugin
+ module_name: filecheck
+ monitored_instance:
+ name: Files and directories
+ link: ""
+ icon_filename: filesystem.svg
+ categories:
+ - data-collection.linux-systems
+ keywords:
+ - files
+ - directories
+ related_resources:
+ integrations:
+ list: []
+ info_provided_to_referring_integrations:
+ description: ""
+ most_popular: false
+ overview:
+ data_collection:
+ metrics_description: |
+ This collector monitors files and directories.
+ method_description: ""
+ supported_platforms:
+ include: []
+ exclude: []
+ multi_instance: true
+ additional_permissions:
+ description: |
+ This collector requires the DAC_READ_SEARCH capability, but it is set automatically during installation, so no manual configuration is needed.
+ default_behavior:
+ auto_detection:
+ description: ""
+ limits:
+ description: ""
+ performance_impact:
+ description: ""
+ setup:
+ prerequisites:
+ list: []
+ configuration:
+ file:
+ name: go.d/filecheck.conf
+ options:
+ description: |
+ The following options can be defined globally: update_every, autodetection_retry.
+ folding:
+ title: Config options
+ enabled: true
+ list:
+ - name: update_every
+ description: Data collection frequency.
+ default_value: 10
+ required: false
+ - name: autodetection_retry
+ description: Recheck interval in seconds. Zero means no recheck will be scheduled.
+ default_value: 0
+ required: false
+ - name: files
+ description: Files matching the selector will be monitored.
+ default_value: ""
+ required: true
+ detailed_description: |
+ Files matching the selector will be monitored.
+
+ - Logic: (pattern1 OR pattern2) AND !(pattern3 or pattern4)
+ - Pattern syntax: [shell file name pattern](https://golang.org/pkg/path/filepath/#Match)
+ - Syntax:
+
+ ```yaml
+ files:
+ includes:
+ - pattern1
+ - pattern2
+ excludes:
+ - pattern3
+ - pattern4
+ ```
+ - name: dirs
+ description: List of directories to monitor.
+ default_value: ""
+ required: true
+ detailed_description: |
+ Directories matching the selector will be monitored.
+
+ - Logic: (pattern1 OR pattern2) AND !(pattern3 or pattern4)
+ - Pattern syntax: [shell file name pattern](https://golang.org/pkg/path/filepath/#Match)
+ - Syntax:
+
+ ```yaml
+ dirs:
+ includes:
+ - pattern1
+ - pattern2
+ excludes:
+ - pattern3
+ - pattern4
+ ```
+ - name: discovery_every
+ description: Files and directories discovery interval.
+ default_value: 60
+ required: false
+ examples:
+ folding:
+ title: Config
+ enabled: true
+ list:
+ - name: Files
+ description: Files monitoring example configuration.
+ config: |
+ jobs:
+ - name: files_example
+ files:
+ include:
+ - '/path/to/file1'
+ - '/path/to/file2'
+ - '/path/to/*.log'
+ - name: Directories
+ description: Directories monitoring example configuration.
+ config: |
+ jobs:
+ - name: files_example
+ dirs:
+ collect_dir_size: no
+ include:
+ - '/path/to/dir1'
+ - '/path/to/dir2'
+ - '/path/to/dir3*'
+ troubleshooting:
+ problems:
+ list: []
+ alerts: []
+ metrics:
+ folding:
+ title: Metrics
+ enabled: false
+ description: ""
+ availability: []
+ scopes:
+ - name: global
+ description: TBD
+ labels: []
+ metrics:
+ - name: filecheck.file_existence
+ description: 'File Existence (0: not exists, 1: exists)'
+ unit: boolean
+ chart_type: line
+ dimensions:
+ - name: a dimension per file
+ - name: filecheck.file_mtime_ago
+ description: File Time Since the Last Modification
+ unit: seconds
+ chart_type: line
+ dimensions:
+ - name: a dimension per file
+ - name: filecheck.file_size
+ description: File Size
+ unit: bytes
+ chart_type: line
+ dimensions:
+ - name: a dimension per file
+ - name: filecheck.dir_existence
+ description: 'Dir Existence (0: not exists, 1: exists)'
+ unit: boolean
+ chart_type: line
+ dimensions:
+ - name: a dimension per directory
+ - name: filecheck.dir_mtime_ago
+ description: Dir Time Since the Last Modification
+ unit: seconds
+ chart_type: line
+ dimensions:
+ - name: a dimension per directory
+ - name: filecheck.dir_num_of_files
+ description: Dir Number of Files
+ unit: files
+ chart_type: line
+ dimensions:
+ - name: a dimension per directory
+ - name: filecheck.dir_size
+ description: Dir Size
+ unit: bytes
+ chart_type: line
+ dimensions:
+ - name: a dimension per directory