Skip to content
BleemeoBleemeo

Operating System Metrics

FreeThe list of metrics is reduced
StarterThe list of metrics is reduced
ProfessionalYou'll see all the metrics listed below

The Bleemeo agent automatically monitors your operating system metrics (check that your operating system is a supported OS).

The monitoring covers:

  • System resources utilization: CPU, memory, disk, …
  • SMART metrics to monitor the health of your disks
  • Sensor temperatures
  • Notifications for:
    • overutilization of resources: CPU, memory, disk space and swap. Default thresholds are 80% for warning status and 90% for critical status
    • loss of connection to the Bleemeo Cloud platform
    • network errors
    • pending security updates

The agent gathers the following metrics:

MetricDescriptionOSAlerting
agent_config_warningBleemeo agent configuration files issues
LinuxWindows
agent_gather_timeTime spent to gather metrics by Bleemeo agent in seconds
LinuxWindows
agent_statusStatus of Agent connection
LinuxWindows
cpu_idleCPU idle in percent
LinuxWindows
cpu_interruptCPU used by low-level driver in percent
Linux
cpu_niceCPU used by niced applications in percent
Linux
cpu_otherCPU not used by user or system in percent
LinuxWindows
cpu_softirqCPU used by driver in percent
LinuxWindows
cpu_stealCPU used by hypervisor in percent
Linux
cpu_systemCPU used by system call in percent
LinuxWindows
cpu_usedCPU used in percent
LinuxWindows
Above 80% warning, above 90% critical
cpu_used_statusStatus of CPU usage
LinuxWindows
cpu_userCPU used by applications in percent
LinuxWindows
cpu_waitCPU idle while waiting for IO operation in percent
Linux
cpu_guest_niceCPU used by niced guest VM in percent
Linux
cpu_guestCPU used by guest VM in percent
Linux
disk_freeFilesystem space available in bytes
LinuxWindows
disk_inodes_freeNumber of inodes available
LinuxWindows
disk_inodes_totalNumber of inodes for this filesystem
LinuxWindows
disk_inodes_usedNumber of used inodes
LinuxWindows
disk_totalFilesystem size in bytes
LinuxWindows
disk_usedFilesystem space used in bytes
LinuxWindows
disk_used_percFilesystem space used in percent
LinuxWindows
Above 80% warning, above 90% critical
disk_used_perc_statusStatus of disk usage
LinuxWindows
io_read_mergedNumber of read operations that were merged before hitting disk
LinuxWindows
io_write_mergedNumber of write operations that were merged before hitting disk
LinuxWindows
io_read_bytesDisk read throughput in bytes per second
LinuxWindows
io_read_utilizationDisk IO read utilization
LinuxWindows
io_readsNumber of reads completed per second
LinuxWindows
io_utilizationDisk IO utilization in percent
LinuxWindows
io_write_bytesDisk write throughput in bytes per second
LinuxWindows
io_write_utilizationDisk IO write utilization
LinuxWindows
io_writesNumber of writes completed per second
LinuxWindows
mem_availableMemory available for application in bytes
LinuxWindows
mem_available_percMemory available for application in percent
LinuxWindows
mem_bufferedMemory used for raw block cache in bytes
LinuxWindows
mem_cachedMemory used for file cache in bytes
LinuxWindows
mem_freeMemory unused in bytes
LinuxWindows
mem_totalMemory size in bytes
LinuxWindows
mem_usedMemory used by applications in bytes
LinuxWindows
mem_used_percMemory used by applications in percent
LinuxWindows
Above 80% warning, above 90% critical
mem_used_perc_statusStatus of memory usage
LinuxWindows
net_bits_recvNetwork traffic received in bits per second
LinuxWindows
net_bits_sentNetwork traffic sent in bits per second
LinuxWindows
net_drop_inNumber of received packets dropped per second
LinuxWindows
net_drop_outNumber of sent packets dropped per second
LinuxWindows
net_err_inNumber of errors per second while receiving packet
LinuxWindows
Above 0 is critical
net_err_in_statusStatus of network errors for received packets
LinuxWindows
net_err_outNumber of errors per second while sending packet
LinuxWindows
Above 0 is critical
net_err_out_statusStatus of network errors for sent packets
LinuxWindows
net_packets_recvNumber of packets received per second
LinuxWindows
net_packets_sentNumber of packets sent per second
LinuxWindows
process_status_blockedNumber of processes blocked in system call
LinuxWindows
process_status_pagingNumber of processes blocked by paging operation
LinuxWindows
process_status_runningNumber of processes currently running
LinuxWindows
process_status_sleepingNumber of idle processes
LinuxWindows
process_status_stoppedNumber of stopped processes
LinuxWindows
process_status_zombiesNumber of zombie processes
LinuxWindows
process_totalNumber of processes
LinuxWindows
process_total_threadsNumber of threads
LinuxWindows
swap_freeSwap unused in bytes
LinuxWindows
swap_inSwap read throughput in bytes per second
Linux
swap_outSwap write throughput in bytes per second
Linux
swap_totalSwap size in bytes
Linux
swap_usedSwap used in bytes
Linux
swap_used_percSwap used in percent
LinuxWindows
Above 80% warning, above 90% critical
swap_used_perc_statusStatus of swap usage
LinuxWindows
system_load1System load over last minute
LinuxWindows
system_load5System load over last 5 minutes
LinuxWindows
system_load15System load over last 15 minutes
LinuxWindows
system_pending_updatesNumber of pending system updates
LinuxWindows
system_pending_security_updatesNumber of pending system security updates
Linux
Yes, after 24h
time_driftDifference between local time and reference time in seconds
LinuxWindows
3 min warning, 5 min critical
uptimeTime elapsed since last boot in seconds
LinuxWindows
users_loggedNumber of users currently logged in the system
LinuxWindows

