May 17, 2017 -
When a machine sends a heartbeat, it’s sending a message saying, “Hey I’m online, I’m alive.” Measuring heartbeats can not only tell an operator whether a machine is online or offline, but it can also share if it’s in distress. With software at the endpoint, at regular intervals, usually measured in seconds, a heartbeat signal is sent. It’s like having a heart monitor inside the machine recording and sending heartbeats to signal to the operator how it is doing. Not unlike the human heart, monitoring heartbeats is vital to understanding the overall health of a fleet of kiosks, vending machines or other self-service devices. When a machine is down or slow, it can result in lost sales and negatively impact customer loyalty.
How do you measure heartbeat?
I recently had a chat with Mark Wutka, lead engineer for Canopy our advanced IoT platform for monitoring and managing large networks of devices. Mark is the brains behind Leaf, the software agent that runs “inside the box,” or on the kiosks and vending machines for many of Banyan’s customers. Mark designed Leaf with such sophistication that Leaf acts as a traffic cop or single-point-of-contact for these machines. Since a heartbeat simply indicates that the machine is alive, Leaf can omit the heartbeat if it has recently sent other messages to the server, since those messages also indicate that the machine is functioning. Leaf is listening and learning the machine’s behavior, which allows it to reduce redundancy and operate more efficiently. This becomes incredibly important, especially when operators are managing large networks of devices.
Beyond simply measuring whether the machine is alive, Leaf gathers additional health metrics – CPU, memory, and disk usage, and can also monitor various operating system processes. This refined view is helpful in knowing whether the machine will perform as expected. It may be alive enough to send heartbeats, but sluggish because it has run out of memory. These additional metrics help anticipate problems before they become visible to the customer.
Why does measuring machine heartbeats matter?
Many industries are making the shift from physical to digital, and deploying self-service kiosks to help automate functions and improve customer experience. According to recent reports, the global kiosk market is expanding rapidly and is expected to be $30.8 billion in the next five years. Making a move to automation means having customers interface with technology, and in doing so, it’s important to keep a pulse on all devices — whether it’s a fleet of vending machine serving freshly brewed coffee or a ticketing kiosk allowing customers to get passes to a game or event. If a kiosk is a little sluggish, or worse yet down, it’s a big problem. Imagine if a Barista or ticketing agent came to work ill, or took the day off, employers would want to know. Right? That’s why measuring machine heartbeats matters.
Check back for another Inside the Box update to learn more about Leaf. Next up we’ll go inside the box and learn how Leaf manages talking to remote devices and the basics of Leaf Services.
Download: Learn more about kiosks and IoT by reading The Ultimate Guide to Health Kiosks