This post describes how to make a simple python script that logs the node is alive every 10 seconds.