configuration custom heartbeat using xml file