My Oracle Support Banner

How To Calculate And Trigger Alarm For "Disk Utilization (%)" Metric From Prometheus Node Exporter (Doc ID 3032202.1)

Last updated on JULY 31, 2024

Applies to:

OCI Management Agent Service - Version N/A and later
Information in this document applies to any platform.

Goal

How to calculate the "Disk Utilization (%)" metric for an Instance?

To calculate the "Disk Utilization (%)" metric, the formula is:
Disk Utilization (%) = [node_filesystem_avail_bytes / node_filesystem_size_bytes] * 100

where:
• node_filesystem_size_bytes (capacity of FileSystem (bytes))
• node_filesystem_avail_bytes (capacity of FileSystem (bytes) available to non-root users)

We get the value for metric "node_filesystem_size_bytes" and "node_filesystem_avail_bytes" directly from Prometheus Node Exporter and need to use these metrics to calculate and generate Alarm for "Disk Utilization (%)".

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.