I have a requirement where if nodes are not reporting more than X days, I want to stop data collection attempts for such nodes. How should I do that?

Zombie node interval can be configured to achieve this requirement.

Refer below link for more details.