master
md 145 lines 4.08 KB
Rendered Raw
1 <!--startmeta
2 custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/collectors/freebsd.plugin/integrations/net.isr.md"
3 meta_yaml: "https://github.com/netdata/netdata/edit/master/src/collectors/freebsd.plugin/metadata.yaml"
4 sidebar_label: "net.isr"
5 learn_status: "Published"
6 learn_rel_path: "Collecting Metrics/Collectors/Networking"
7 message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE COLLECTOR'S metadata.yaml FILE"
8 endmeta-->
9
10 # net.isr
11
12
13 <img src="https://netdata.cloud/img/freebsd.svg" width="150"/>
14
15
16 Plugin: freebsd.plugin
17 Module: net.isr
18
19 <img src="https://img.shields.io/badge/maintained%20by-Netdata-%2300ab44" />
20
21 ## Overview
22
23 Collect information about system softnet stat.
24
25 The plugin calls `sysctl` 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 | netisr | Enable or disable general vision about softnet stat metrics. | yes | no |
66 | netisr per core | Enable or disable softnet stat metric per core. | yes | no |
67
68
69 </details>
70
71
72
73 #### via File
74
75 The configuration file name for this integration is `netdata.conf`.
76 Configuration for this specific integration is located in the `[plugin:freebsd:net.isr]` section within that file.
77
78 The file format is a modified INI syntax. The general structure is:
79
80 ```ini
81 [section1]
82 option1 = some value
83 option2 = some other value
84
85 [section2]
86 option3 = some third value
87 ```
88 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
89 Netdata [config directory](https://github.com/netdata/netdata/blob/master/docs/netdata-agent/configuration/README.md#locate-your-config-directory).
90
91 ```bash
92 cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
93 sudo ./edit-config netdata.conf
94 ```
95
96 ##### Examples
97 There are no configuration examples.
98
99
100
101 ## Alerts
102
103
104 The following alerts are available:
105
106 | Alert name | On metric | Description |
107 |:------------|:----------|:------------|
108 | [ 1min_netdev_backlog_exceeded ](https://github.com/netdata/netdata/blob/master/src/health/health.d/softnet.conf) | system.softnet_stat | average number of dropped packets in the last minute due to exceeded net.core.netdev_max_backlog |
109 | [ 1min_netdev_budget_ran_outs ](https://github.com/netdata/netdata/blob/master/src/health/health.d/softnet.conf) | system.softnet_stat | average number of times ksoftirq ran out of sysctl net.core.netdev_budget or net.core.netdev_budget_usecs with work remaining over the last minute (this can be a cause for dropped packets) |
110 | [ 10min_netisr_backlog_exceeded ](https://github.com/netdata/netdata/blob/master/src/health/health.d/softnet.conf) | system.softnet_stat | average number of drops in the last minute due to exceeded sysctl net.route.netisr_maxqlen (this can be a cause for dropped packets) |
111
112
113 ## Metrics
114
115 Metrics grouped by *scope*.
116
117 The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.
118
119
120
121 ### Per net.isr instance
122
123 These metrics show statistics about softnet stats.
124
125 This scope has no labels.
126
127 Metrics:
128
129 | Metric | Dimensions | Unit |
130 |:------|:----------|:----|
131 | system.softnet_stat | dispatched, hybrid_dispatched, qdrops, queued | events/s |
132
133 ### Per core
134
135
136
137 This scope has no labels.
138
139 Metrics:
140
141 | Metric | Dimensions | Unit |
142 |:------|:----------|:----|
143 | cpu.softnet_stat | dispatched, hybrid_dispatched, qdrops, queued | events/s |
144
145