master
md 136 lines 3.77 KB
Rendered Raw
1 <!--startmeta
2 custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/collectors/freebsd.plugin/integrations/getmntinfo.md"
3 meta_yaml: "https://github.com/netdata/netdata/edit/master/src/collectors/freebsd.plugin/metadata.yaml"
4 sidebar_label: "getmntinfo"
5 learn_status: "Published"
6 learn_rel_path: "Collecting Metrics/Collectors/Storage and Filesystems"
7 message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE COLLECTOR'S metadata.yaml FILE"
8 endmeta-->
9
10 # getmntinfo
11
12
13 <img src="https://netdata.cloud/img/hard-drive.svg" width="150"/>
14
15
16 Plugin: freebsd.plugin
17 Module: getmntinfo
18
19 <img src="https://img.shields.io/badge/maintained%20by-Netdata-%2300ab44" />
20
21 ## Overview
22
23 Collect information per mount point.
24
25 The plugin calls `getmntinfo` function to collect necessary data.
26
27 This collector is supported on all platforms.
28
29 This collector supports collecting metrics from multiple instances of this integration, including remote instances.
30
31
32 ### Default Behavior
33
34 #### Auto-Detection
35
36 This integration doesn't support auto-detection.
37
38 #### Limits
39
40 The default configuration for this integration does not impose any limits on data collection.
41
42 #### Performance Impact
43
44 The default configuration for this integration is not expected to impose a significant performance impact on the system.
45
46 ## Setup
47
48
49 ### Prerequisites
50
51 No action required.
52
53 ### Configuration
54
55 #### Options
56
57
58
59 <details open><summary>Config options</summary>
60
61
62
63 | Option | Description | Default | Required |
64 |:-----|:------------|:--------|:---------:|
65 | enable new mount points detected at runtime | Cheeck new mount points during runtime. | auto | no |
66 | space usage for all disks | Enable or disable space usage for all disks metric. | auto | no |
67 | inodes usage for all disks | Enable or disable inodes usage for all disks metric. | auto | no |
68 | exclude space metrics on paths | Do not show metrics for listed paths. | /proc/* | no |
69 | exclude space metrics on filesystems | Do not monitor listed filesystems. | autofs procfs subfs devfs none | no |
70
71
72 </details>
73
74
75
76 #### via File
77
78 The configuration file name for this integration is `netdata.conf`.
79 Configuration for this specific integration is located in the `[plugin:freebsd:getmntinfo]` section within that file.
80
81 The file format is a modified INI syntax. The general structure is:
82
83 ```ini
84 [section1]
85 option1 = some value
86 option2 = some other value
87
88 [section2]
89 option3 = some third value
90 ```
91 You can edit the configuration file using the [`edit-config`](https://github.com/netdata/netdata/blob/master/docs/netdata-agent/configuration/README.md#edit-configuration-files) script from the
92 Netdata [config directory](https://github.com/netdata/netdata/blob/master/docs/netdata-agent/configuration/README.md#locate-your-config-directory).
93
94 ```bash
95 cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
96 sudo ./edit-config netdata.conf
97 ```
98
99 ##### Examples
100 There are no configuration examples.
101
102
103
104 ## Alerts
105
106
107 The following alerts are available:
108
109 | Alert name | On metric | Description |
110 |:------------|:----------|:------------|
111 | [ disk_space_usage ](https://github.com/netdata/netdata/blob/master/src/health/health.d/disks.conf) | disk.space | disk ${label:mount_point} space utilization |
112 | [ disk_inode_usage ](https://github.com/netdata/netdata/blob/master/src/health/health.d/disks.conf) | disk.inodes | disk ${label:mount_point} inode utilization |
113
114
115 ## Metrics
116
117 Metrics grouped by *scope*.
118
119 The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.
120
121
122
123 ### Per mount point
124
125 These metrics show detailss about mount point usages.
126
127 This scope has no labels.
128
129 Metrics:
130
131 | Metric | Dimensions | Unit |
132 |:------|:----------|:----|
133 | disk.space | avail, used, reserved_for_root | GiB |
134 | disk.inodes | avail, used, reserved_for_root | inodes |
135
136