Heartbeat trigger on restart
Hi, I am wondering if there is a way to use the heartbeat or other option to trigger a deployment when a server get's restarted. I have an automation to restart a server on a certain condition and I am looking for a way to deploy a screen message to a few computers when the server is restarted.
0
Comments
You will need to use PDQ Deploy to create a schedule. Set the schedule to trigger on heartbeat and assign the devices you want to the schedule. You can also schedule by groups. See this post for something similar.
https://community.pdq.com/posts/9875#9879
One thing to keep in mind: a heartbeat may not always capture a reboot depending on the heartbeat interval. For heartbeat to work, a state change must be recognized, meaning the machine has to be marked as offline in the database and then come back online.
Let's say you have a heartbeat interval set to every five minutes or 300 seconds. We send out a heartbeat at 5:10pm and the machine is marked as online. At 5:11pm the machine restarts. The machine comes back online at 5:14pm. Another heartbeat is sent at 5:15pm and the machine status remains unchanged (online) since the heartbeat never had the opportunity to mark the machine as offline. In this case, the heartbeat trigger would not be initiated even though the machine did reboot.