Files
apache--hertzbeat/home/versioned_docs/version-1.6.x/help/linux.md
T
wehub-resource-sync c8cebdfeee
MCP Bash Server CI / Test MCP Bash Server (dev) (push) Has been cancelled
MCP Bash Server CI / Test MCP Bash Server (release) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:11:39 +08:00

82 lines
5.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
id: linux
title: MonitoringLinux operating system monitoring
sidebar_label: Linux operating system
keywords: [open source monitoring tool, open source linux monitoring tool, monitoring linux metrics]
---
> Collect and monitor the general performance Metrics of Linux operating system.
## Configuration parameter
| Parameter name | Parameter help description |
|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Monitoring Host | Monitored IPV4, IPV6 or domain name. Note⚠️Without protocol header (eg: https://, http://) |
| Monitoring name | Identify the name of this monitoring. The name needs to be unique |
| Port | Port provided by Linux SSH. The default is 22 |
| Username | SSH connection user name, optional |
| Password | SSH connection password, optional |
| Collection interval | Interval time of monitor periodic data collection, unit: second, and the minimum interval that can be set is 30 seconds |
| Whether to detect | Whether to detect and check the availability of monitoring before adding monitoring. Adding and modifying operations will continue only after the detection is successful |
| Description remarks | For more information about identifying and describing this monitoring, users can note information here |
### Collection Metric
#### Metric setbasic
| Metric name | Metric unit | Metric help description |
|-------------|-------------|--------------------------|
| hostname | none | Host name |
| version | none | Operating system version |
| uptime | none | System running time |
#### Metric setcpu
| Metric name | Metric unit | Metric help description |
|----------------|-------------|------------------------------------------------|
| info | none | CPU model |
| cores | cores | Number of CPU cores |
| interrupt | number | Number of CPU interrupts |
| load | none | Average load of CPU in the last 1/5/15 minutes |
| context_switch | number | Number of current context switches |
| usage | % | CPU usage |
#### Metric setmemory
| Metric name | Metric unit | Metric help description |
|-------------|-------------|-------------------------------------|
| total | Mb | Total memory capacity |
| used | Mb | User program memory |
| free | Mb | Free memory capacity |
| buff_cache | Mb | Memory occupied by cache |
| available | Mb | Remaining available memory capacity |
| usage | % | Memory usage |
#### Metric setdisk
| Metric name | Metric unit | Metric help description |
|---------------|-------------|----------------------------------------|
| disk_num | blocks | Total number of disks |
| partition_num | partitions | Total number of partitions |
| block_write | blocks | Total number of blocks written to disk |
| block_read | blocks | Number of blocks read from disk |
| write_rate | iops | Rate of writing disk blocks per second |
#### Metric setinterface
| Metric name | Metric unit | Metric help description |
|----------------|-------------|------------------------------|
| interface_name | none | Network card name |
| receive_bytes | byte | Inbound data traffic(bytes) |
| transmit_bytes | byte | Outbound data traffic(bytes) |
#### Metric setdisk_free
| Metric name | Metric unit | Metric help description |
|-------------|-------------|-------------------------|
| filesystem | none | File system name |
| used | Mb | Used disk size |
| available | Mb | Available disk size |
| usage | % | usage |
| mounted | none | Mount point directory |