Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ramkumardevanathan/7551d6e86ada21643a650def37aac435 to your computer and use it in GitHub Desktop.
Save ramkumardevanathan/7551d6e86ada21643a650def37aac435 to your computer and use it in GitHub Desktop.
disk bottleneck
# The Disk bottleneck symptom default is influenced mostly by the busiest
# disk's utilization. The disk request queue is an indicator that processes
# may be waiting for disk resources.
symptom Disk_Bottleneck type=DISK
rule GBL_DISK_UTIL_PEAK > 50 prob GBL_DISK_UTIL_PEAK
rule GBL_DISK_REQUEST_QUEUE > 3 prob 25
alarm Disk_Bottleneck > 50 for 5 minutes
type = "Disk"
start
if Disk_Bottleneck > 90 then
red alert "Disk Bottleneck probability= ", Disk_Bottleneck, "%"
else
yellow alert "Disk Bottleneck probability= ", Disk_Bottleneck, "%"
repeat every 10 minutes
if Disk_Bottleneck > 90 then
red alert "Disk Bottleneck probability= ", Disk_Bottleneck, "%"
else
yellow alert "Disk Bottleneck probability= ", Disk_Bottleneck, "%"
end
reset alert "End of Disk Bottleneck Alert"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment