Device status changed to Up from snmp check

Hello.
Have problem with one of my core switches. Sometimes device status changed DOWN from snmp check, and as a result, I got gap in my graph:


It`s not a switch problem. Maybe network/access…
But, how can I manage or tune this problem?

check this doc https://docs.librenms.org/#Support/FAQ/#why-do-i-see-gaps-in-my-graphs