Monitor VM state such as:
Aria Ops, vROps: 8.18, 8.18.6
TCP: 5.0.2, 5.1
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:
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.
Deploy the Telegraf Agent
Create a custom script to monitor VM/OS conditions:
See Custom Scripts