Swap class and type attributes in stock alarm configurations (#11240)
* swap type and class * edit REFERENCE.md
Emmanuel Vasilakis committed
Jun 14, 2021 at 13:56 UTC
f6ec79cfb8e10b421655df5af1336c91cf41ded4
73 files changed
+591
-577
health/REFERENCE.md
+33
-22
@@ -59,9 +59,9 @@ Netdata parses the following lines. Beneath the table is an in-depth explanation
59
| --------------------------------------------------- | --------------- | ------------------------------------------------------------------------------------- |
60
| [`alarm`/`template`](#alarm-line-alarm-or-template) | yes | Name of the alarm/template. |
61
| [`on`](#alarm-line-on) | yes | The chart this alarm should attach to. |
62
-| [`class`](#alarm-line-class) | no | The general classification of the alarm. |
63
-| [`component`](#alarm-line-component) | no | Specify the component of the class of the alarm. |
64
-| [`type`](#alarm-line-type) | no | The type of error the alarm monitors. |
62
+| [`class`](#alarm-line-class) | no | The general alarm classification. |
63
+| [`type`](#alarm-line-type) | no | What area of the system the alarm monitors. |
64
+| [`component`](#alarm-line-component) | no | Specific component of the type of the alarm. |
65
| [`os`](#alarm-line-os) | no | Which operating systems to run this chart. |
66
| [`hosts`](#alarm-line-hosts) | no | Which hostnames will run this alarm. |
67
| [`plugin`](#alarm-line-plugin) | no | Restrict an alarm or template to only a certain plugin. |
@@ -136,17 +136,38 @@ If you create a template using the `disk.io` context, it will apply an alarm to
136
137
#### Alarm line `class`
138
139
-Specify the classification of the alarm or template.
139
+This indicates the type of error (or general problem area) that the alarm or template applies to. For example, `Latency` can be used for alarms that trigger on latency issues on network interfaces, web servers, or database systems. Example:
140
141
-Class can be used to indicate the broader area of the system that the alarm applies to. For example, under the general `Database` class, you can group together alarms that operate on various database systems, like `MySQL`, `CockroachDB`, `CouchDB` etc. Example:
141
+```yaml
142
+class: Latency
143
+```
144
+
145
+<details>
146
+<summary>Netdata's stock alarms use the following `class` attributes by default:</summary>
147
+
148
+| Class |
149
+| ----------------|
150
+| Errors |
151
+| Latency |
152
+| Utilization |
153
+| Workload |
154
+
155
+
156
+</details>
157
+
158
+`class` will default to `Unknown` if the line is missing from the alarm configuration.
159
+
160
+#### Alarm line `type`
161
+
162
+Type can be used to indicate the broader area of the system that the alarm applies to. For example, under the general `Database` type, you can group together alarms that operate on various database systems, like `MySQL`, `CockroachDB`, `CouchDB` etc. Example:
163
164
```yaml
144
-class: Database
165
+type: Database
166
```
167
<details>
147
-<summary>Netdata's stock alarms use the following `class` attributes by default, but feel free to adjust for your own requirements.</summary>
168
+<summary>Netdata's stock alarms use the following `type` attributes by default, but feel free to adjust for your own requirements.</summary>
169
149
-| Class | Description |
170
+| Type | Description |
171
| ------------------------ | ------------------------------------------------------------------------------------------------ |
172
| Ad Filtering | Services related to Ad Filtering (like pi-hole) |
173
| Certificates | Certificates monitoring related |
@@ -162,7 +183,7 @@ class: Database
183
| Linux | Services specific to Linux (e.g. systemd) |
184
| Messaging | Alerts for message passing services (e.g. vernemq) |
185
| Netdata | Internal Netdata components monitoring |
165
-| Other | Use as a general class of alerts |
186
+| Other | When an alert doesn't fit in other types. |
187
| Power Supply | Alerts from power supply related services (e.g. apcupsd) |
188
| Search engine | Alerts for search services (e.g. elasticsearch) |
189
| Storage | Class for alerts dealing with storage services (storage devices typically live under `System`) |
@@ -174,26 +195,16 @@ class: Database
195
196
</details>
197
177
-If an alarm configuration is missing the `class` line, its value will default to `Unknown`.
198
+If an alarm configuration is missing the `type` line, its value will default to `Unknown`.
199
200
#### Alarm line `component`
201
181
-Component can be used to narrow down what the previous `class` value specifies for each alarm or template. Continuing from the previous example, `component` might include `MySQL`, `CockroachDB`, `MongoDB`, all under the same `Database` classification. Example:
202
+Component can be used to narrow down what the previous `type` value specifies for each alarm or template. Continuing from the previous example, `component` might include `MySQL`, `CockroachDB`, `MongoDB`, all under the same `Database` type. Example:
203
204
```yaml
205
component: MySQL
206
```
186
-As with the `class` line, if `component` is missing from the configuration, its value will default to `Unknown`.
187
-
188
-#### Alarm line `type`
189
-
190
-This indicates the type of error (or general problem area) that the alarm or template applies to. For example, `Latency` can be used for alarms that trigger on latency issues in network interfaces, web servers, or database systems. Example:
191
-
192
-```yaml
193
-type: Latency
194
-```
195
-
196
-`type` will also (as with `class` and `component`) default to `Unknown` if the line is missing from the alarm configuration.
207
+As with the `class` and `type` line, if `component` is missing from the configuration, its value will default to `Unknown`.
208
209
#### Alarm line `os`
210
health/health.d/adaptec_raid.conf
+4
-4
@@ -3,9 +3,9 @@
3
4
template: adaptec_raid_ld_status
5
on: adaptec_raid.ld_status
6
- class: System
6
+ class: Errors
7
+ type: System
8
component: RAID
8
- type: Errors
9
lookup: max -10s foreach *
10
units: bool
11
every: 10s
@@ -18,9 +18,9 @@ component: RAID
18
19
template: adaptec_raid_pd_state
20
on: adaptec_raid.pd_state
21
- class: System
21
+ class: Errors
22
+ type: System
23
component: RAID
23
- type: Errors
24
lookup: max -10s foreach *
25
units: bool
26
every: 10s
health/health.d/anomalies.conf
+4
-4
@@ -2,9 +2,9 @@
2
3
template: anomalies_anomaly_probabilities
4
on: anomalies.probability
5
- class: Netdata
5
+ class: Errors
6
+ type: Netdata
7
component: ML
7
- type: Errors
8
lookup: average -2m foreach *
9
every: 1m
10
warn: $this > 50
@@ -14,9 +14,9 @@ component: ML
14
15
template: anomalies_anomaly_flags
16
on: anomalies.anomaly
17
- class: Netdata
17
+ class: Errors
18
+ type: Netdata
19
component: ML
19
- type: Errors
20
lookup: sum -2m foreach *
21
every: 1m
22
warn: $this > 10
health/health.d/apcupsd.conf
+6
-6
@@ -2,9 +2,9 @@
2
3
template: apcupsd_10min_ups_load
4
on: apcupsd.load
5
- class: Power Supply
5
+ class: Utilization
6
+ type: Power Supply
7
component: UPS
7
- type: Utilization
8
os: *
9
hosts: *
10
lookup: average -10m unaligned of percentage
@@ -20,9 +20,9 @@ component: UPS
20
# Fire the alarm as soon as it's going on battery (99% charge) and clear only when full.
21
template: apcupsd_ups_charge
22
on: apcupsd.charge
23
- class: Power Supply
23
+ class: Errors
24
+ type: Power Supply
25
component: UPS
25
- type: Errors
26
os: *
27
hosts: *
28
lookup: average -60s unaligned of charge
@@ -36,9 +36,9 @@ component: UPS
36
37
template: apcupsd_last_collected_secs
38
on: apcupsd.load
39
- class: Power Supply
39
+ class: Latency
40
+ type: Power Supply
41
component: UPS device
41
- type: Latency
42
calc: $now - $last_collected_t
43
every: 10s
44
units: seconds ago
health/health.d/backend.conf
+6
-6
@@ -1,9 +1,9 @@
1
# Alert that backends subsystem will be disabled soon
2
alarm: backend_metrics_eol
3
on: netdata.backend_metrics
4
- class: Netdata
4
+ class: Errors
5
+ type: Netdata
6
component: Exporting engine
6
- type: Errors
7
units: boolean
8
calc: $now - $last_collected_t
9
every: 1m
@@ -16,9 +16,9 @@ component: Exporting engine
16
17
alarm: backend_last_buffering
18
on: netdata.backend_metrics
19
- class: Netdata
19
+ class: Latency
20
+ type: Netdata
21
component: Exporting engine
21
- type: Latency
22
calc: $now - $last_collected_t
23
units: seconds ago
24
every: 10s
@@ -30,9 +30,9 @@ component: Exporting engine
30
31
alarm: backend_metrics_sent
32
on: netdata.backend_metrics
33
- class: Netdata
33
+ class: Workload
34
+ type: Netdata
35
component: Exporting engine
35
- type: Workload
36
units: %
37
calc: abs($sent) * 100 / abs($buffered)
38
every: 10s
health/health.d/bcache.conf
+4
-4
@@ -1,9 +1,9 @@
1
2
template: bcache_cache_errors
3
on: disk.bcache_cache_read_races
4
- class: System
4
+ class: Errors
5
+ type: System
6
component: Disk
6
- type: Errors
7
lookup: sum -1m unaligned absolute
8
units: errors
9
every: 1m
@@ -16,9 +16,9 @@ component: Disk
16
17
template: bcache_cache_dirty
18
on: disk.bcache_cache_alloc
19
- class: System
19
+ class: Utilization
20
+ type: System
21
component: Disk
21
- type: Utilization
22
calc: $dirty + $metadata + $undefined
23
units: %
24
every: 1m
health/health.d/beanstalkd.conf
+2
-2
@@ -2,9 +2,9 @@
2
3
template: beanstalk_server_buried_jobs
4
on: beanstalk.current_jobs
5
- class: Messaging
5
+ class: Workload
6
+ type: Messaging
7
component: Beanstalk
7
- type: Workload
8
calc: $buried
9
units: jobs
10
every: 10s
health/health.d/bind_rndc.conf
+2
-2
@@ -1,8 +1,8 @@
1
template: bind_rndc_stats_file_size
2
on: bind_rndc.stats_size
3
- class: DNS
3
+ class: Utilization
4
+ type: DNS
5
component: BIND
5
- type: Utilization
6
units: megabytes
7
every: 60
8
calc: $stats_size
health/health.d/boinc.conf
+8
-8
@@ -3,9 +3,9 @@
3
# Warn on any compute errors encountered.
4
template: boinc_compute_errors
5
on: boinc.states
6
- class: Computing
6
+ class: Errors
7
+ type: Computing
8
component: BOINC
8
- type: Errors
9
os: *
10
hosts: *
11
families: *
@@ -21,9 +21,9 @@ component: BOINC
21
# Warn on lots of upload errors
22
template: boinc_upload_errors
23
on: boinc.states
24
- class: Computing
24
+ class: Errors
25
+ type: Computing
26
component: BOINC
26
- type: Errors
27
os: *
28
hosts: *
29
families: *
@@ -39,9 +39,9 @@ component: BOINC
39
# Warn on the task queue being empty
40
template: boinc_total_tasks
41
on: boinc.tasks
42
- class: Computing
42
+ class: Utilization
43
+ type: Computing
44
component: BOINC
44
- type: Utilization
45
os: *
46
hosts: *
47
families: *
@@ -57,9 +57,9 @@ component: BOINC
57
# Warn on no active tasks with a non-empty queue
58
template: boinc_active_tasks
59
on: boinc.tasks
60
- class: Computing
60
+ class: Utilization
61
+ type: Computing
62
component: BOINC
62
- type: Utilization
63
os: *
64
hosts: *
65
families: *
health/health.d/btrfs.conf
+8
-8
@@ -1,9 +1,9 @@
1
2
template: btrfs_allocated
3
on: btrfs.disk
4
- class: System
4
+ class: Utilization
5
+ type: System
6
component: File system
6
- type: Utilization
7
os: *
8
hosts: *
9
families: *
@@ -18,9 +18,9 @@ component: File system
18
19
template: btrfs_data
20
on: btrfs.data
21
- class: System
21
+ class: Utilization
22
+ type: System
23
component: File system
23
- type: Utilization
24
os: *
25
hosts: *
26
families: *
@@ -35,9 +35,9 @@ component: File system
35
36
template: btrfs_metadata
37
on: btrfs.metadata
38
- class: System
38
+ class: Utilization
39
+ type: System
40
component: File system
40
- type: Utilization
41
os: *
42
hosts: *
43
families: *
@@ -52,9 +52,9 @@ component: File system
52
53
template: btrfs_system
54
on: btrfs.system
55
- class: System
55
+ class: Utilization
56
+ type: System
57
component: File system
57
- type: Utilization
58
os: *
59
hosts: *
60
families: *
health/health.d/ceph.conf
+2
-2
@@ -2,9 +2,9 @@
2
3
template: ceph_cluster_space_usage
4
on: ceph.general_usage
5
- class: Storage
5
+ class: Utilization
6
+ type: Storage
7
component: Ceph
7
- type: Utilization
8
calc: $used * 100 / ($used + $avail)
9
units: %
10
every: 1m
health/health.d/cgroups.conf
+4
-4
@@ -3,9 +3,9 @@
3
4
template: cgroup_10min_cpu_usage
5
on: cgroup.cpu_limit
6
- class: Cgroups
6
+ class: Utilization
7
+ type: Cgroups
8
component: CPU
8
- type: Utilization
9
os: linux
10
hosts: *
11
lookup: average -10m unaligned
@@ -19,9 +19,9 @@ component: CPU
19
20
template: cgroup_ram_in_use
21
on: cgroup.mem_usage
22
- class: Cgroups
22
+ class: Utilization
23
+ type: Cgroups
24
component: Memory
24
- type: Utilization
25
os: linux
26
hosts: *
27
calc: ($ram) * 100 / $memory_limit
health/health.d/cockroachdb.conf
+8
-8
@@ -3,9 +3,9 @@
3
4
template: cockroachdb_used_storage_capacity
5
on: cockroachdb.storage_used_capacity_percentage
6
- class: Database
6
+ class: Utilization
7
+ type: Database
8
component: CockroachDB
8
- type: Utilization
9
calc: $capacity_used_percent
10
units: %
11
every: 10s
@@ -17,9 +17,9 @@ component: CockroachDB
17
18
template: cockroachdb_used_usable_storage_capacity
19
on: cockroachdb.storage_used_capacity_percentage
20
- class: Database
20
+ class: Utilization
21
+ type: Database
22
component: CockroachDB
22
- type: Utilization
23
calc: $capacity_usable_used_percent
24
units: %
25
every: 10s
@@ -33,9 +33,9 @@ component: CockroachDB
33
34
template: cockroachdb_unavailable_ranges
35
on: cockroachdb.ranges_replication_problem
36
- class: Database
36
+ class: Utilization
37
+ type: Database
38
component: CockroachDB
38
- type: Utilization
39
calc: $ranges_unavailable
40
units: num
41
every: 10s
@@ -48,9 +48,9 @@ component: CockroachDB
48
49
template: cockroachdb_open_file_descriptors_limit
50
on: cockroachdb.process_file_descriptors
51
- class: Database
51
+ class: Utilization
52
+ type: Database
53
component: CockroachDB
53
- type: Utilization
54
calc: $sys_fd_open/$sys_fd_softlimit * 100
55
units: %
56
every: 10s
health/health.d/cpu.conf
+8
-8
@@ -3,9 +3,9 @@
3
4
template: 10min_cpu_usage
5
on: system.cpu
6
- class: System
6
+ class: Utilization
7
+ type: System
8
component: CPU
8
- type: Utilization
9
os: linux
10
hosts: *
11
lookup: average -10m unaligned of user,system,softirq,irq,guest
@@ -19,9 +19,9 @@ component: CPU
19
20
template: 10min_cpu_iowait
21
on: system.cpu
22
- class: System
22
+ class: Utilization
23
+ type: System
24
component: CPU
24
- type: Utilization
25
os: linux
26
hosts: *
27
lookup: average -10m unaligned of iowait
@@ -35,9 +35,9 @@ component: CPU
35
36
template: 20min_steal_cpu
37
on: system.cpu
38
- class: System
38
+ class: Latency
39
+ type: System
40
component: CPU
40
- type: Latency
41
os: linux
42
hosts: *
43
lookup: average -20m unaligned of steal
@@ -52,9 +52,9 @@ component: CPU
52
## FreeBSD
53
template: 10min_cpu_usage
54
on: system.cpu
55
- class: System
55
+ class: Utilization
56
+ type: System
57
component: CPU
57
- type: Utilization
58
os: freebsd
59
hosts: *
60
lookup: average -10m unaligned of user,system,interrupt
health/health.d/dbengine.conf
+8
-8
@@ -3,9 +3,9 @@
3
4
alarm: 10min_dbengine_global_fs_errors
5
on: netdata.dbengine_global_errors
6
- class: Netdata
6
+ class: Errors
7
+ type: Netdata
8
component: DB engine
8
- type: Errors
9
os: linux freebsd macos
10
hosts: *
11
lookup: sum -10m unaligned of fs_errors
@@ -18,9 +18,9 @@ component: DB engine
18
19
alarm: 10min_dbengine_global_io_errors
20
on: netdata.dbengine_global_errors
21
- class: Netdata
21
+ class: Errors
22
+ type: Netdata
23
component: DB engine
23
- type: Errors
24
os: linux freebsd macos
25
hosts: *
26
lookup: sum -10m unaligned of io_errors
@@ -33,9 +33,9 @@ component: DB engine
33
34
alarm: 10min_dbengine_global_flushing_warnings
35
on: netdata.dbengine_global_errors
36
- class: Netdata
36
+ class: Errors
37
+ type: Netdata
38
component: DB engine
38
- type: Errors
39
os: linux freebsd macos
40
hosts: *
41
lookup: sum -10m unaligned of pg_cache_over_half_dirty_events
@@ -49,9 +49,9 @@ component: DB engine
49
50
alarm: 10min_dbengine_global_flushing_errors
51
on: netdata.dbengine_long_term_page_stats
52
- class: Netdata
52
+ class: Errors
53
+ type: Netdata
54
component: DB engine
54
- type: Errors
55
os: linux freebsd macos
56
hosts: *
57
lookup: sum -10m unaligned of flushing_pressure_deletions
health/health.d/disks.conf
+8
-8
@@ -11,9 +11,9 @@
11
12
template: disk_space_usage
13
on: disk.space
14
- class: System
14
+ class: Utilization
15
+ type: System
16
component: Disk
16
- type: Utilization
17
os: linux freebsd
18
hosts: *
19
families: !/dev !/dev/* !/run !/run/* *
@@ -28,9 +28,9 @@ component: Disk
28
29
template: disk_inode_usage
30
on: disk.inodes
31
- class: System
31
+ class: Utilization
32
+ type: System
33
component: Disk
33
- type: Utilization
34
os: linux freebsd
35
hosts: *
36
families: !/dev !/dev/* !/run !/run/* *
@@ -136,9 +136,9 @@ component: Disk
136
137
template: 10min_disk_utilization
138
on: disk.util
139
- class: System
139
+ class: Utilization
140
+ type: System
141
component: Disk
141
- type: Utilization
142
os: linux freebsd
143
hosts: *
144
families: *
@@ -158,9 +158,9 @@ component: Disk
158
159
template: 10min_disk_backlog
160
on: disk.backlog
161
- class: System
161
+ class: Latency
162
+ type: System
163
component: Disk
163
- type: Latency
164
os: linux
165
hosts: *
166
families: *
health/health.d/dns_query.conf
+2
-2
@@ -3,9 +3,9 @@
3
4
template: dns_query_time_query_time
5
on: dns_query_time.query_time
6
- class: DNS
6
+ class: Latency
7
+ type: DNS
8
component: DNS
8
- type: Latency
9
lookup: average -10s unaligned foreach *
10
units: ms
11
every: 10s
health/health.d/dnsmasq_dhcp.conf
+2
-2
@@ -2,9 +2,9 @@
2
3
template: dnsmasq_dhcp_dhcp_range_utilization
4
on: dnsmasq_dhcp.dhcp_range_utilization
5
- class: DHCP
5
+ class: Utilization
6
+ type: DHCP
7
component: Dnsmasq
7
- type: Utilization
8
every: 10s
9
units: %
10
calc: $used
health/health.d/dockerd.conf
+2
-2
@@ -1,8 +1,8 @@
1
template: docker_unhealthy_containers
2
on: docker.unhealthy_containers
3
- class: Containers
3
+ class: Errors
4
+ type: Containers
5
component: Docker
5
- type: Errors
6
units: unhealthy containers
7
every: 10s
8
lookup: average -10s
health/health.d/elasticsearch.conf
+2
-2
@@ -3,9 +3,9 @@
3
4
template: elasticsearch_last_collected
5
on: elasticsearch.cluster_health_status
6
- class: Search engine
6
+ class: Latency
7
+ type: Search engine
8
component: Elasticsearch
8
- type: Latency
9
calc: $now - $last_collected_t
10
units: seconds ago
11
every: 10s
health/health.d/entropy.conf
+2
-2
@@ -5,9 +5,9 @@
5
6
alarm: lowest_entropy
7
on: system.entropy
8
- class: System
8
+ class: Utilization
9
+ type: System
10
component: Cryptography
10
- type: Utilization
11
os: linux
12
hosts: *
13
lookup: min -5m unaligned
health/health.d/exporting.conf
+16
-13
@@ -1,22 +1,25 @@
1
2
-template: exporting_last_buffering
3
-families: *
4
- on: exporting_data_size
5
- calc: $now - $last_collected_t
6
- units: seconds ago
7
- every: 10s
8
- warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
9
- crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
10
- delay: down 5m multiplier 1.5 max 1h
11
- info: number of seconds since the last successful buffering of exporting data
12
- to: dba
2
+ template: exporting_last_buffering
3
+ families: *
4
+ on: exporting_data_size
5
+ class: Latency
6
+ type: Netdata
7
+component: Exporting engine
8
+ calc: $now - $last_collected_t
9
+ units: seconds ago
10
+ every: 10s
11
+ warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
12
+ crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
13
+ delay: down 5m multiplier 1.5 max 1h
14
+ info: number of seconds since the last successful buffering of exporting data
15
+ to: dba
16
17
template: exporting_metrics_sent
18
families: *
19
on: exporting_data_size
17
- class: Netdata
20
+ class: Workload
21
+ type: Netdata
22
component: Exporting engine
19
- type: Workload
23
units: %
24
calc: abs($sent) * 100 / abs($buffered)
25
every: 10s
health/health.d/fping.conf
+8
-8
@@ -2,9 +2,9 @@
2
template: fping_last_collected_secs
3
families: *
4
on: fping.latency
5
- class: Other
5
+ class: Latency
6
+ type: Other
7
component: Network
7
- type: Latency
8
calc: $now - $last_collected_t
9
units: seconds ago
10
every: 10s
@@ -17,9 +17,9 @@ component: Network
17
template: fping_host_reachable
18
families: *
19
on: fping.latency
20
- class: Other
20
+ class: Errors
21
+ type: Other
22
component: Network
22
- type: Errors
23
calc: $average != nan
24
units: up/down
25
every: 10s
@@ -31,9 +31,9 @@ component: Network
31
template: fping_host_latency
32
families: *
33
on: fping.latency
34
- class: Other
34
+ class: Latency
35
+ type: Other
36
component: Network
36
- type: Latency
37
lookup: average -10s unaligned of average
38
units: ms
39
every: 10s
@@ -48,9 +48,9 @@ component: Network
48
template: fping_packet_loss
49
families: *
50
on: fping.quality
51
- class: System
51
+ class: Errors
52
+ type: System
53
component: Network
53
- type: Errors
54
lookup: average -10m unaligned of returned
55
calc: 100 - $this
56
green: 1
health/health.d/fronius.conf
+2
-2
@@ -1,9 +1,9 @@
1
template: fronius_last_collected_secs
2
families: *
3
on: fronius.power
4
- class: Power Supply
4
+ class: Latency
5
+ type: Power Supply
6
component: Solar
6
- type: Latency
7
calc: $now - $last_collected_t
8
every: 10s
9
units: seconds ago
health/health.d/gearman.conf
+2
-2
@@ -1,9 +1,9 @@
1
2
template: gearman_workers_queued
3
on: gearman.single_job
4
- class: Computing
4
+ class: Latency
5
+ type: Computing
6
component: Gearman
6
- type: Latency
7
lookup: average -10m unaligned match-names of Queued
8
units: workers
9
every: 10s
health/health.d/go.d.plugin.conf
+2
-2
@@ -3,9 +3,9 @@
3
4
template: go.d_job_last_collected_secs
5
on: netdata.go_plugin_execution_time
6
- class: Netdata
6
+ class: Error
7
+ type: Netdata
8
component: go.d.plugin
8
- type: Error
9
module: *
10
calc: $now - $last_collected_t
11
units: seconds ago
health/health.d/haproxy.conf
+6
-6
@@ -1,8 +1,8 @@
1
template: haproxy_backend_server_status
2
on: haproxy_hs.down
3
- class: Web Proxy
3
+ class: Errors
4
+ type: Web Proxy
5
component: HAProxy
5
- type: Errors
6
units: failed servers
7
every: 10s
8
lookup: average -10s
@@ -12,9 +12,9 @@ component: HAProxy
12
13
template: haproxy_backend_status
14
on: haproxy_hb.down
15
- class: Web Proxy
15
+ class: Errors
16
+ type: Web Proxy
17
component: HAProxy
17
- type: Errors
18
units: failed backend
19
every: 10s
20
lookup: average -10s
@@ -24,9 +24,9 @@ component: HAProxy
24
25
template: haproxy_last_collected
26
on: haproxy_hb.down
27
- class: Web Proxy
27
+ class: Latency
28
+ type: Web Proxy
29
component: HAProxy
29
- type: Latency
30
calc: $now - $last_collected_t
31
units: seconds ago
32
every: 10s
health/health.d/hdfs.conf
+10
-10
@@ -3,9 +3,9 @@
3
4
template: hdfs_capacity_usage
5
on: hdfs.capacity
6
- class: Storage
6
+ class: Utilization
7
+ type: Storage
8
component: HDFS
8
- type: Utilization
9
calc: ($used) * 100 / ($used + $remaining)
10
units: %
11
every: 10s
@@ -20,9 +20,9 @@ component: HDFS
20
21
template: hdfs_missing_blocks
22
on: hdfs.blocks
23
- class: Storage
23
+ class: Errors
24
+ type: Storage
25
component: HDFS
25
- type: Errors
26
calc: $missing
27
units: missing blocks
28
every: 10s
@@ -34,9 +34,9 @@ component: HDFS
34
35
template: hdfs_stale_nodes
36
on: hdfs.data_nodes
37
- class: Storage
37
+ class: Errors
38
+ type: Storage
39
component: HDFS
39
- type: Errors
40
calc: $stale
41
units: dead nodes
42
every: 10s
@@ -48,9 +48,9 @@ component: HDFS
48
49
template: hdfs_dead_nodes
50
on: hdfs.data_nodes
51
- class: Storage
51
+ class: Errors
52
+ type: Storage
53
component: HDFS
53
- type: Errors
54
calc: $dead
55
units: dead nodes
56
every: 10s
@@ -64,9 +64,9 @@ component: HDFS
64
65
template: hdfs_num_failed_volumes
66
on: hdfs.num_failed_volumes
67
- class: Storage
67
+ class: Errors
68
+ type: Storage
69
component: HDFS
69
- type: Errors
70
calc: $fsds_num_failed_volumes
71
units: failed volumes
72
every: 10s
health/health.d/httpcheck.conf
+16
-16
@@ -3,9 +3,9 @@
3
template: httpcheck_web_service_up
4
families: *
5
on: httpcheck.status
6
- class: Web Server
6
+ class: Utilization
7
+ type: Web Server
8
component: HTTP endpoint
8
- type: Utilization
9
lookup: average -1m unaligned percentage of success
10
calc: ($this < 75) ? (0) : ($this)
11
every: 5s
@@ -16,9 +16,9 @@ component: HTTP endpoint
16
template: httpcheck_web_service_bad_content
17
families: *
18
on: httpcheck.status
19
- class: Web Server
19
+ class: Workload
20
+ type: Web Server
21
component: HTTP endpoint
21
- type: Workload
22
lookup: average -5m unaligned percentage of bad_content
23
every: 10s
24
units: %
@@ -32,9 +32,9 @@ component: HTTP endpoint
32
template: httpcheck_web_service_bad_status
33
families: *
34
on: httpcheck.status
35
- class: Web Server
35
+ class: Workload
36
+ type: Web Server
37
component: HTTP endpoint
37
- type: Workload
38
lookup: average -5m unaligned percentage of bad_status
39
every: 10s
40
units: %
@@ -48,9 +48,9 @@ component: HTTP endpoint
48
template: httpcheck_web_service_timeouts
49
families: *
50
on: httpcheck.status
51
- class: Web Server
51
+ class: Latency
52
+ type: Web Server
53
component: HTTP endpoint
53
- type: Latency
54
lookup: average -5m unaligned percentage of timeout
55
every: 10s
56
units: %
@@ -59,9 +59,9 @@ component: HTTP endpoint
59
template: httpcheck_no_web_service_connections
60
families: *
61
on: httpcheck.status
62
- class: Other
62
+ class: Errors
63
+ type: Other
64
component: HTTP endpoint
64
- type: Errors
65
lookup: average -5m unaligned percentage of no_connection
66
every: 10s
67
units: %
@@ -71,9 +71,9 @@ component: HTTP endpoint
71
template: httpcheck_web_service_unreachable
72
families: *
73
on: httpcheck.status
74
- class: Web Server
74
+ class: Errors
75
+ type: Web Server
76
component: HTTP endpoint
76
- type: Errors
77
calc: ($httpcheck_no_web_service_connections >= $httpcheck_web_service_timeouts) ? ($httpcheck_no_web_service_connections) : ($httpcheck_web_service_timeouts)
78
units: %
79
every: 10s
@@ -87,9 +87,9 @@ component: HTTP endpoint
87
template: httpcheck_1h_web_service_response_time
88
families: *
89
on: httpcheck.responsetime
90
- class: Other
90
+ class: Latency
91
+ type: Other
92
component: HTTP endpoint
92
- type: Latency
93
lookup: average -1h unaligned of time
94
every: 30s
95
units: ms
@@ -98,9 +98,9 @@ component: HTTP endpoint
98
template: httpcheck_web_service_slow
99
families: *
100
on: httpcheck.responsetime
101
- class: Web Server
101
+ class: Latency
102
+ type: Web Server
103
component: HTTP endpoint
103
- type: Latency
104
lookup: average -3m unaligned of time
105
units: ms
106
every: 10s
health/health.d/ioping.conf
+2
-2
@@ -1,9 +1,9 @@
1
template: ioping_disk_latency
2
families: *
3
on: ioping.latency
4
- class: System
4
+ class: Latency
5
+ type: System
6
component: Disk
6
- type: Latency
7
lookup: average -10s unaligned of average
8
units: ms
9
every: 10s
health/health.d/ipc.conf
+4
-4
@@ -3,9 +3,9 @@
3
4
alarm: semaphores_used
5
on: system.ipc_semaphores
6
- class: System
6
+ class: Utilization
7
+ type: System
8
component: IPC
8
- type: Utilization
9
os: linux
10
hosts: *
11
calc: $semaphores * 100 / $ipc_semaphores_max
@@ -19,9 +19,9 @@ component: IPC
19
20
alarm: semaphore_arrays_used
21
on: system.ipc_semaphore_arrays
22
- class: System
22
+ class: Utilization
23
+ type: System
24
component: IPC
24
- type: Utilization
25
os: linux
26
hosts: *
27
calc: $arrays * 100 / $ipc_semaphores_arrays_max
health/health.d/ipfs.conf
+2
-2
@@ -1,9 +1,9 @@
1
2
template: ipfs_datastore_usage
3
on: ipfs.repo_size
4
- class: Data Sharing
4
+ class: Utilization
5
+ type: Data Sharing
6
component: IPFS
6
- type: Utilization
7
calc: $size * 100 / $avail
8
units: %
9
every: 10s
health/health.d/ipmi.conf
+4
-4
@@ -1,8 +1,8 @@
1
alarm: ipmi_sensors_states
2
on: ipmi.sensors_states
3
- class: System
3
+ class: Errors
4
+ type: System
5
component: IPMI
5
- type: Errors
6
calc: $warning + $critical
7
units: sensors
8
every: 10s
@@ -14,9 +14,9 @@ component: IPMI
14
15
alarm: ipmi_events
16
on: ipmi.events
17
- class: System
17
+ class: Utilization
18
+ type: System
19
component: IPMI
19
- type: Utilization
20
calc: $events
21
units: events
22
every: 10s
health/health.d/kubelet.conf
+18
-18
@@ -6,9 +6,9 @@
6
7
template: kubelet_node_config_error
8
on: k8s_kubelet.kubelet_node_config_error
9
- class: Kubernetes
9
+ class: Errors
10
+ type: Kubernetes
11
component: Kubelet
11
- type: Errors
12
calc: $kubelet_node_config_error
13
units: bool
14
every: 10s
@@ -22,9 +22,9 @@ component: Kubelet
22
template: kubelet_token_requests
23
lookup: sum -10s of token_fail_count
24
on: k8s_kubelet.kubelet_token_requests
25
- class: Kubernetes
25
+ class: Errors
26
+ type: Kubernetes
27
component: Kubelet
27
- type: Errors
28
units: failed requests
29
every: 10s
30
warn: $this > 0
@@ -37,9 +37,9 @@ component: Kubelet
37
template: kubelet_operations_error
38
lookup: sum -1m
39
on: k8s_kubelet.kubelet_operations_errors
40
- class: Kubernetes
40
+ class: Errors
41
+ type: Kubernetes
42
component: Kubelet
42
- type: Errors
43
units: errors
44
every: 10s
45
warn: $this > (($status >= $WARNING) ? (0) : (20))
@@ -64,9 +64,9 @@ component: Kubelet
64
65
template: kubelet_1m_pleg_relist_latency_quantile_05
66
on: k8s_kubelet.kubelet_pleg_relist_latency_microseconds
67
- class: Kubernetes
67
+ class: Latency
68
+ type: Kubernetes
69
component: Kubelet
69
- type: Latency
70
lookup: average -1m unaligned of kubelet_pleg_relist_latency_05
71
units: microseconds
72
every: 10s
@@ -74,9 +74,9 @@ component: Kubelet
74
75
template: kubelet_10s_pleg_relist_latency_quantile_05
76
on: k8s_kubelet.kubelet_pleg_relist_latency_microseconds
77
- class: Kubernetes
77
+ class: Latency
78
+ type: Kubernetes
79
component: Kubelet
79
- type: Latency
80
lookup: average -10s unaligned of kubelet_pleg_relist_latency_05
81
calc: $this * 100 / (($kubelet_1m_pleg_relist_latency_quantile_05 < 1000)?(1000):($kubelet_1m_pleg_relist_latency_quantile_05))
82
every: 10s
@@ -92,9 +92,9 @@ component: Kubelet
92
93
template: kubelet_1m_pleg_relist_latency_quantile_09
94
on: k8s_kubelet.kubelet_pleg_relist_latency_microseconds
95
- class: Kubernetes
95
+ class: Latency
96
+ type: Kubernetes
97
component: Kubelet
97
- type: Latency
98
lookup: average -1m unaligned of kubelet_pleg_relist_latency_09
99
units: microseconds
100
every: 10s
@@ -102,9 +102,9 @@ component: Kubelet
102
103
template: kubelet_10s_pleg_relist_latency_quantile_09
104
on: k8s_kubelet.kubelet_pleg_relist_latency_microseconds
105
- class: Kubernetes
105
+ class: Latency
106
+ type: Kubernetes
107
component: Kubelet
107
- type: Latency
108
lookup: average -10s unaligned of kubelet_pleg_relist_latency_09
109
calc: $this * 100 / (($kubelet_1m_pleg_relist_latency_quantile_09 < 1000)?(1000):($kubelet_1m_pleg_relist_latency_quantile_09))
110
every: 10s
@@ -120,9 +120,9 @@ component: Kubelet
120
121
template: kubelet_1m_pleg_relist_latency_quantile_099
122
on: k8s_kubelet.kubelet_pleg_relist_latency_microseconds
123
- class: Kubernetes
123
+ class: Latency
124
+ type: Kubernetes
125
component: Kubelet
125
- type: Latency
126
lookup: average -1m unaligned of kubelet_pleg_relist_latency_099
127
units: microseconds
128
every: 10s
@@ -130,9 +130,9 @@ component: Kubelet
130
131
template: kubelet_10s_pleg_relist_latency_quantile_099
132
on: k8s_kubelet.kubelet_pleg_relist_latency_microseconds
133
- class: Kubernetes
133
+ class: Latency
134
+ type: Kubernetes
135
component: Kubelet
135
- type: Latency
136
lookup: average -10s unaligned of kubelet_pleg_relist_latency_099
137
calc: $this * 100 / (($kubelet_1m_pleg_relist_latency_quantile_099 < 1000)?(1000):($kubelet_1m_pleg_relist_latency_quantile_099))
138
every: 10s
health/health.d/linux_power_supply.conf
+2
-2
@@ -2,9 +2,9 @@
2
3
template: linux_power_supply_capacity
4
on: powersupply.capacity
5
- class: Power Supply
5
+ class: Utilization
6
+ type: Power Supply
7
component: Battery
7
- type: Utilization
8
calc: $capacity
9
units: %
10
every: 10s
health/health.d/load.conf
+8
-8
@@ -6,9 +6,9 @@
6
# minute, with a special case for a single CPU of setting the trigger at 2.
7
alarm: load_cpu_number
8
on: system.load
9
- class: System
9
+ class: Utilization
10
+ type: System
11
component: Load
11
- type: Utilization
12
os: linux
13
hosts: *
14
calc: ($active_processors == nan or $active_processors == inf or $active_processors < 2) ? ( 2 ) : ( $active_processors )
@@ -22,9 +22,9 @@ component: Load
22
23
alarm: load_average_15
24
on: system.load
25
- class: System
25
+ class: Utilization
26
+ type: System
27
component: Load
27
- type: Utilization
28
os: linux
29
hosts: *
30
lookup: max -1m unaligned of load15
@@ -37,9 +37,9 @@ component: Load
37
38
alarm: load_average_5
39
on: system.load
40
- class: System
40
+ class: Utilization
41
+ type: System
42
component: Load
42
- type: Utilization
43
os: linux
44
hosts: *
45
lookup: max -1m unaligned of load5
@@ -52,9 +52,9 @@ component: Load
52
53
alarm: load_average_1
54
on: system.load
55
- class: System
55
+ class: Utilization
56
+ type: System
57
component: Load
57
- type: Utilization
58
os: linux
59
hosts: *
60
lookup: max -1m unaligned of load1
health/health.d/mdstat.conf
+8
-8
@@ -1,8 +1,8 @@
1
template: mdstat_last_collected
2
on: md.disks
3
- class: System
3
+ class: Latency
4
+ type: System
5
component: RAID
5
- type: Latency
6
calc: $now - $last_collected_t
7
units: seconds ago
8
every: 10s
@@ -13,9 +13,9 @@ component: RAID
13
14
template: mdstat_disks
15
on: md.disks
16
- class: System
16
+ class: Errors
17
+ type: System
18
component: RAID
18
- type: Errors
19
units: failed devices
20
every: 10s
21
calc: $down
@@ -26,9 +26,9 @@ component: RAID
26
27
template: mdstat_mismatch_cnt
28
on: md.mismatch_cnt
29
- class: System
29
+ class: Errors
30
+ type: System
31
component: RAID
31
- type: Errors
32
families: !*(raid1) !*(raid10) *
33
units: unsynchronized blocks
34
calc: $count
@@ -40,9 +40,9 @@ component: RAID
40
41
template: mdstat_nonredundant_last_collected
42
on: md.nonredundant
43
- class: System
43
+ class: Latency
44
+ type: System
45
component: RAID
45
- type: Latency
46
calc: $now - $last_collected_t
47
units: seconds ago
48
every: 10s
health/health.d/megacli.conf
+10
-10
@@ -3,9 +3,9 @@
3
4
template: megacli_adapter_state
5
on: megacli.adapter_degraded
6
- class: System
6
+ class: Errors
7
+ type: System
8
component: RAID
8
- type: Errors
9
lookup: max -10s foreach *
10
units: boolean
11
every: 10s
@@ -18,9 +18,9 @@ component: RAID
18
19
template: megacli_pd_predictive_failures
20
on: megacli.pd_predictive_failure
21
- class: System
21
+ class: Errors
22
+ type: System
23
component: RAID
23
- type: Errors
24
lookup: sum -10s foreach *
25
units: predictive failures
26
every: 10s
@@ -31,9 +31,9 @@ component: RAID
31
32
template: megacli_pd_media_errors
33
on: megacli.pd_media_error
34
- class: System
34
+ class: Errors
35
+ type: System
36
component: RAID
36
- type: Errors
37
lookup: sum -10s foreach *
38
units: media errors
39
every: 10s
@@ -46,9 +46,9 @@ component: RAID
46
47
template: megacli_bbu_relative_charge
48
on: megacli.bbu_relative_charge
49
- class: System
49
+ class: Workload
50
+ type: System
51
component: RAID
51
- type: Workload
52
lookup: average -10s
53
units: percent
54
every: 10s
@@ -59,9 +59,9 @@ component: RAID
59
60
template: megacli_bbu_cycle_count
61
on: megacli.bbu_cycle_count
62
- class: System
62
+ class: Workload
63
+ type: System
64
component: RAID
64
- type: Workload
65
lookup: average -10s
66
units: cycles
67
every: 10s
health/health.d/memcached.conf
+6
-6
@@ -3,9 +3,9 @@
3
4
template: memcached_cache_memory_usage
5
on: memcached.cache
6
- class: KV Storage
6
+ class: Utilization
7
+ type: KV Storage
8
component: Memcached
8
- type: Utilization
9
calc: $used * 100 / ($used + $available)
10
units: %
11
every: 10s
@@ -20,9 +20,9 @@ component: Memcached
20
21
template: memcached_cache_fill_rate
22
on: memcached.cache
23
- class: KV Storage
23
+ class: Utilization
24
+ type: KV Storage
25
component: Memcached
25
- type: Utilization
26
lookup: min -10m at -50m unaligned of available
27
calc: ($this - $available) / (($now - $after) / 3600)
28
units: KB/hour
@@ -34,9 +34,9 @@ component: Memcached
34
35
template: memcached_out_of_cache_space_time
36
on: memcached.cache
37
- class: KV Storage
37
+ class: Utilization
38
+ type: KV Storage
39
component: Memcached
39
- type: Utilization
40
calc: ($memcached_cache_fill_rate > 0) ? ($available / $memcached_cache_fill_rate) : (inf)
41
units: hours
42
every: 10s
health/health.d/memory.conf
+6
-6
@@ -3,9 +3,9 @@
3
4
alarm: 1hour_ecc_memory_correctable
5
on: mem.ecc_ce
6
- class: System
6
+ class: Errors
7
+ type: System
8
component: Memory
8
- type: Errors
9
os: linux
10
hosts: *
11
lookup: sum -10m unaligned
@@ -18,9 +18,9 @@ component: Memory
18
19
alarm: 1hour_ecc_memory_uncorrectable
20
on: mem.ecc_ue
21
- class: System
21
+ class: Errors
22
+ type: System
23
component: Memory
23
- type: Errors
24
os: linux
25
hosts: *
26
lookup: sum -10m unaligned
@@ -33,9 +33,9 @@ component: Memory
33
34
alarm: 1hour_memory_hw_corrupted
35
on: mem.hwcorrupt
36
- class: System
36
+ class: Errors
37
+ type: System
38
component: Memory
38
- type: Errors
39
os: linux
40
hosts: *
41
calc: $HardwareCorrupted
health/health.d/mysql.conf
+22
-22
@@ -3,9 +3,9 @@
3
4
template: mysql_10s_slow_queries
5
on: mysql.queries
6
- class: Database
6
+ class: Latency
7
+ type: Database
8
component: MySQL
8
- type: Latency
9
lookup: sum -10s of slow_queries
10
units: slow queries
11
every: 10s
@@ -21,9 +21,9 @@ component: MySQL
21
22
template: mysql_10s_table_locks_immediate
23
on: mysql.table_locks
24
- class: Database
24
+ class: Utilization
25
+ type: Database
26
component: MySQL
26
- type: Utilization
27
lookup: sum -10s absolute of immediate
28
units: immediate locks
29
every: 10s
@@ -32,9 +32,9 @@ component: MySQL
32
33
template: mysql_10s_table_locks_waited
34
on: mysql.table_locks
35
- class: Database
35
+ class: Latency
36
+ type: Database
37
component: MySQL
37
- type: Latency
38
lookup: sum -10s absolute of waited
39
units: waited locks
40
every: 10s
@@ -43,9 +43,9 @@ component: MySQL
43
44
template: mysql_10s_waited_locks_ratio
45
on: mysql.table_locks
46
- class: Database
46
+ class: Latency
47
+ type: Database
48
component: MySQL
48
- type: Latency
49
calc: ( ($mysql_10s_table_locks_waited + $mysql_10s_table_locks_immediate) > 0 ) ? (($mysql_10s_table_locks_waited * 100) / ($mysql_10s_table_locks_waited + $mysql_10s_table_locks_immediate)) : 0
50
units: %
51
every: 10s
@@ -61,9 +61,9 @@ component: MySQL
61
62
template: mysql_connections
63
on: mysql.connections_active
64
- class: Database
64
+ class: Utilization
65
+ type: Database
66
component: MySQL
66
- type: Utilization
67
calc: $active * 100 / $limit
68
units: %
69
every: 10s
@@ -79,9 +79,9 @@ component: MySQL
79
80
template: mysql_replication
81
on: mysql.slave_status
82
- class: Database
82
+ class: Errors
83
+ type: Database
84
component: MySQL
84
- type: Errors
85
calc: ($sql_running <= 0 OR $io_running <= 0)?0:1
86
units: ok/failed
87
every: 10s
@@ -92,9 +92,9 @@ component: MySQL
92
93
template: mysql_replication_lag
94
on: mysql.slave_behind
95
- class: Database
95
+ class: Latency
96
+ type: Database
97
component: MySQL
97
- type: Errors
98
calc: $seconds
99
units: seconds
100
every: 10s
@@ -111,9 +111,9 @@ component: MySQL
111
112
template: mysql_galera_cluster_size_max_2m
113
on: mysql.galera_cluster_size
114
- class: Database
114
+ class: Utilization
115
+ type: Database
116
component: MySQL
116
- type: Utilization
117
lookup: max -2m absolute
118
units: nodes
119
every: 10s
@@ -122,9 +122,9 @@ component: MySQL
122
123
template: mysql_galera_cluster_size
124
on: mysql.galera_cluster_size
125
- class: Database
125
+ class: Utilization
126
+ type: Database
127
component: MySQL
127
- type: Utilization
128
calc: $nodes
129
units: nodes
130
every: 10s
@@ -138,9 +138,9 @@ component: MySQL
138
139
template: mysql_galera_cluster_state
140
on: mysql.galera_cluster_state
141
- class: Database
141
+ class: Errors
142
+ type: Database
143
component: MySQL
143
- type: Errors
144
calc: $state
145
every: 10s
146
warn: $this == 2 OR $this == 3
@@ -155,9 +155,9 @@ component: MySQL
155
156
template: mysql_galera_cluster_status
157
on: mysql.galera_cluster_status
158
- class: Database
158
+ class: Errors
159
+ type: Database
160
component: MySQL
160
- type: Errors
161
calc: $wsrep_cluster_status
162
every: 10s
163
crit: $mysql_galera_cluster_state != nan AND $this != 0
health/health.d/net.conf
+28
-28
@@ -6,9 +6,9 @@
6
7
template: interface_speed
8
on: net.net
9
- class: System
9
+ class: Latency
10
+ type: System
11
component: Network
11
- type: Latency
12
os: *
13
hosts: *
14
families: *
@@ -19,9 +19,9 @@ component: Network
19
20
template: 1m_received_traffic_overflow
21
on: net.net
22
- class: System
22
+ class: Workload
23
+ type: System
24
component: Network
24
- type: Workload
25
os: linux
26
hosts: *
27
families: *
@@ -36,9 +36,9 @@ component: Network
36
37
template: 1m_sent_traffic_overflow
38
on: net.net
39
- class: System
39
+ class: Workload
40
+ type: System
41
component: Network
41
- type: Workload
42
os: linux
43
hosts: *
44
families: *
@@ -63,9 +63,9 @@ component: Network
63
64
template: inbound_packets_dropped
65
on: net.drops
66
- class: System
66
+ class: Errors
67
+ type: System
68
component: Network
68
- type: Errors
69
os: linux
70
hosts: *
71
families: !net* *
@@ -76,9 +76,9 @@ component: Network
76
77
template: outbound_packets_dropped
78
on: net.drops
79
- class: System
79
+ class: Errors
80
+ type: System
81
component: Network
81
- type: Errors
82
os: linux
83
hosts: *
84
families: !net* *
@@ -89,9 +89,9 @@ component: Network
89
90
template: inbound_packets_dropped_ratio
91
on: net.packets
92
- class: System
92
+ class: Errors
93
+ type: System
94
component: Network
94
- type: Errors
95
os: linux
96
hosts: *
97
families: !net* !wl* *
@@ -106,9 +106,9 @@ component: Network
106
107
template: outbound_packets_dropped_ratio
108
on: net.packets
109
- class: System
109
+ class: Errors
110
+ type: System
111
component: Network
111
- type: Errors
112
os: linux
113
hosts: *
114
families: !net* !wl* *
@@ -123,9 +123,9 @@ component: Network
123
124
template: wifi_inbound_packets_dropped_ratio
125
on: net.packets
126
- class: System
126
+ class: Errors
127
+ type: System
128
component: Network
128
- type: Errors
129
os: linux
130
hosts: *
131
families: wl*
@@ -140,9 +140,9 @@ component: Network
140
141
template: wifi_outbound_packets_dropped_ratio
142
on: net.packets
143
- class: System
143
+ class: Errors
144
+ type: System
145
component: Network
145
- type: Errors
146
os: linux
147
hosts: *
148
families: wl*
@@ -160,9 +160,9 @@ component: Network
160
161
template: interface_inbound_errors
162
on: net.errors
163
- class: System
163
+ class: Errors
164
+ type: System
165
component: Network
165
- type: Errors
166
os: freebsd
167
hosts: *
168
families: *
@@ -176,9 +176,9 @@ component: Network
176
177
template: interface_outbound_errors
178
on: net.errors
179
- class: System
179
+ class: Errors
180
+ type: System
181
component: Network
181
- type: Errors
182
os: freebsd
183
hosts: *
184
families: *
@@ -200,9 +200,9 @@ component: Network
200
201
template: 10min_fifo_errors
202
on: net.fifo
203
- class: System
203
+ class: Errors
204
+ type: System
205
component: Network
205
- type: Errors
206
os: linux
207
hosts: *
208
families: *
@@ -225,9 +225,9 @@ component: Network
225
226
template: 1m_received_packets_rate
227
on: net.packets
228
- class: System
228
+ class: Workload
229
+ type: System
230
component: Network
230
- type: Workload
231
os: linux freebsd
232
hosts: *
233
families: *
@@ -238,9 +238,9 @@ component: Network
238
239
template: 10s_received_packets_storm
240
on: net.packets
241
- class: System
241
+ class: Workload
242
+ type: System
243
component: Network
243
- type: Workload
244
os: linux freebsd
245
hosts: *
246
families: *
health/health.d/netfilter.conf
+2
-2
@@ -3,9 +3,9 @@
3
4
alarm: netfilter_conntrack_full
5
on: netfilter.conntrack_sockets
6
- class: System
6
+ class: Workload
7
+ type: System
8
component: Network
8
- type: Workload
9
os: linux
10
hosts: *
11
lookup: max -10s unaligned of connections
health/health.d/pihole.conf
+8
-8
@@ -3,9 +3,9 @@
3
4
template: pihole_blocked_queries
5
on: pihole.dns_queries_percentage
6
- class: Ad Filtering
6
+ class: Errors
7
+ type: Ad Filtering
8
component: Pi-hole
8
- type: Errors
9
every: 10s
10
units: %
11
calc: $blocked
@@ -21,9 +21,9 @@ component: Pi-hole
21
22
template: pihole_blocklist_last_update
23
on: pihole.blocklist_last_update
24
- class: Ad Filtering
24
+ class: Errors
25
+ type: Ad Filtering
26
component: Pi-hole
26
- type: Errors
27
every: 10s
28
units: seconds
29
calc: $ago
@@ -36,9 +36,9 @@ component: Pi-hole
36
37
template: pihole_blocklist_gravity_file
38
on: pihole.blocklist_last_update
39
- class: Ad Filtering
39
+ class: Errors
40
+ type: Ad Filtering
41
component: Pi-hole
41
- type: Errors
42
every: 10s
43
units: boolean
44
calc: $file_exists
@@ -52,9 +52,9 @@ component: Pi-hole
52
53
template: pihole_status
54
on: pihole.unwanted_domains_blocking_status
55
- class: Ad Filtering
55
+ class: Errors
56
+ type: Ad Filtering
57
component: Pi-hole
57
- type: Errors
58
every: 10s
59
units: boolean
60
calc: $enabled
health/health.d/portcheck.conf
+6
-6
@@ -3,9 +3,9 @@
3
template: portcheck_service_reachable
4
families: *
5
on: portcheck.status
6
- class: Other
6
+ class: Workload
7
+ type: Other
8
component: TCP endpoint
8
- type: Workload
9
lookup: average -1m unaligned percentage of success
10
calc: ($this < 75) ? (0) : ($this)
11
every: 5s
@@ -16,9 +16,9 @@ component: TCP endpoint
16
template: portcheck_connection_timeouts
17
families: *
18
on: portcheck.status
19
- class: Other
19
+ class: Errors
20
+ type: Other
21
component: TCP endpoint
21
- type: Errors
22
lookup: average -5m unaligned percentage of timeout
23
every: 10s
24
units: %
@@ -31,9 +31,9 @@ component: TCP endpoint
31
template: portcheck_connection_fails
32
families: *
33
on: portcheck.status
34
- class: Other
34
+ class: Errors
35
+ type: Other
36
component: TCP endpoint
36
- type: Errors
37
lookup: average -5m unaligned percentage of no_connection,failed
38
every: 10s
39
units: %
health/health.d/processes.conf
+2
-2
@@ -2,9 +2,9 @@
2
3
alarm: active_processes
4
on: system.active_processes
5
- class: System
5
+ class: Workload
6
+ type: System
7
component: Processes
7
- type: Workload
8
hosts: *
9
calc: $active * 100 / $pidmax
10
units: %
health/health.d/python.d.plugin.conf
+2
-2
@@ -3,9 +3,9 @@
3
4
template: python.d_job_last_collected_secs
5
on: netdata.pythond_runtime
6
- class: Netdata
6
+ class: Error
7
+ type: Netdata
8
component: python.d.plugin
8
- type: Error
9
module: *
10
calc: $now - $last_collected_t
11
units: seconds ago
health/health.d/ram.conf
+10
-10
@@ -3,9 +3,9 @@
3
4
alarm: used_ram_to_ignore
5
on: system.ram
6
- class: System
6
+ class: Utilization
7
+ type: System
8
component: Memory
8
- type: Utilization
9
os: linux freebsd
10
hosts: *
11
calc: ($zfs.arc_size.arcsz = nan)?(0):($zfs.arc_size.arcsz - $zfs.arc_size.min)
@@ -15,9 +15,9 @@ component: Memory
15
16
alarm: ram_in_use
17
on: system.ram
18
- class: System
18
+ class: Utilization
19
+ type: System
20
component: Memory
20
- type: Utilization
21
os: linux
22
hosts: *
23
# calc: $used * 100 / ($used + $cached + $free)
@@ -32,9 +32,9 @@ component: Memory
32
33
alarm: ram_available
34
on: mem.available
35
- class: System
35
+ class: Utilization
36
+ type: System
37
component: Memory
37
- type: Utilization
38
os: linux
39
hosts: *
40
calc: ($avail + $system.ram.used_ram_to_ignore) * 100 / ($system.ram.used + $system.ram.cached + $system.ram.free + $system.ram.buffers)
@@ -61,9 +61,9 @@ component: Memory
61
## FreeBSD
62
alarm: ram_in_use
63
on: system.ram
64
- class: System
64
+ class: Utilization
65
+ type: System
66
component: Memory
66
- type: Utilization
67
os: freebsd
68
hosts: *
69
calc: ($active + $wired + $laundry + $buffers - $used_ram_to_ignore) * 100 / ($active + $wired + $laundry + $buffers - $used_ram_to_ignore + $cache + $free + $inactive)
@@ -77,9 +77,9 @@ component: Memory
77
78
alarm: ram_available
79
on: system.ram
80
- class: System
80
+ class: Utilization
81
+ type: System
82
component: Memory
82
- type: Utilization
83
os: freebsd
84
hosts: *
85
calc: ($free + $inactive + $used_ram_to_ignore) * 100 / ($free + $active + $inactive + $wired + $cache + $laundry + $buffers)
health/health.d/redis.conf
+4
-4
@@ -2,9 +2,9 @@
2
template: redis_bgsave_broken
3
families: *
4
on: redis.bgsave_health
5
- class: KV Storage
5
+ class: Errors
6
+ type: KV Storage
7
component: Redis
7
- type: Errors
8
every: 10s
9
crit: $rdb_last_bgsave_status != 0
10
units: ok/failed
@@ -15,9 +15,9 @@ component: Redis
15
template: redis_bgsave_slow
16
families: *
17
on: redis.bgsave_now
18
- class: KV Storage
18
+ class: Latency
19
+ type: KV Storage
20
component: Redis
20
- type: Latency
21
every: 10s
22
warn: $rdb_bgsave_in_progress > 600
23
crit: $rdb_bgsave_in_progress > 1200
health/health.d/retroshare.conf
+2
-2
@@ -3,9 +3,9 @@
3
4
template: retroshare_dht_working
5
on: retroshare.dht
6
- class: Data Sharing
6
+ class: Utilization
7
+ type: Data Sharing
8
component: Retroshare
8
- type: Utilization
9
calc: $dht_size_all
10
units: peers
11
every: 1m
health/health.d/riakkv.conf
+12
-12
@@ -2,9 +2,9 @@
2
# Warn if a list keys operation is running.
3
template: riakkv_list_keys_active
4
on: riak.core.fsm_active
5
- class: Database
5
+ class: Utilization
6
+ type: Database
7
component: Riak KV
7
- type: Utilization
8
calc: $list_fsm_active
9
units: state machines
10
every: 10s
@@ -17,9 +17,9 @@ component: Riak KV
17
# KV GET
18
template: riakkv_1h_kv_get_mean_latency
19
on: riak.kv.latency.get
20
- class: Database
20
+ class: Latency
21
+ type: Database
22
component: Riak KV
22
- type: Latency
23
calc: $node_get_fsm_time_mean
24
lookup: average -1h unaligned of time
25
every: 30s
@@ -29,9 +29,9 @@ component: Riak KV
29
30
template: riakkv_kv_get_slow
31
on: riak.kv.latency.get
32
- class: Database
32
+ class: Latency
33
+ type: Database
34
component: Riak KV
34
- type: Latency
35
calc: $mean
36
lookup: average -3m unaligned of time
37
units: ms
@@ -47,9 +47,9 @@ component: Riak KV
47
# KV PUT
48
template: riakkv_1h_kv_put_mean_latency
49
on: riak.kv.latency.put
50
- class: Database
50
+ class: Latency
51
+ type: Database
52
component: Riak KV
52
- type: Latency
53
calc: $node_put_fsm_time_mean
54
lookup: average -1h unaligned of time
55
every: 30s
@@ -59,9 +59,9 @@ component: Riak KV
59
60
template: riakkv_kv_put_slow
61
on: riak.kv.latency.put
62
- class: Database
62
+ class: Latency
63
+ type: Database
64
component: Riak KV
64
- type: Latency
65
calc: $mean
66
lookup: average -3m unaligned of time
67
units: ms
@@ -81,9 +81,9 @@ component: Riak KV
81
# On systems observed, this is < 2000, but may grow depending on load.
82
template: riakkv_vm_high_process_count
83
on: riak.vm
84
- class: Database
84
+ class: Utilization
85
+ type: Database
86
component: Riak KV
86
- type: Utilization
87
calc: $sys_process_count
88
units: processes
89
every: 10s
health/health.d/scaleio.conf
+4
-4
@@ -3,9 +3,9 @@
3
4
template: scaleio_storage_pool_capacity_utilization
5
on: scaleio.storage_pool_capacity_utilization
6
- class: Storage
6
+ class: Utilization
7
+ type: Storage
8
component: ScaleIO
8
- type: Utilization
9
calc: $used
10
units: %
11
every: 10s
@@ -20,9 +20,9 @@ component: ScaleIO
20
21
template: scaleio_sdc_mdm_connection_state
22
on: scaleio.sdc_mdm_connection_state
23
- class: Storage
23
+ class: Utilization
24
+ type: Storage
25
component: ScaleIO
25
- type: Utilization
26
calc: $connected
27
every: 10s
28
warn: $this != 1
health/health.d/softnet.conf
+6
-6
@@ -5,9 +5,9 @@
5
6
alarm: 1min_netdev_backlog_exceeded
7
on: system.softnet_stat
8
- class: System
8
+ class: Errors
9
+ type: System
10
component: Network
10
- type: Errors
11
os: linux
12
hosts: *
13
lookup: average -1m unaligned absolute of dropped
@@ -21,9 +21,9 @@ component: Network
21
22
alarm: 1min_netdev_budget_ran_outs
23
on: system.softnet_stat
24
- class: System
24
+ class: Errors
25
+ type: System
26
component: Network
26
- type: Errors
27
os: linux
28
hosts: *
29
lookup: average -1m unaligned absolute of squeezed
@@ -38,9 +38,9 @@ component: Network
38
39
alarm: 10min_netisr_backlog_exceeded
40
on: system.softnet_stat
41
- class: System
41
+ class: Errors
42
+ type: System
43
component: Network
43
- type: Errors
44
os: freebsd
45
hosts: *
46
lookup: average -1m unaligned absolute of qdrops
health/health.d/stiebeleltron.conf
+2
-2
@@ -1,9 +1,9 @@
1
template: stiebeleltron_last_collected_secs
2
families: *
3
on: stiebeleltron.heating.hc1
4
- class: Other
4
+ class: Latency
5
+ type: Other
6
component: Sensors
6
- type: Latency
7
calc: $now - $last_collected_t
8
every: 10s
9
units: seconds ago
health/health.d/swap.conf
+4
-4
@@ -3,9 +3,9 @@
3
4
alarm: 30min_ram_swapped_out
5
on: system.swapio
6
- class: System
6
+ class: Workload
7
+ type: System
8
component: Memory
8
- type: Workload
9
os: linux freebsd
10
hosts: *
11
lookup: sum -30m unaligned absolute of out
@@ -20,9 +20,9 @@ component: Memory
20
21
alarm: used_swap
22
on: system.swap
23
- class: System
23
+ class: Utilization
24
+ type: System
25
component: Memory
25
- type: Utilization
26
os: linux freebsd
27
hosts: *
28
calc: $used * 100 / ( $used + $free )
health/health.d/systemdunits.conf
+20
-20
@@ -4,9 +4,9 @@
4
## Service units
5
template: systemd_service_units_state
6
on: systemd.service_units_state
7
- class: Linux
7
+ class: Errors
8
+ type: Linux
9
component: Systemd units
9
- type: Errors
10
lookup: max -1s min2max
11
units: ok/failed
12
every: 10s
@@ -18,9 +18,9 @@ component: Systemd units
18
## Socket units
19
template: systemd_socket_units_state
20
on: systemd.socket_unit_state
21
- class: Linux
21
+ class: Errors
22
+ type: Linux
23
component: Systemd units
23
- type: Errors
24
lookup: max -1s min2max
25
units: ok/failed
26
every: 10s
@@ -32,9 +32,9 @@ component: Systemd units
32
## Target units
33
template: systemd_target_units_state
34
on: systemd.target_unit_state
35
- class: Linux
35
+ class: Errors
36
+ type: Linux
37
component: Systemd units
37
- type: Errors
38
lookup: max -1s min2max
39
units: ok/failed
40
every: 10s
@@ -46,9 +46,9 @@ component: Systemd units
46
## Path units
47
template: systemd_path_units_state
48
on: systemd.path_unit_state
49
- class: Linux
49
+ class: Errors
50
+ type: Linux
51
component: Systemd units
51
- type: Errors
52
lookup: max -1s min2max
53
units: ok/failed
54
every: 10s
@@ -60,9 +60,9 @@ component: Systemd units
60
## Device units
61
template: systemd_device_units_state
62
on: systemd.device_unit_state
63
- class: Linux
63
+ class: Errors
64
+ type: Linux
65
component: Systemd units
65
- type: Errors
66
lookup: max -1s min2max
67
units: ok/failed
68
every: 10s
@@ -74,9 +74,9 @@ component: Systemd units
74
## Mount units
75
template: systemd_mount_units_state
76
on: systemd.mount_unit_state
77
- class: Linux
77
+ class: Errors
78
+ type: Linux
79
component: Systemd units
79
- type: Errors
80
lookup: max -1s min2max
81
units: ok/failed
82
every: 10s
@@ -88,9 +88,9 @@ component: Systemd units
88
## Automount units
89
template: systemd_automount_units_state
90
on: systemd.automount_unit_state
91
- class: Linux
91
+ class: Errors
92
+ type: Linux
93
component: Systemd units
93
- type: Errors
94
lookup: max -1s min2max
95
units: ok/failed
96
every: 10s
@@ -102,9 +102,9 @@ component: Systemd units
102
## Swap units
103
template: systemd_swap_units_state
104
on: systemd.swap_unit_state
105
- class: Linux
105
+ class: Errors
106
+ type: Linux
107
component: Systemd units
107
- type: Errors
108
lookup: max -1s min2max
109
units: ok/failed
110
every: 10s
@@ -116,9 +116,9 @@ component: Systemd units
116
## Scope units
117
template: systemd_scope_units_state
118
on: systemd.scope_unit_state
119
- class: Linux
119
+ class: Errors
120
+ type: Linux
121
component: Systemd units
121
- type: Errors
122
lookup: max -1s min2max
123
units: ok/failed
124
every: 10s
@@ -130,9 +130,9 @@ component: Systemd units
130
## Slice units
131
template: systemd_slice_units_state
132
on: systemd.slice_unit_state
133
- class: Linux
133
+ class: Errors
134
+ type: Linux
135
component: Systemd units
135
- type: Errors
136
lookup: max -1s min2max
137
units: ok/failed
138
every: 10s
health/health.d/tcp_conn.conf
+2
-2
@@ -7,9 +7,9 @@
7
8
alarm: tcp_connections
9
on: ipv4.tcpsock
10
- class: System
10
+ class: Workload
11
+ type: System
12
component: Network
12
- type: Workload
13
os: linux
14
hosts: *
15
calc: (${tcp_max_connections} > 0) ? ( ${connections} * 100 / ${tcp_max_connections} ) : 0
health/health.d/tcp_listen.conf
+8
-8
@@ -20,9 +20,9 @@
20
21
alarm: 1m_tcp_accept_queue_overflows
22
on: ip.tcp_accept_queue
23
- class: System
23
+ class: Workload
24
+ type: System
25
component: Network
25
- type: Workload
26
os: linux
27
hosts: *
28
lookup: average -60s unaligned absolute of ListenOverflows
@@ -38,9 +38,9 @@ component: Network
38
# CHECK: https://github.com/netdata/netdata/issues/3234#issuecomment-423935842
39
alarm: 1m_tcp_accept_queue_drops
40
on: ip.tcp_accept_queue
41
- class: System
41
+ class: Workload
42
+ type: System
43
component: Network
43
- type: Workload
44
os: linux
45
hosts: *
46
lookup: average -60s unaligned absolute of ListenDrops
@@ -63,9 +63,9 @@ component: Network
63
64
alarm: 1m_tcp_syn_queue_drops
65
on: ip.tcp_syn_queue
66
- class: System
66
+ class: Workload
67
+ type: System
68
component: Network
68
- type: Workload
69
os: linux
70
hosts: *
71
lookup: average -60s unaligned absolute of TCPReqQFullDrop
@@ -80,9 +80,9 @@ component: Network
80
81
alarm: 1m_tcp_syn_queue_cookies
82
on: ip.tcp_syn_queue
83
- class: System
83
+ class: Workload
84
+ type: System
85
component: Network
85
- type: Workload
86
os: linux
87
hosts: *
88
lookup: average -60s unaligned absolute of TCPReqQFullDoCookies
health/health.d/tcp_mem.conf
+2
-2
@@ -8,9 +8,9 @@
8
9
alarm: tcp_memory
10
on: ipv4.sockstat_tcp_mem
11
- class: System
11
+ class: Utilization
12
+ type: System
13
component: Network
13
- type: Utilization
14
os: linux
15
hosts: *
16
calc: ${mem} * 100 / ${tcp_mem_high}
health/health.d/tcp_orphans.conf
+2
-2
@@ -9,9 +9,9 @@
9
10
alarm: tcp_orphans
11
on: ipv4.sockstat_tcp_sockets
12
- class: System
12
+ class: Errors
13
+ type: System
14
component: Network
14
- type: Errors
15
os: linux
16
hosts: *
17
calc: ${orphan} * 100 / ${tcp_max_orphans}
health/health.d/tcp_resets.conf
+8
-8
@@ -6,9 +6,9 @@
6
7
alarm: 1m_ipv4_tcp_resets_sent
8
on: ipv4.tcphandshake
9
- class: System
9
+ class: Errors
10
+ type: System
11
component: Network
11
- type: Errors
12
os: linux
13
hosts: *
14
lookup: average -1m at -10s unaligned absolute of OutRsts
@@ -18,9 +18,9 @@ component: Network
18
19
alarm: 10s_ipv4_tcp_resets_sent
20
on: ipv4.tcphandshake
21
- class: System
21
+ class: Errors
22
+ type: System
23
component: Network
23
- type: Errors
24
os: linux
25
hosts: *
26
lookup: average -10s unaligned absolute of OutRsts
@@ -40,9 +40,9 @@ component: Network
40
41
alarm: 1m_ipv4_tcp_resets_received
42
on: ipv4.tcphandshake
43
- class: System
43
+ class: Errors
44
+ type: System
45
component: Network
45
- type: Errors
46
os: linux freebsd
47
hosts: *
48
lookup: average -1m at -10s unaligned absolute of AttemptFails
@@ -52,9 +52,9 @@ component: Network
52
53
alarm: 10s_ipv4_tcp_resets_received
54
on: ipv4.tcphandshake
55
- class: System
55
+ class: Errors
56
+ type: System
57
component: Network
57
- type: Errors
58
os: linux freebsd
59
hosts: *
60
lookup: average -10s unaligned absolute of AttemptFails
health/health.d/timex.conf
+2
-2
@@ -5,9 +5,9 @@
5
alarm: system_clock_sync_state
6
on: system.clock_sync_state
7
os: linux
8
- class: System
8
+ class: Error
9
+ type: System
10
component: Clock
10
- type: Error
11
calc: $state
12
units: synchronization state
13
every: 10s
health/health.d/udp_errors.conf
+4
-4
@@ -6,9 +6,9 @@
6
7
alarm: 1m_ipv4_udp_receive_buffer_errors
8
on: ipv4.udperrors
9
- class: System
9
+ class: Errors
10
+ type: System
11
component: Network
11
- type: Errors
12
os: linux freebsd
13
hosts: *
14
lookup: average -1m unaligned absolute of RcvbufErrors
@@ -24,9 +24,9 @@ component: Network
24
25
alarm: 1m_ipv4_udp_send_buffer_errors
26
on: ipv4.udperrors
27
- class: System
27
+ class: Errors
28
+ type: System
29
component: Network
29
- type: Errors
30
os: linux
31
hosts: *
32
lookup: average -1m unaligned absolute of SndbufErrors
health/health.d/unbound.conf
+4
-4
@@ -3,9 +3,9 @@
3
4
template: unbound_request_list_overwritten
5
on: unbound.request_list_jostle_list
6
- class: DNS
6
+ class: Errors
7
+ type: DNS
8
component: Unbound
8
- type: Errors
9
lookup: average -60s unaligned absolute match-names of overwritten
10
units: queries
11
every: 10s
@@ -16,9 +16,9 @@ component: Unbound
16
17
template: unbound_request_list_dropped
18
on: unbound.request_list_jostle_list
19
- class: DNS
19
+ class: Errors
20
+ type: DNS
21
component: Unbound
21
- type: Errors
22
lookup: average -60s unaligned absolute match-names of dropped
23
units: queries
24
every: 10s
health/health.d/varnish.conf
+2
-2
@@ -1,8 +1,8 @@
1
alarm: varnish_last_collected
2
on: varnish.uptime
3
- class: Web Proxy
3
+ class: Latency
4
+ type: Web Proxy
5
component: Varnish
5
- type: Latency
6
calc: $now - $last_collected_t
7
units: seconds ago
8
every: 10s
health/health.d/vcsa.conf
+16
-16
@@ -8,9 +8,9 @@
8
9
template: vcsa_system_health
10
on: vcsa.system_health
11
- class: Virtual Machine
11
+ class: Errors
12
+ type: Virtual Machine
13
component: VMware vCenter
13
- type: Errors
14
lookup: max -10s unaligned of system
15
units: status
16
every: 10s
@@ -30,9 +30,9 @@ component: VMware vCenter
30
31
template: vcsa_swap_health
32
on: vcsa.components_health
33
- class: Virtual Machine
33
+ class: Errors
34
+ type: Virtual Machine
35
component: VMware vCenter
35
- type: Errors
36
lookup: max -10s unaligned of swap
37
units: status
38
every: 10s
@@ -45,9 +45,9 @@ component: VMware vCenter
45
46
template: vcsa_storage_health
47
on: vcsa.components_health
48
- class: Virtual Machine
48
+ class: Errors
49
+ type: Virtual Machine
50
component: VMware vCenter
50
- type: Errors
51
lookup: max -10s unaligned of storage
52
units: status
53
every: 10s
@@ -60,9 +60,9 @@ component: VMware vCenter
60
61
template: vcsa_mem_health
62
on: vcsa.components_health
63
- class: Virtual Machine
63
+ class: Errors
64
+ type: Virtual Machine
65
component: VMware vCenter
65
- type: Errors
66
lookup: max -10s unaligned of mem
67
units: status
68
every: 10s
@@ -75,9 +75,9 @@ component: VMware vCenter
75
76
template: vcsa_load_health
77
on: vcsa.components_health
78
- class: Virtual Machine
78
+ class: Utilization
79
+ type: Virtual Machine
80
component: VMware vCenter
80
- type: Utilization
81
lookup: max -10s unaligned of load
82
units: status
83
every: 10s
@@ -90,9 +90,9 @@ component: VMware vCenter
90
91
template: vcsa_database_storage_health
92
on: vcsa.components_health
93
- class: Virtual Machine
93
+ class: Errors
94
+ type: Virtual Machine
95
component: VMware vCenter
95
- type: Errors
96
lookup: max -10s unaligned of database_storage
97
units: status
98
every: 10s
@@ -105,9 +105,9 @@ component: VMware vCenter
105
106
template: vcsa_applmgmt_health
107
on: vcsa.components_health
108
- class: Virtual Machine
108
+ class: Errors
109
+ type: Virtual Machine
110
component: VMware vCenter
110
- type: Errors
111
lookup: max -10s unaligned of applmgmt
112
units: status
113
every: 10s
@@ -127,9 +127,9 @@ component: VMware vCenter
127
128
template: vcsa_software_updates_health
129
on: vcsa.software_updates_health
130
- class: Virtual Machine
130
+ class: Errors
131
+ type: Virtual Machine
132
component: VMware vCenter
132
- type: Errors
133
lookup: max -10s unaligned of software_packages
134
units: status
135
every: 10s
health/health.d/vernemq.conf
+52
-52
@@ -3,9 +3,9 @@
3
4
template: vernemq_socket_errors
5
on: vernemq.socket_errors
6
- class: Messaging
6
+ class: Errors
7
+ type: Messaging
8
component: VerneMQ
8
- type: Errors
9
lookup: sum -1m unaligned absolute of socket_error
10
units: errors
11
every: 1m
@@ -18,9 +18,9 @@ component: VerneMQ
18
19
template: vernemq_queue_message_drop
20
on: vernemq.queue_undelivered_messages
21
- class: Messaging
21
+ class: Errors
22
+ type: Messaging
23
component: VerneMQ
23
- type: Errors
24
lookup: average -1m unaligned absolute of queue_message_drop
25
units: dropped messages
26
every: 1m
@@ -31,9 +31,9 @@ component: VerneMQ
31
32
template: vernemq_queue_message_expired
33
on: vernemq.queue_undelivered_messages
34
- class: Messaging
34
+ class: Latency
35
+ type: Messaging
36
component: VerneMQ
36
- type: Latency
37
lookup: average -1m unaligned absolute of queue_message_expired
38
units: expired messages
39
every: 1m
@@ -44,9 +44,9 @@ component: VerneMQ
44
45
template: vernemq_queue_message_unhandled
46
on: vernemq.queue_undelivered_messages
47
- class: Messaging
47
+ class: Latency
48
+ type: Messaging
49
component: VerneMQ
49
- type: Latency
50
lookup: average -1m unaligned absolute of queue_message_unhandled
51
units: unhandled messages
52
every: 1m
@@ -59,9 +59,9 @@ component: VerneMQ
59
60
template: vernemq_average_scheduler_utilization
61
on: vernemq.average_scheduler_utilization
62
- class: Messaging
62
+ class: Utilization
63
+ type: Messaging
64
component: VerneMQ
64
- type: Utilization
65
lookup: average -10m unaligned
66
units: %
67
every: 1m
@@ -75,9 +75,9 @@ component: VerneMQ
75
76
template: vernemq_cluster_dropped
77
on: vernemq.cluster_dropped
78
- class: Messaging
78
+ class: Errors
79
+ type: Messaging
80
component: VerneMQ
80
- type: Errors
81
lookup: sum -1m unaligned
82
units: KiB
83
every: 1m
@@ -88,9 +88,9 @@ component: VerneMQ
88
89
template: vernemq_netsplits
90
on: vernemq.netsplits
91
- class: Messaging
91
+ class: Workload
92
+ type: Messaging
93
component: VerneMQ
93
- type: Workload
94
lookup: sum -1m unaligned absolute of netsplit_detected
95
units: netsplits
96
every: 10s
@@ -103,9 +103,9 @@ component: VerneMQ
103
104
template: vernemq_mqtt_connack_sent_reason_unsuccessful
105
on: vernemq.mqtt_connack_sent_reason
106
- class: Messaging
106
+ class: Errors
107
+ type: Messaging
108
component: VerneMQ
108
- type: Errors
109
lookup: average -1m unaligned absolute match-names of !success,*
110
units: packets
111
every: 1m
@@ -118,9 +118,9 @@ component: VerneMQ
118
119
template: vernemq_mqtt_disconnect_received_reason_not_normal
120
on: vernemq.mqtt_disconnect_received_reason
121
- class: Messaging
121
+ class: Workload
122
+ type: Messaging
123
component: VerneMQ
123
- type: Workload
124
lookup: average -1m unaligned absolute match-names of !normal_disconnect,*
125
units: packets
126
every: 1m
@@ -131,9 +131,9 @@ component: VerneMQ
131
132
template: vernemq_mqtt_disconnect_sent_reason_not_normal
133
on: vernemq.mqtt_disconnect_sent_reason
134
- class: Messaging
134
+ class: Errors
135
+ type: Messaging
136
component: VerneMQ
136
- type: Errors
137
lookup: average -1m unaligned absolute match-names of !normal_disconnect,*
138
units: packets
139
every: 1m
@@ -146,9 +146,9 @@ component: VerneMQ
146
147
template: vernemq_mqtt_subscribe_error
148
on: vernemq.mqtt_subscribe_error
149
- class: Messaging
149
+ class: Errors
150
+ type: Messaging
151
component: VerneMQ
151
- type: Errors
152
lookup: average -1m unaligned absolute
153
units: failed ops
154
every: 1m
@@ -159,9 +159,9 @@ component: VerneMQ
159
160
template: vernemq_mqtt_subscribe_auth_error
161
on: vernemq.mqtt_subscribe_auth_error
162
- class: Messaging
162
+ class: Workload
163
+ type: Messaging
164
component: VerneMQ
164
- type: Workload
165
lookup: average -1m unaligned absolute
166
units: attempts
167
every: 1m
@@ -174,9 +174,9 @@ component: VerneMQ
174
175
template: vernemq_mqtt_unsubscribe_error
176
on: vernemq.mqtt_unsubscribe_error
177
- class: Messaging
177
+ class: Errors
178
+ type: Messaging
179
component: VerneMQ
179
- type: Errors
180
lookup: average -1m unaligned absolute
181
units: failed ops
182
every: 1m
@@ -189,9 +189,9 @@ component: VerneMQ
189
190
template: vernemq_mqtt_publish_errors
191
on: vernemq.mqtt_publish_errors
192
- class: Messaging
192
+ class: Errors
193
+ type: Messaging
194
component: VerneMQ
194
- type: Errors
195
lookup: average -1m unaligned absolute
196
units: failed ops
197
every: 1m
@@ -202,9 +202,9 @@ component: VerneMQ
202
203
template: vernemq_mqtt_publish_auth_errors
204
on: vernemq.mqtt_publish_auth_errors
205
- class: Messaging
205
+ class: Workload
206
+ type: Messaging
207
component: VerneMQ
207
- type: Workload
208
lookup: average -1m unaligned absolute
209
units: attempts
210
every: 1m
@@ -217,9 +217,9 @@ component: VerneMQ
217
218
template: vernemq_mqtt_puback_received_reason_unsuccessful
219
on: vernemq.mqtt_puback_received_reason
220
- class: Messaging
220
+ class: Errors
221
+ type: Messaging
222
component: VerneMQ
222
- type: Errors
223
lookup: average -1m unaligned absolute match-names of !success,*
224
units: packets
225
every: 1m
@@ -230,9 +230,9 @@ component: VerneMQ
230
231
template: vernemq_mqtt_puback_sent_reason_unsuccessful
232
on: vernemq.mqtt_puback_sent_reason
233
- class: Messaging
233
+ class: Errors
234
+ type: Messaging
235
component: VerneMQ
235
- type: Errors
236
lookup: average -1m unaligned absolute match-names of !success,*
237
units: packets
238
every: 1m
@@ -243,9 +243,9 @@ component: VerneMQ
243
244
template: vernemq_mqtt_puback_unexpected
245
on: vernemq.mqtt_puback_invalid_error
246
- class: Messaging
246
+ class: Workload
247
+ type: Messaging
248
component: VerneMQ
248
- type: Workload
249
lookup: average -1m unaligned absolute
250
units: messages
251
every: 1m
@@ -258,9 +258,9 @@ component: VerneMQ
258
259
template: vernemq_mqtt_pubrec_received_reason_unsuccessful
260
on: vernemq.mqtt_pubrec_received_reason
261
- class: Messaging
261
+ class: Errors
262
+ type: Messaging
263
component: VerneMQ
263
- type: Errors
264
lookup: average -1m unaligned absolute match-names of !success,*
265
units: packets
266
every: 1m
@@ -271,9 +271,9 @@ component: VerneMQ
271
272
template: vernemq_mqtt_pubrec_sent_reason_unsuccessful
273
on: vernemq.mqtt_pubrec_sent_reason
274
- class: Messaging
274
+ class: Errors
275
+ type: Messaging
276
component: VerneMQ
276
- type: Errors
277
lookup: average -1m unaligned absolute match-names of !success,*
278
units: packets
279
every: 1m
@@ -284,9 +284,9 @@ component: VerneMQ
284
285
template: vernemq_mqtt_pubrec_invalid_error
286
on: vernemq.mqtt_pubrec_invalid_error
287
- class: Messaging
287
+ class: Workload
288
+ type: Messaging
289
component: VerneMQ
289
- type: Workload
290
lookup: average -1m unaligned absolute
291
units: messages
292
every: 1m
@@ -299,9 +299,9 @@ component: VerneMQ
299
300
template: vernemq_mqtt_pubrel_received_reason_unsuccessful
301
on: vernemq.mqtt_pubrel_received_reason
302
- class: Messaging
302
+ class: Errors
303
+ type: Messaging
304
component: VerneMQ
304
- type: Errors
305
lookup: average -1m unaligned absolute match-names of !success,*
306
units: packets
307
every: 1m
@@ -312,9 +312,9 @@ component: VerneMQ
312
313
template: vernemq_mqtt_pubrel_sent_reason_unsuccessful
314
on: vernemq.mqtt_pubrel_sent_reason
315
- class: Messaging
315
+ class: Errors
316
+ type: Messaging
317
component: VerneMQ
317
- type: Errors
318
lookup: average -1m unaligned absolute match-names of !success,*
319
units: packets
320
every: 1m
@@ -327,9 +327,9 @@ component: VerneMQ
327
328
template: vernemq_mqtt_pubcomp_received_reason_unsuccessful
329
on: vernemq.mqtt_pubcomp_received_reason
330
- class: Messaging
330
+ class: Errors
331
+ type: Messaging
332
component: VerneMQ
332
- type: Errors
333
lookup: average -1m unaligned absolute match-names of !success,*
334
units: packets
335
every: 1m
@@ -340,9 +340,9 @@ component: VerneMQ
340
341
template: vernemq_mqtt_pubcomp_sent_reason_unsuccessful
342
on: vernemq.mqtt_pubcomp_sent_reason
343
- class: Messaging
343
+ class: Errors
344
+ type: Messaging
345
component: VerneMQ
345
- type: Errors
346
lookup: average -1m unaligned absolute match-names of !success,*
347
units: packets
348
every: 1m
@@ -353,9 +353,9 @@ component: VerneMQ
353
354
template: vernemq_mqtt_pubcomp_unexpected
355
on: vernemq.mqtt_pubcomp_invalid_error
356
- class: Messaging
356
+ class: Workload
357
+ type: Messaging
358
component: VerneMQ
358
- type: Workload
359
lookup: average -1m unaligned absolute
360
units: messages
361
every: 1m
health/health.d/vsphere.conf
+22
-22
@@ -6,9 +6,9 @@
6
7
template: vsphere_vm_mem_usage
8
on: vsphere.vm_mem_usage_percentage
9
- class: Virtual Machine
9
+ class: Utilization
10
+ type: Virtual Machine
11
component: Memory
11
- type: Utilization
12
hosts: *
13
calc: $used
14
units: %
@@ -23,9 +23,9 @@ component: Memory
23
24
template: vsphere_host_mem_usage
25
on: vsphere.host_mem_usage_percentage
26
- class: Virtual Machine
26
+ class: Utilization
27
+ type: Virtual Machine
28
component: Memory
28
- type: Utilization
29
hosts: *
30
calc: $used
31
units: %
@@ -39,9 +39,9 @@ component: Memory
39
40
template: vsphere_inbound_packets_errors
41
on: vsphere.net_errors_total
42
- class: Virtual Machine
42
+ class: Errors
43
+ type: Virtual Machine
44
component: Network
44
- type: Errors
45
hosts: *
46
families: *
47
lookup: sum -10m unaligned absolute match-names of rx
@@ -51,9 +51,9 @@ component: Network
51
52
template: vsphere_outbound_packets_errors
53
on: vsphere.net_errors_total
54
- class: Virtual Machine
54
+ class: Errors
55
+ type: Virtual Machine
56
component: Network
56
- type: Errors
57
hosts: *
58
families: *
59
lookup: sum -10m unaligned absolute match-names of tx
@@ -65,9 +65,9 @@ component: Network
65
66
template: vsphere_inbound_packets_errors_ratio
67
on: vsphere.net_packets_total
68
- class: Virtual Machine
68
+ class: Errors
69
+ type: Virtual Machine
70
component: Network
70
- type: Errors
71
hosts: *
72
families: *
73
lookup: sum -10m unaligned absolute match-names of rx
@@ -81,9 +81,9 @@ component: Network
81
82
template: vsphere_outbound_packets_errors_ratio
83
on: vsphere.net_packets_total
84
- class: Virtual Machine
84
+ class: Errors
85
+ type: Virtual Machine
86
component: Network
86
- type: Errors
87
hosts: *
88
families: *
89
lookup: sum -10m unaligned absolute match-names of tx
@@ -100,9 +100,9 @@ component: Network
100
101
template: vsphere_cpu_usage
102
on: vsphere.cpu_usage_total
103
- class: Virtual Machine
103
+ class: Utilization
104
+ type: Virtual Machine
105
component: CPU
105
- type: Utilization
106
hosts: *
107
lookup: average -10m unaligned match-names of used
108
units: %
@@ -117,9 +117,9 @@ component: CPU
117
118
template: vsphere_inbound_packets_dropped
119
on: vsphere.net_drops_total
120
- class: Virtual Machine
120
+ class: Errors
121
+ type: Virtual Machine
122
component: Network
122
- type: Errors
123
hosts: *
124
families: *
125
lookup: sum -10m unaligned absolute match-names of rx
@@ -129,9 +129,9 @@ component: Network
129
130
template: vsphere_outbound_packets_dropped
131
on: vsphere.net_drops_total
132
- class: Virtual Machine
132
+ class: Errors
133
+ type: Virtual Machine
134
component: Network
134
- type: Errors
135
hosts: *
136
families: *
137
lookup: sum -10m unaligned absolute match-names of tx
@@ -143,9 +143,9 @@ component: Network
143
144
template: vsphere_inbound_packets_dropped_ratio
145
on: vsphere.net_packets_total
146
- class: Virtual Machine
146
+ class: Errors
147
+ type: Virtual Machine
148
component: Network
148
- type: Errors
149
hosts: *
150
families: *
151
lookup: sum -10m unaligned absolute match-names of rx
@@ -159,9 +159,9 @@ component: Network
159
160
template: vsphere_outbound_packets_dropped_ratio
161
on: vsphere.net_packets_total
162
- class: Virtual Machine
162
+ class: Errors
163
+ type: Virtual Machine
164
component: Network
164
- type: Errors
165
hosts: *
166
families: *
167
lookup: sum -10m unaligned absolute match-names of tx
health/health.d/web_log.conf
+48
-48
@@ -11,9 +11,9 @@
11
12
template: 1m_requests
13
on: web_log.response_statuses
14
- class: Web Server
14
+ class: Workload
15
+ type: Web Server
16
component: Web log
16
- type: Workload
17
families: *
18
lookup: sum -1m unaligned
19
calc: ($this == 0)?(1):($this)
@@ -23,9 +23,9 @@ component: Web log
23
24
template: 1m_successful
25
on: web_log.response_statuses
26
- class: Web Server
26
+ class: Workload
27
+ type: Web Server
28
component: Web log
28
- type: Workload
29
families: *
30
lookup: sum -1m unaligned of successful_requests
31
calc: $this * 100 / $1m_requests
@@ -39,9 +39,9 @@ component: Web log
39
40
template: 1m_redirects
41
on: web_log.response_statuses
42
- class: Web Server
42
+ class: Workload
43
+ type: Web Server
44
component: Web log
44
- type: Workload
45
families: *
46
lookup: sum -1m unaligned of redirects
47
calc: $this * 100 / $1m_requests
@@ -54,9 +54,9 @@ component: Web log
54
55
template: 1m_bad_requests
56
on: web_log.response_statuses
57
- class: Web Server
57
+ class: Errors
58
+ type: Web Server
59
component: Web log
59
- type: Errors
60
families: *
61
lookup: sum -1m unaligned of bad_requests
62
calc: $this * 100 / $1m_requests
@@ -69,9 +69,9 @@ component: Web log
69
70
template: 1m_internal_errors
71
on: web_log.response_statuses
72
- class: Web Server
72
+ class: Errors
73
+ type: Web Server
74
component: Web log
74
- type: Errors
75
families: *
76
lookup: sum -1m unaligned of server_errors
77
calc: $this * 100 / $1m_requests
@@ -94,9 +94,9 @@ component: Web log
94
95
template: 1m_total_requests
96
on: web_log.response_codes
97
- class: Web Server
97
+ class: Workload
98
+ type: Web Server
99
component: Web log
99
- type: Workload
100
families: *
101
lookup: sum -1m unaligned
102
calc: ($this == 0)?(1):($this)
@@ -106,9 +106,9 @@ component: Web log
106
107
template: 1m_unmatched
108
on: web_log.response_codes
109
- class: Web Server
109
+ class: Errors
110
+ type: Web Server
111
component: Web log
111
- type: Errors
112
families: *
113
lookup: sum -1m unaligned of unmatched
114
calc: $this * 100 / $1m_total_requests
@@ -131,9 +131,9 @@ component: Web log
131
132
template: 10m_response_time
133
on: web_log.response_time
134
- class: System
134
+ class: Latency
135
+ type: System
136
component: Web log
136
- type: Latency
137
families: *
138
lookup: average -10m unaligned of avg
139
units: ms
@@ -142,9 +142,9 @@ component: Web log
142
143
template: web_slow
144
on: web_log.response_time
145
- class: Web Server
145
+ class: Latency
146
+ type: Web Server
147
component: Web log
147
- type: Latency
148
families: *
149
lookup: average -1m unaligned of avg
150
units: ms
@@ -171,9 +171,9 @@ component: Web log
171
172
template: 5m_successful_old
173
on: web_log.response_statuses
174
- class: Web Server
174
+ class: Workload
175
+ type: Web Server
176
component: Web log
176
- type: Workload
177
families: *
178
lookup: average -5m at -5m unaligned of successful_requests
179
units: requests/s
@@ -182,9 +182,9 @@ component: Web log
182
183
template: 5m_successful
184
on: web_log.response_statuses
185
- class: Web Server
185
+ class: Workload
186
+ type: Web Server
187
component: Web log
187
- type: Workload
188
families: *
189
lookup: average -5m unaligned of successful_requests
190
units: requests/s
@@ -193,9 +193,9 @@ component: Web log
193
194
template: 5m_requests_ratio
195
on: web_log.response_codes
196
- class: Web Server
196
+ class: Workload
197
+ type: Web Server
198
component: Web log
198
- type: Workload
199
families: *
200
calc: ($5m_successful_old > 0)?($5m_successful * 100 / $5m_successful_old):(100)
201
units: %
@@ -224,9 +224,9 @@ component: Web log
224
225
template: web_log_1m_total_requests
226
on: web_log.requests
227
- class: Web Server
227
+ class: Workload
228
+ type: Web Server
229
component: Web log
229
- type: Workload
230
families: *
231
lookup: sum -1m unaligned
232
calc: ($this == 0)?(1):($this)
@@ -236,9 +236,9 @@ component: Web log
236
237
template: web_log_1m_unmatched
238
on: web_log.excluded_requests
239
- class: Web Server
239
+ class: Errors
240
+ type: Web Server
241
component: Web log
241
- type: Errors
242
families: *
243
lookup: sum -1m unaligned of unmatched
244
calc: $this * 100 / $web_log_1m_total_requests
@@ -261,9 +261,9 @@ component: Web log
261
262
template: web_log_1m_requests
263
on: web_log.type_requests
264
- class: Web Server
264
+ class: Workload
265
+ type: Web Server
266
component: Web log
266
- type: Workload
267
families: *
268
lookup: sum -1m unaligned
269
calc: ($this == 0)?(1):($this)
@@ -273,9 +273,9 @@ component: Web log
273
274
template: web_log_1m_successful
275
on: web_log.type_requests
276
- class: Web Server
276
+ class: Workload
277
+ type: Web Server
278
component: Web log
278
- type: Workload
279
families: *
280
lookup: sum -1m unaligned of success
281
calc: $this * 100 / $web_log_1m_requests
@@ -289,9 +289,9 @@ component: Web log
289
290
template: web_log_1m_redirects
291
on: web_log.type_requests
292
- class: Web Server
292
+ class: Workload
293
+ type: Web Server
294
component: Web log
294
- type: Workload
295
families: *
296
lookup: sum -1m unaligned of redirect
297
calc: $this * 100 / $web_log_1m_requests
@@ -304,9 +304,9 @@ component: Web log
304
305
template: web_log_1m_bad_requests
306
on: web_log.type_requests
307
- class: Web Server
307
+ class: Errors
308
+ type: Web Server
309
component: Web log
309
- type: Errors
310
families: *
311
lookup: sum -1m unaligned of bad
312
calc: $this * 100 / $web_log_1m_requests
@@ -319,9 +319,9 @@ component: Web log
319
320
template: web_log_1m_internal_errors
321
on: web_log.type_requests
322
- class: Web Server
322
+ class: Errors
323
+ type: Web Server
324
component: Web log
324
- type: Errors
325
families: *
326
lookup: sum -1m unaligned of error
327
calc: $this * 100 / $web_log_1m_requests
@@ -345,9 +345,9 @@ component: Web log
345
346
template: web_log_10m_response_time
347
on: web_log.request_processing_time
348
- class: System
348
+ class: Latency
349
+ type: System
350
component: Web log
350
- type: Latency
351
families: *
352
lookup: average -10m unaligned of avg
353
units: ms
@@ -356,9 +356,9 @@ component: Web log
356
357
template: web_log_web_slow
358
on: web_log.request_processing_time
359
- class: Web Server
359
+ class: Latency
360
+ type: Web Server
361
component: Web log
361
- type: Latency
362
families: *
363
lookup: average -1m unaligned of avg
364
units: ms
@@ -385,9 +385,9 @@ component: Web log
385
386
template: web_log_5m_successful_old
387
on: web_log.type_requests
388
- class: Web Server
388
+ class: Workload
389
+ type: Web Server
390
component: Web log
390
- type: Workload
391
families: *
392
lookup: average -5m at -5m unaligned of success
393
units: requests/s
@@ -396,9 +396,9 @@ component: Web log
396
397
template: web_log_5m_successful
398
on: web_log.type_requests
399
- class: Web Server
399
+ class: Workload
400
+ type: Web Server
401
component: Web log
401
- type: Workload
402
families: *
403
lookup: average -5m unaligned of success
404
units: requests/s
@@ -407,9 +407,9 @@ component: Web log
407
408
template: web_log_5m_requests_ratio
409
on: web_log.type_requests
410
- class: Web Server
410
+ class: Workload
411
+ type: Web Server
412
component: Web log
412
- type: Workload
413
families: *
414
calc: ($web_log_5m_successful_old > 0)?($web_log_5m_successful * 100 / $web_log_5m_successful_old):(100)
415
units: %
health/health.d/whoisquery.conf
+2
-2
@@ -1,9 +1,9 @@
1
2
template: whoisquery_days_until_expiration
3
on: whoisquery.time_until_expiration
4
- class: Other
4
+ class: Utilization
5
+ type: Other
6
component: WHOIS
6
- type: Utilization
7
calc: $expiry
8
units: seconds
9
every: 60s
health/health.d/wmi.conf
+16
-16
@@ -3,9 +3,9 @@
3
4
template: wmi_10min_cpu_usage
5
on: wmi.cpu_utilization_total
6
- class: Windows
6
+ class: Utilization
7
+ type: Windows
8
component: CPU
8
- type: Utilization
9
os: linux
10
hosts: *
11
lookup: average -10m unaligned match-names of dpc,user,privileged,interrupt
@@ -22,9 +22,9 @@ component: CPU
22
23
template: wmi_ram_in_use
24
on: wmi.memory_utilization
25
- class: Windows
25
+ class: Utilization
26
+ type: Windows
27
component: Memory
27
- type: Utilization
28
os: linux
29
hosts: *
30
calc: ($used) * 100 / ($used + $available)
@@ -38,9 +38,9 @@ component: Memory
38
39
template: wmi_swap_in_use
40
on: wmi.memory_swap_utilization
41
- class: Windows
41
+ class: Utilization
42
+ type: Windows
43
component: Memory
43
- type: Utilization
44
os: linux
45
hosts: *
46
calc: ($used) * 100 / ($used + $available)
@@ -57,9 +57,9 @@ component: Memory
57
58
template: wmi_inbound_packets_discarded
59
on: wmi.net_discarded
60
- class: Windows
60
+ class: Errors
61
+ type: Windows
62
component: Network
62
- type: Errors
63
os: linux
64
hosts: *
65
families: *
@@ -73,9 +73,9 @@ component: Network
73
74
template: wmi_outbound_packets_discarded
75
on: wmi.net_discarded
76
- class: Windows
76
+ class: Errors
77
+ type: Windows
78
component: Network
78
- type: Errors
79
os: linux
80
hosts: *
81
families: *
@@ -89,9 +89,9 @@ component: Network
89
90
template: wmi_inbound_packets_errors
91
on: wmi.net_errors
92
- class: Windows
92
+ class: Errors
93
+ type: Windows
94
component: Network
94
- type: Errors
95
os: linux
96
hosts: *
97
families: *
@@ -105,9 +105,9 @@ component: Network
105
106
template: wmi_outbound_packets_errors
107
on: wmi.net_errors
108
- class: Windows
108
+ class: Errors
109
+ type: Windows
110
component: Network
110
- type: Errors
111
os: linux
112
hosts: *
113
families: *
@@ -124,9 +124,9 @@ component: Network
124
125
template: wmi_disk_in_use
126
on: wmi.logical_disk_utilization
127
- class: Windows
127
+ class: Utilization
128
+ type: Windows
129
component: Disk
129
- type: Utilization
130
os: linux
131
hosts: *
132
calc: ($used) * 100 / ($used + $free)
health/health.d/x509check.conf
+4
-4
@@ -1,9 +1,9 @@
1
2
template: x509check_days_until_expiration
3
on: x509check.time_until_expiration
4
- class: Certificates
4
+ class: Latency
5
+ type: Certificates
6
component: x509 certificates
6
- type: Latency
7
calc: $expiry
8
units: seconds
9
every: 60s
@@ -14,9 +14,9 @@ component: x509 certificates
14
15
template: x509check_revocation_status
16
on: x509check.revocation_status
17
- class: Certificates
17
+ class: Errors
18
+ type: Certificates
19
component: x509 certificates
19
- type: Errors
20
calc: $revoked
21
every: 60s
22
crit: $this != nan AND $this != 0
health/health.d/zfs.conf
+6
-6
@@ -1,9 +1,9 @@
1
2
alarm: zfs_memory_throttle
3
on: zfs.memory_ops
4
- class: System
4
+ class: Utilization
5
+ type: System
6
component: File system
6
- type: Utilization
7
lookup: sum -10m unaligned absolute of throttled
8
units: events
9
every: 1m
@@ -16,9 +16,9 @@ component: File system
16
17
template: zfs_pool_state_warn
18
on: zfspool.state
19
- class: System
19
+ class: Errors
20
+ type: System
21
component: File system
21
- type: Errors
22
calc: $degraded
23
units: boolean
24
every: 10s
@@ -29,9 +29,9 @@ component: File system
29
30
template: zfs_pool_state_crit
31
on: zfspool.state
32
- class: System
32
+ class: Errors
33
+ type: System
34
component: File system
34
- type: Errors
35
calc: $faulted + $unavail
36
units: boolean
37
every: 10s