VCF Operations Alerts using Log-based Conditions or Symptoms

We've discussed changes to how logs are being handled in VCF Operations 9.1+ recently:
This blog will detail how Alerts are now handle in VCF Operations 9.1+. Formal documentation on this can be found here, but it's worth going into a bit more detail. Let's go.
Go to Operate - Administration - Configuration - Alerts - Alert Definitions - ADD.

Give it a Name, Description, and select the Base Object Type you want. While the dropdown will allow you to select an Object Type you want, there are only four supported Objects Types for Logs-based Alert Definitions:
vCenter - queries logs coming from vCenter
Host System - queries logs coming from ESX Host Syslog
Virtual Machine - queries logs coming from vRLI Agents running on VMs
Log Fallback Object - use this if you want to run a general query

The query I'm running here is just looking for "error", but this can be whatever you want. Similar configurations are available here as we used to see in Logs 9.0.x and earlier.
You could do something similar by creating a Logs-based Symptom if you want.

Select Logs from the Select Symptom dropdown then click CREATE NEW SYMPTOM.

Configure your Symptom however you want. Once done, provide Recommendations if you'd like and enable the Alert Definition in the necessary Policy/s.
Once these Alerts pop they will look like this (Alert/Condition on left and Alert/Symptom on right).
This is a bit different from how Alerts presented previously (showing log entries), but this is on the roadmap for a future release. Hope this is helpful, enjoy!



Comments