question

DeepakRai-0299 avatar image
0 Votes"
DeepakRai-0299 asked DeepakRai-0299 commented

Hybrid Runbook Worker last seen time monitoring.

Hello Azure Team,

I have setup Hybrid Runbook Worker for windows and using it from last 1 year.

Recently something was changed at network level in my infrastructure and the worker was showing "Last seen time 6 days ago". I fixed that by re-adding it.

Question is may we set some alert rule that if the worker last seen time shows 1 day then it will trigger alert and we can act on it as soon as we see it?

azure-monitor
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SwathiDhanwada-MSFT avatar image
0 Votes"
SwathiDhanwada-MSFT answered DeepakRai-0299 commented

@DeepakRai-0299 As far as I know, there isn't any available log or metric alerts to monitor Hybrid Worker Group. However, I have a workaround which hasn't been tested but you may check it out. You can retrieve details of hybrid worker and send email using PowerShell commands.

To retrieve last seen time of HRW, check this SO thread and to send email check this document.

Reference :

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @SwathiDhanwada-MSFT ,

Thanks a lot for the prompt response.
Those links are really helpful.

I am yet to test those but we can mark this thread as closed and i will create a new one if needed in future. Help much appreciated.

0 Votes 0 ·