High disk utilization by vCMP-f5-all
Vendor: f5
OS: all
Description:
indeni will alert if the disk utilization of a vCMP is above a high threshold.
Remediation Steps:
Run “show vcmp virtual-disk kil” to see the full data per vCMP. Purchase additional hardware or delete unused virtual disks. More information about virtual disk management can be found at https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/vcmp-viprion-configuration-11-4-1/7.html
How does this work?
This script logs into the device through SSH and extracts the host disk usage via TMSH.
Why is this important?
Running out of disk space on the vCMP host would mean that no new guests can be created. This alert would notify administrators of low disk space so they can prepare to clear some in case they need to deploy new guests.
Without Indeni how would you find this?
An administrator could track this manually by logging into the web interface, clicking on “vCMP” -> “Virtual Disk List”. On this page the available disk space and the disk used by the guests is available. This information is also available by logging into the device through SSH, entering TMSH and executing the command “show vcmp global”, followed by “show vcmp virtual-disk”.
f5-tmsh-show-vcmp-global-show-vcmp-virtual-disk
name: f5-tmsh-show-vcmp-global-show-vcmp-virtual-disk
description: Extract the vCMP host disk metrics
type: monitoring
monitoring_interval: 60 minutes
requires:
vendor: f5
product: load-balancer
vsx: 'true'
shell: bash
comments:
f5-vcmp-guest-used-disk-kbytes:
why: |
Disk used per guest could be useful to see in order to get an overview of a vCMP host and its disk usage.
how: |
This script logs into the device through SSH and extracts the disk used by guests via TMSH.
can-with-snmp: true
can-with-syslog: false
f5-vcmp-host-disk-usage-percentage:
why: |
Running out of disk space on the vCMP host would mean that no new guests can be created. This alert would notify administrators of low disk space so they can prepare to clear some in case they need to deploy new guests.
how: |
This script logs into the device through SSH and extracts the host disk usage via TMSH.
can-with-snmp: true
can-with-syslog: false
f5-vcmp-host-disk-used-kbytes:
why: |
Tracking used disk on the Host vCMP system is critical. Used to display how much, in kilobytes, of the Disk is being used.
how: |
This script logs into the device through SSH and extracts the host disk usage via TMSH.
can-with-snmp: true
can-with-syslog: false
f5-vcmp-host-disk-total-kbytes:
why: |
Tracking total disk available on the Host vCMP system is critical. Used to display the total disk size, in kilobytes.
how: |
This script logs into the device through SSH and extracts the disk information via TMSH.
can-with-snmp: true
can-with-syslog: false
steps:
- run:
type: SSH
command: tmsh -q -c "show vcmp global kil; show vcmp virtual-disk kil"
parse:
type: AWK
file: tmsh-show-vcmp-global-show-vcmp-virtual-disk.parser.1.awk
f5_vcmp_disk_usage
Failed to fetch the data: https://bitbucket.org/indeni/indeni-knowledge/src/master/rules/templatebased/f5/f5_vcmp_disk_usage.scala