Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Heartbeat Problem

Hello all,

I am not sure if I am over looking something but I just can't seem to get the heartbeat schedule to work.

In Deploy, I have download some packages from the package library that I am trying to install on a schedule using a heartbeat.

In Inventory, I am using the built in collection Library that I have copied to its own collection.

An example of what I am trying to install is Wiztree. In Inventory, it is showing that I have two servers that do not have Wiztree installed.

enter image description here

In Deploy, when I look at the schedule for Wiztree it shows that it has 2 targets

enter image description here

In Deploy, it is showing the targets as the collection from Inventory.

enter image description here

I have rebooted the server multiple times but Deploy isn't picking up on the heartbeat to install Wiztree.

Any advice would be appreciated.

Thank you.

0

Comments

2 comments
Date Votes
  • Looks correct. Double check your network setting in Inventory to see how often heartbeat is active. The devices may change state, but quicker than the heartbeat interval is updating on the server. If you reboot the machine and it comes back before the heartbeat interval runs away, the server will not see the machine going offline and back on.


    I use heartbeat for machines that are offline. Schedules for after-hour stuff for computers that are online. Since the server is online, I would do a schedule to run daily in the morning or night during a certain time period.


    Briggs went into more detail about the heartbeat on this post.

    https://community.pdq.com/posts/10688#10713

    "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."

    0
  • As I remember it being explained, heartbeat works when a machine is offline for about 5 minutes, then comes back online. Test this by turning off one of the target computers, waiting the appropriate time, then turning it back on.

    I stumbled on this one at first as well.

    0