There are only two things (that I’m aware of) you can do when you see the stuck_notifier: either wait or restart so that the node can bootstrap again. The display of the seconds helps you to decide whether it is useful to wait.
Regarding this topic, you can find some clever scripts here: Useful scripts for stake-pool operators