Skip to content

heartbeat

A mobile-client executes every 5 seconds (default of heartbeatInterval in config.json) a heartbeat-request.

This request (dummyuserlogin) checks the connectivity to insight-server and backend-server (online/offline) and it also validates the insight-session in insight-server and the session of backend-server (i.e. maximo).

A more lean approach to check connectivity is to configure heartbeatUrl in config.json. But the session-validations will be lost.

  • create a heartbeat.txt in folder where insight\mobile is installed i.e. apache\htdocs\insight\mobile\heartbeat.txt
  • add entry "hearbeatUrl" : "https://example.com/insight/mobile/heartbeat.txt" in config.json