1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
|
plugin_name: macos.plugin
modules:
- meta:
plugin_name: macos.plugin
module_name: mach_smi
monitored_instance:
name: macOS
link: "https://www.apple.com/macos"
categories:
- data-collection.macos-systems
icon_filename: "macos.svg"
related_resources:
integrations:
list: []
info_provided_to_referring_integrations:
description: ""
keywords:
- macos
- apple
- darwin
most_popular: false
overview:
data_collection:
metrics_description: "Monitor macOS metrics for efficient operating system performance."
method_description: |
The plugin uses three different methods to collect data:
- The function `sysctlbyname` is called to collect network, swap, loadavg, and boot time.
- The functtion `host_statistic` is called to collect CPU and Virtual memory data;
- The function `IOServiceGetMatchingServices` to collect storage information.
supported_platforms:
include:
- macOS
exclude: []
multi_instance: false
additional_permissions:
description: ""
default_behavior:
auto_detection:
description: ""
limits:
description: ""
performance_impact:
description: ""
setup:
prerequisites:
list: []
configuration:
file:
name: "netdata.conf"
description: "The netdata main configuration file."
options:
description: |
There are three sections in the file which you can configure:
- `[plugin:macos:sysctl]` - Enable or disable monitoring for network, swap, loadavg, and boot time.
- `[plugin:macos:mach_smi]` - Enable or disable monitoring for CPU and Virtual memory.
- `[plugin:macos:iokit]` - Enable or disable monitoring for storage device.
folding:
title: "Config options"
enabled: true
list:
- name: enable load average
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of load average metrics (load1, load5, load15).
default_value: yes
required: false
- name: system swap
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of system swap metrics (free, used).
default_value: yes
required: false
- name: bandwidth
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of network bandwidth metrics (received, sent).
default_value: yes
required: false
- name: ipv4 TCP packets
description: Enable or disable monitoring of IPv4 TCP total packets metrics (received, sent).
section_name: plugin:macos:sysctl
default_value: yes
required: false
- name: ipv4 TCP errors
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of IPv4 TCP packets metrics (Input Errors, Checksum, Retransmission segments).
default_value: yes
required: false
- name: ipv4 TCP handshake issues
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of IPv4 TCP handshake metrics (Established Resets, Active Opens, Passive Opens, Attempt Fails).
default_value: yes
required: false
- name: ECN packets
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of ECN statistics metrics (InCEPkts, InNoECTPkts).
default_value: auto
required: false
- name: TCP SYN cookies
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of TCP SYN cookies metrics (received, sent, failed).
default_value: auto
required: false
- name: TCP out-of-order queue
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of TCP out-of-order queue metrics (inqueue).
default_value: auto
required: false
- name: TCP connection aborts
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of TCP connection aborts metrics (Bad Data, User closed, No memory, Timeout).
default_value: auto
required: false
- name: ipv4 UDP packets
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of ipv4 UDP packets metrics (sent, received.).
default_value: yes
required: false
- name: ipv4 UDP errors
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of ipv4 UDP errors metrics (Recieved Buffer error, Input Errors, No Ports, IN Checksum Errors, Ignore Multi).
default_value: yes
required: false
- name: ipv4 icmp packets
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of IPv4 ICMP packets metrics (sent, received, in error, OUT error, IN Checksum error).
default_value: yes
required: false
- name: ipv4 icmp messages
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of ipv4 ICMP messages metrics (I/O messages, I/O Errors, In Checksum).
default_value: yes
required: false
- name: ipv4 packets
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of ipv4 packets metrics (received, sent, forwarded, delivered).
default_value: yes
required: false
- name: ipv4 fragments sent
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of IPv4 fragments sent metrics (ok, fails, creates).
default_value: yes
required: false
- name: ipv4 fragments assembly
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of IPv4 fragments assembly metrics (ok, failed, all).
default_value: yes
required: false
- name: ipv4 errors
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of IPv4 errors metrics (I/O discard, I/O HDR errors, In Addr errors, In Unknown protos, OUT No Routes).
default_value: yes
required: false
- name: ipv6 packets
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of IPv6 packets metrics (received, sent, forwarded, delivered).
default_value: auto
required: false
- name: ipv6 fragments sent
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of IPv6 fragments sent metrics (ok, failed, all).
default_value: auto
required: false
- name: ipv6 fragments assembly
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of IPv6 fragments assembly metrics (ok, failed, timeout, all).
default_value: auto
required: false
- name: ipv6 errors
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of IPv6 errors metrics (I/O Discards, In Hdr Errors, In Addr Errors, In Truncaedd Packets, I/O No Routes).
default_value: auto
required: false
- name: icmp
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of ICMP metrics (sent, received).
default_value: auto
required: false
- name: icmp redirects
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of ICMP redirects metrics (received, sent).
default_value: auto
required: false
- name: icmp errors
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of ICMP metrics (I/O Errors, In Checksums, In Destination Unreachable, In Packet too big, In Time Exceeds, In Parm Problem, Out Dest Unreachable, Out Timee Exceeds, Out Parm Problems.).
default_value: auto
required: false
- name: icmp echos
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of ICMP echos metrics (I/O Echos, I/O Echo Reply).
default_value: auto
required: false
- name: icmp router
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of ICMP router metrics (I/O Solicits, I/O Advertisements).
default_value: auto
required: false
- name: icmp neighbor
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of ICMP neighbor metrics (I/O Solicits, I/O Advertisements).
default_value: auto
required: false
- name: icmp types
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of ICMP types metrics (I/O Type1, I/O Type128, I/O Type129, Out Type133, Out Type135, In Type136, Out Type145).
default_value: auto
required: false
- name: space usage for all disks
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of space usage for all disks metrics (available, used, reserved for root).
default_value: yes
required: false
- name: inodes usage for all disks
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of inodes usage for all disks metrics (available, used, reserved for root).
default_value: yes
required: false
- name: bandwidth
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of bandwidth metrics (received, sent).
default_value: yes
required: false
- name: system uptime
section_name: plugin:macos:sysctl
description: Enable or disable monitoring of system uptime metrics (uptime).
default_value: yes
required: false
- name: cpu utilization
section_name: plugin:macos:mach_smi
description: Enable or disable monitoring of CPU utilization metrics (user, nice, system, idel).
default_value: yes
required: false
- name: system ram
section_name: plugin:macos:mach_smi
description: Enable or disable monitoring of system RAM metrics (Active, Wired, throttled, compressor, inactive, purgeable, speculative, free).
default_value: yes
required: false
- name: swap i/o
section_name: plugin:macos:mach_smi
description: Enable or disable monitoring of SWAP I/O metrics (I/O Swap).
default_value: yes
required: false
- name: memory page faults
section_name: plugin:macos:mach_smi
description: Enable or disable monitoring of memory page faults metrics (memory, cow, I/O page, compress, decompress, zero fill, reactivate, purge).
default_value: yes
required: false
- name: disk i/o
section_name: plugin:macos:iokit
description: Enable or disable monitoring of disk I/O metrics (In, Out).
default_value: yes
required: false
examples:
folding:
enabled: false
title: "Config"
list:
- name: Disable swap monitoring.
folding:
enabled: true
description: A basic example that discards swap monitoring
config: |
[plugin:macos:sysctl]
system swap = no
[plugin:macos:mach_smi]
swap i/o = no
- name: Disable complete Machine SMI section.
folding:
enabled: true
description: A basic example that discards swap monitoring
config: |
[plugin:macos:mach_smi]
cpu utilization = no
system ram = no
swap i/o = no
memory page faults = no
disk i/o = no
troubleshooting:
problems:
list: []
alerts:
- name: interface_speed
link: https://github.com/netdata/netdata/blob/master/health/health.d/net.conf
metric: net.net
info: network interface ${label:device} current speed
os: "*"
metrics:
folding:
title: Metrics
enabled: false
description: ""
availability: []
scopes:
- name: global
description: |
These metrics refer to hardware and network monitoring.
labels: []
metrics:
- name: system.cpu
description: Total CPU utilization
unit: "percentage"
chart_type: stacked
dimensions:
- name: user
- name: nice
- name: system
- name: idle
- name: system.ram
description: System RAM
unit: "MiB"
chart_type: stacked
dimensions:
- name: active
- name: wired
- name: throttled
- name: compressor
- name: inactive
- name: purgeable
- name: speculative
- name: free
- name: mem.swapio
description: Swap I/O
unit: "KiB/s"
chart_type: area
dimensions:
- name: io
- name: out
- name: mem.pgfaults
description: Memory Page Faults
unit: "faults/s"
chart_type: line
dimensions:
- name: memory
- name: cow
- name: pagein
- name: pageout
- name: compress
- name: decompress
- name: zero_fill
- name: reactivate
- name: purge
- name: system.load
description: System Load Average
unit: "load"
chart_type: line
dimensions:
- name: load1
- name: load5
- name: load15
- name: mem.swap
description: System Swap
unit: "MiB"
chart_type: stacked
dimensions:
- name: free
- name: used
- name: system.ipv4
description: IPv4 Bandwidth
unit: "kilobits/s"
chart_type: area
dimensions:
- name: received
- name: sent
- name: ipv4.tcppackets
description: IPv4 TCP Packets
unit: "packets/s"
chart_type: line
dimensions:
- name: received
- name: sent
- name: ipv4.tcperrors
description: IPv4 TCP Errors
unit: "packets/s"
chart_type: line
dimensions:
- name: InErrs
- name: InCsumErrors
- name: RetransSegs
- name: ipv4.tcphandshake
description: IPv4 TCP Handshake Issues
unit: "events/s"
chart_type: line
dimensions:
- name: EstabResets
- name: ActiveOpens
- name: PassiveOpens
- name: AttemptFails
- name: ipv4.tcpconnaborts
description: TCP Connection Aborts
unit: "connections/s"
chart_type: line
dimensions:
- name: baddata
- name: userclosed
- name: nomemory
- name: timeout
- name: ipv4.tcpofo
description: TCP Out-Of-Order Queue
unit: "packets/s"
chart_type: line
dimensions:
- name: inqueue
- name: ipv4.tcpsyncookies
description: TCP SYN Cookies
unit: "packets/s"
chart_type: line
dimensions:
- name: received
- name: sent
- name: failed
- name: ipv4.ecnpkts
description: IPv4 ECN Statistics
unit: "packets/s"
chart_type: line
dimensions:
- name: CEP
- name: NoECTP
- name: ipv4.udppackets
description: IPv4 UDP Packets
unit: "packets/s"
chart_type: line
dimensions:
- name: received
- name: sent
- name: ipv4.udperrors
description: IPv4 UDP Errors
unit: "events/s"
chart_type: line
dimensions:
- name: RcvbufErrors
- name: InErrors
- name: NoPorts
- name: InCsumErrors
- name: IgnoredMulti
- name: ipv4.icmp
description: IPv4 ICMP Packets
unit: "packets/s"
chart_type: line
dimensions:
- name: received
- name: sent
- name: ipv4.icmp_errors
description: IPv4 ICMP Errors
unit: "packets/s"
chart_type: line
dimensions:
- name: InErrors
- name: OutErrors
- name: InCsumErrors
- name: ipv4.icmpmsg
description: IPv4 ICMP Messages
unit: "packets/s"
chart_type: line
dimensions:
- name: InEchoReps
- name: OutEchoReps
- name: InEchos
- name: OutEchos
- name: ipv4.packets
description: IPv4 Packets
unit: "packets/s"
chart_type: line
dimensions:
- name: received
- name: sent
- name: forwarded
- name: delivered
- name: ipv4.fragsout
description: IPv4 Fragments Sent
unit: "packets/s"
chart_type: line
dimensions:
- name: ok
- name: failed
- name: created
- name: ipv4.fragsin
description: IPv4 Fragments Reassembly
unit: "packets/s"
chart_type: line
dimensions:
- name: ok
- name: failed
- name: all
- name: ipv4.errors
description: IPv4 Errors
unit: "packets/s"
chart_type: line
dimensions:
- name: InDiscards
- name: OutDiscards
- name: InHdrErrors
- name: OutNoRoutes
- name: InAddrErrors
- name: InUnknownProtos
- name: ipv6.packets
description: IPv6 Packets
unit: "packets/s"
chart_type: line
dimensions:
- name: received
- name: sent
- name: forwarded
- name: delivers
- name: ipv6.fragsout
description: IPv6 Fragments Sent
unit: "packets/s"
chart_type: line
dimensions:
- name: ok
- name: failed
- name: all
- name: ipv6.fragsin
description: IPv6 Fragments Reassembly
unit: "packets/s"
chart_type: line
dimensions:
- name: ok
- name: failed
- name: timeout
- name: all
- name: ipv6.errors
description: IPv6 Errors
unit: "packets/s"
chart_type: line
dimensions:
- name: InDiscards
- name: OutDiscards
- name: InHdrErrors
- name: InAddrErrors
- name: InTruncatedPkts
- name: InNoRoutes
- name: OutNoRoutes
- name: ipv6.icmp
description: IPv6 ICMP Messages
unit: "messages/s"
chart_type: line
dimensions:
- name: received
- name: sent
- name: ipv6.icmpredir
description: IPv6 ICMP Redirects
unit: "redirects/s"
chart_type: line
dimensions:
- name: received
- name: sent
- name: ipv6.icmperrors
description: IPv6 ICMP Errors
unit: "errors/s"
chart_type: line
dimensions:
- name: InErrors
- name: OutErrors
- name: InCsumErrors
- name: InDestUnreachs
- name: InPktTooBigs
- name: InTimeExcds
- name: InParmProblems
- name: OutDestUnreachs
- name: OutTimeExcds
- name: OutParmProblems
- name: ipv6.icmpechos
description: IPv6 ICMP Echo
unit: "messages/s"
chart_type: line
dimensions:
- name: InEchos
- name: OutEchos
- name: InEchoReplies
- name: OutEchoReplies
- name: ipv6.icmprouter
description: IPv6 Router Messages
unit: "messages/s"
chart_type: line
dimensions:
- name: InSolicits
- name: OutSolicits
- name: InAdvertisements
- name: OutAdvertisements
- name: ipv6.icmpneighbor
description: IPv6 Neighbor Messages
unit: "messages/s"
chart_type: line
dimensions:
- name: InSolicits
- name: OutSolicits
- name: InAdvertisements
- name: OutAdvertisements
- name: ipv6.icmptypes
description: IPv6 ICMP Types
unit: "messages/s"
chart_type: line
dimensions:
- name: InType1
- name: InType128
- name: InType129
- name: InType136
- name: OutType1
- name: OutType128
- name: OutType129
- name: OutType133
- name: OutType135
- name: OutType143
- name: system.uptime
description: System Uptime
unit: "seconds"
chart_type: line
dimensions:
- name: uptime
- name: system.io
description: Disk I/O
unit: "KiB/s"
chart_type: area
dimensions:
- name: in
- name: out
- name: disk
description: ""
labels: []
metrics:
- name: disk.io
description: Disk I/O Bandwidth
unit: "KiB/s"
chart_type: area
dimensions:
- name: read
- name: writes
- name: disk.ops
description: Disk Completed I/O Operations
unit: "operations/s"
chart_type: line
dimensions:
- name: read
- name: writes
- name: disk.util
description: Disk Utilization Time
unit: "% of time working"
chart_type: area
dimensions:
- name: utilization
- name: disk.iotime
description: Disk Total I/O Time
unit: "milliseconds/s"
chart_type: line
dimensions:
- name: reads
- name: writes
- name: disk.await
description: Average Completed I/O Operation Time
unit: "milliseconds/operation"
chart_type: line
dimensions:
- name: reads
- name: writes
- name: disk.avgsz
description: Average Completed I/O Operation Bandwidth
unit: "KiB/operation"
chart_type: line
dimensions:
- name: reads
- name: writes
- name: disk.svctm
description: Average Service Time
unit: "milliseconds/operation"
chart_type: line
dimensions:
- name: svctm
- name: mount point
description: ""
labels: []
metrics:
- name: disk.space
description: Disk Space Usage for {mounted dir} [{mounted filesystem}]
unit: "GiB"
chart_type: stacked
dimensions:
- name: avail
- name: used
- name: reserved_for_root
- name: disk.inodes
description: Disk Files (inodes) Usage for {mounted dir} [{mounted filesystem}]
unit: "inodes"
chart_type: stacked
dimensions:
- name: avail
- name: used
- name: reserved_for_root
- name: network device
description: ""
labels: []
metrics:
- name: net.net
description: Bandwidth
unit: "kilobits/s"
chart_type: area
dimensions:
- name: received
- name: sent
- name: net.packets
description: Packets
unit: "packets/s"
chart_type: line
dimensions:
- name: received
- name: sent
- name: multicast_received
- name: multicast_sent
- name: net.errors
description: Interface Errors
unit: "errors/s"
chart_type: line
dimensions:
- name: inbound
- name: outbound
- name: net.drops
description: Interface Drops
unit: "drops/s"
chart_type: line
dimensions:
- name: inbound
- name: net.events
description: Network Interface Events
unit: "events/s"
chart_type: line
dimensions:
- name: frames
- name: collisions
- name: carrier
|