Skip to content

IsAlive component

Grzegorz Bylica edited this page Jun 27, 2022 · 1 revision

IsAlive component

IsAslive component that is able to detect the server Scada is requests.

Configuration

Example:

<div
        id='app-isalive'
        plabel='Server is alive'
        ptime-warning=7000
        ptime-refresh=3000
        ptime-error=11000 >
</div>
  • plabel - display name
  • ptime-warning - in case of no reply, the time after which it shows the warning status
  • ptime-refresh - how often it checks if the server is responding
  • ptime-error - in case of no reply, the time after which it shows the error status

API

{http://scadalts:8080/}api/is_alive/time - checks the time from the server which is then compared by the component to the local time in the browser