Monitor VM/OS conditions outside the scope of out of the box metric/properties
search cancel

Monitor VM/OS conditions outside the scope of out of the box metric/properties

book

Article ID: 437121

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite) VMware Telco Cloud Platform

Issue/Introduction

Monitor VM state such as:

  • Stuck in fsck
  • In read-only state

Environment

Aria Ops, vROps: 8.18, 8.18.6

TCP: 5.0.2, 5.1

 

Cause

To automate the identification of these VMs, you can use the Telegraf agent to run custom scripts and report the filesystem health as a metric.

This concept revolves around a custom script that can provide a metric that can determine VM/OS states by testing for results such as:

    • Successfully write/touch a file
    • Successfully ping an address

This would prove that a VM has successfully booted and can write to a file system, providing you an indication if a VM is stuck needing an fsck or in a read-only state. 

Resolution

  1. Deploy the Telegraf Agent

  2. Create a custom script to monitor VM/OS conditions:

    See Custom Scripts

Additional Information