| 1 | <!--startmeta |
| 2 | custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/collectors/cgroups.plugin/integrations/systemd_services.md" |
| 3 | meta_yaml: "https://github.com/netdata/netdata/edit/master/src/collectors/cgroups.plugin/metadata.yaml" |
| 4 | sidebar_label: "Systemd Services" |
| 5 | learn_status: "Published" |
| 6 | learn_rel_path: "Collecting Metrics/Collectors/Operating Systems" |
| 7 | keywords: ['systemd', 'services', 'units', 'daemons', 'systemctl', 'cgroups'] |
| 8 | message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE COLLECTOR'S metadata.yaml FILE" |
| 9 | endmeta--> |
| 10 | |
| 11 | # Systemd Services |
| 12 | |
| 13 | |
| 14 | <img src="https://netdata.cloud/img/systemd.svg" width="150"/> |
| 15 | |
| 16 | |
| 17 | Plugin: cgroups.plugin |
| 18 | Module: /sys/fs/cgroup |
| 19 | |
| 20 | <img src="https://img.shields.io/badge/maintained%20by-Netdata-%2300ab44" /> |
| 21 | |
| 22 | ## Overview |
| 23 | |
| 24 | Monitor containers and virtual machines resource utilization — CPU, memory, disk I/O, and network — via Linux cgroups. |
| 25 | |
| 26 | |
| 27 | |
| 28 | This collector is only supported on the following platforms: |
| 29 | |
| 30 | - Linux |
| 31 | |
| 32 | This collector supports collecting metrics from multiple instances of this integration, including remote instances. |
| 33 | |
| 34 | |
| 35 | ### Default Behavior |
| 36 | |
| 37 | #### Auto-Detection |
| 38 | |
| 39 | This integration doesn't support auto-detection. |
| 40 | |
| 41 | #### Limits |
| 42 | |
| 43 | The default configuration for this integration does not impose any limits on data collection. |
| 44 | |
| 45 | #### Performance Impact |
| 46 | |
| 47 | The default configuration for this integration is not expected to impose a significant performance impact on the system. |
| 48 | |
| 49 | ## Setup |
| 50 | |
| 51 | |
| 52 | ### Prerequisites |
| 53 | |
| 54 | No action required. |
| 55 | |
| 56 | ### Configuration |
| 57 | |
| 58 | #### Options |
| 59 | |
| 60 | |
| 61 | |
| 62 | There are no configuration options. |
| 63 | |
| 64 | |
| 65 | |
| 66 | #### via File |
| 67 | |
| 68 | There is no configuration file. |
| 69 | |
| 70 | ##### Examples |
| 71 | There are no configuration examples. |
| 72 | |
| 73 | |
| 74 | |
| 75 | ## Alerts |
| 76 | |
| 77 | There are no alerts configured by default for this integration. |
| 78 | |
| 79 | |
| 80 | ## Metrics |
| 81 | |
| 82 | Metrics grouped by *scope*. |
| 83 | |
| 84 | The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels. |
| 85 | |
| 86 | |
| 87 | |
| 88 | ### Per systemd service |
| 89 | |
| 90 | |
| 91 | |
| 92 | Labels: |
| 93 | |
| 94 | | Label | Description | |
| 95 | |:-----------|:----------------| |
| 96 | | service_name | Service name | |
| 97 | |
| 98 | Metrics: |
| 99 | |
| 100 | | Metric | Dimensions | Unit | |
| 101 | |:------|:----------|:----| |
| 102 | | systemd.service.cpu.utilization | user, system | percentage | |
| 103 | | systemd.service.memory.usage | ram, swap | MiB | |
| 104 | | systemd.service.memory.failcnt | fail | failures/s | |
| 105 | | systemd.service.memory.ram.usage | rss, cache, mapped_file, rss_huge | MiB | |
| 106 | | systemd.service.memory.writeback | writeback, dirty | MiB | |
| 107 | | systemd.service.memory.paging.faults | minor, major | MiB/s | |
| 108 | | systemd.service.memory.paging.io | in, out | MiB/s | |
| 109 | | systemd.service.disk.io | read, write | KiB/s | |
| 110 | | systemd.service.disk.iops | read, write | operations/s | |
| 111 | | systemd.service.disk.throttle.io | read, write | KiB/s | |
| 112 | | systemd.service.disk.throttle.iops | read, write | operations/s | |
| 113 | | systemd.service.disk.queued_iops | read, write | operations/s | |
| 114 | | systemd.service.disk.merged_iops | read, write | operations/s | |
| 115 | | systemd.service.pids.current | pids | pids | |
| 116 | |
| 117 |