On Linux and TrueNAS, the agent gathers the system power consumption using IPMI. It requires your server to support IPMI and report the power consumption through IPMI. It should be the case for all server hardware. The agent uses the freeipmi command and falls back on the ipmitool command if not available. So one of those commands needs to be accessible in the PATH. To configure where to find ipmi-dcmi (freeipmi) or ipmitool, see the configuration page.

On TrueNAS, ipmitool is installed by default, no additional setup is needed.

On Linux, if you don’t have ipmi-dcmi, you can install it with:

Terminal window
# On Ubuntu/Debian
apt install freeipmi
# On Fedora, CentOS, Almalinux, RockyLinux or similar
yum install freeipmi

If you installed Glouton as a package or with wget, you don’t need any additional setup, otherwise you need to allow glouton to run the command as root. In /etc/sudoers.d/glouton, add the following line (you may need to change the location of ipmi-dcmi and ipmi-sensors, use which ipmi-dcmi and which ipmi-sensors):

glouton ALL=(ALL) NOPASSWD: /usr/sbin/ipmi-dcmi, /usr/sbin/ipmi-sensors

To test whether your server support IPMI, run the following command:

Terminal window
sudo ipmi-dcmi --get-system-power-statistics
sudo ipmi-sensors -W discretereading --sdr-cache-recreate

The following metric will be gathered:

MetricDescription
system_power_consumptionSystem power consumption in Watt

On Linux, the agent gathers metrics using smartctl if it’s accessible in the PATH. To configure where to find smartctl and what devices to monitor, see the configuration page.

If you don’t have smartctl, you can install it with:

Terminal window
# On Ubuntu/Debian
apt install smartmontools
# On Fedora, CentOS, Almalinux, RockyLinux or similar
yum install smartmontools

If you installed Glouton as a package or with wget, you don’t need any additional setup, otherwise you need to allow glouton to run the command as root. In /etc/sudoers.d/glouton, add the following line (you may need to change the location of smartctl, use which smartctl):

glouton ALL=(ALL) NOPASSWD: /usr/sbin/smartctl

The following metrics will be gathered:

MetricDescription
smart_device_health_statusDisk health status
smart_device_read_error_rateRead error rate
smart_device_seek_error_rateSeek error rate
smart_device_temp_cDisk temperature in °C
smart_device_udma_crc_errorsCount of errors in data transfer via the interface cable
smart_device_media_wearout_indicatorMedia wearout indicator
smart_device_percent_lifetime_remainLifetime remaining in percent
smart_device_wear_leveling_countWear leveling count

On Linux and Windows, the agent will gather the temperature of your hardware components in the metric sensor_temperature. By default only the CPU temperature is allowed (with the label sensor="coretemp_package_id_*"), you can add more metrics using metric filtering.

For example to allow metrics from all sensors you can add the following to your configuration:

metric:
allow_metrics:
- sensor_temperature

On Linux systems, the agent has the ability to collect information about MD arrays by using the /proc/mdstat file and the mdadm command.

If you don’t have mdadm, you can install it with:

Terminal window
# On Ubuntu/Debian
apt install mdadm
# On Fedora, CentOS, Almalinux, RockyLinux or similar
yum install mdadm

If you installed Glouton as a package or with wget, you don’t need any additional setup, otherwise you need to allow glouton to run the command as root. In /etc/sudoers.d/glouton, add the following line (you may need to change the location of mdadm, use which mdadm):

glouton ALL=(ALL) NOPASSWD: /usr/sbin/mdadm --detail *

The following metrics will be gathered:

MetricDescription
mdstat_health_statusArray health status
mdstat_disks_active_countCount of active disks
mdstat_disks_down_countCount of down disks
mdstat_disks_failed_countCount of failing disks
mdstat_disks_spare_countCount of spare disks
mdstat_disks_total_countTotal count of disks

The mdstat_health_status metric description may give additional information about the time remaining for the array recovery / resynchronization.