Feb 10 2021 03:58 AM - edited Feb 10 2021 07:40 AM
I've recently discovered a somewhat new-ish Diagnostic Setting on the host-pool level that should report the Agent status. Which is great since I'm interested if it's available or not in order to trigger an alert that informs me that a host is not connectable anymore): AgentHealthStatus
I've configured it to send data to Log Analytics and to a Storage Account.
Currently, only the Storage Account is receiving logs (which indeed shows the agent status). However, more than 12 hours later I'm still not seeing any data in Log Analytics (the WVDAgentHealthStatus table doesn't exist either). The other tables are receiving logs as expected (such as WVDErrors).
I've tried this on another subscription and it doesn't seem functional there as well.
Am I missing something? Any help or suggestions are appreciated. Or is there another method to alert on agent availability?
Thanks!
Settings:
Query not finding data:
Logs in Storage Account:
Logs content which show the status as expected: