These solutions are on path to deprecation so I would suggest to use Log Analytics Agent Health workbook. You can find it Monitor -> Workbooks. That workbook will give you the controls you need and you can modify it on your own if you need.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.