The warnings in Radarr under System, Status are useful, but only if you go and look. Radarr serves the same list on its API, which makes it easy to check from a script on the server.
The endpoint is /api/v3/health. It wants your API key, from Settings, General, either as an X-Api-Key header or as an apikey query parameter. It returns a JSON list, one object per problem, with a type (notice, warning or error), the name of the check, a message and a wiki link. An empty list means nothing is wrong. With jq installed you get one line per problem:
curl -s -H "X-Api-Key: YOUR_API_KEY" \
http://192.168.1.x:7878/api/v3/health \
| jq -r '.[] | "\(.type): \(.source): \(.message)"'
If a root folder is gone, for example after a share was renamed, that prints a line like error: RootFolderCheck: Missing root folder: /data/media/movies. I like this as the first thing a nightly script checks, before it trusts anything else Radarr says. Sonarr has the same endpoint at /api/v3/health and Prowlarr at /api/v1/health, so one loop covers all three.
The caveat is timing. The endpoint does not run the checks; it returns the result of the last run. The source schedules Check Health every six hours, on top of a run at startup and after certain events. Fix something and the warning can stick around until the next run, so start Check Health by hand under System, Tasks if you don’t want to wait. And keep the API key out of anything you share: it has full access to Radarr, not just to the health list.
Further reading: Radarr API documentation, Radarr system: Health and Tasks, Servarr Wiki
Going deeper: Guide: link Prowlarr to Sonarr and Radarr once, and stop typing indexers into every app