Basically i am trying to show URLs status with response code and hostname in a DataTable with 15 minute interval which refreshes after every 10 secs.
the above scenario is achieved, however if a service goes down and comes up in a interval less than 15 minutes, 2 records of same URL displays with status up and down.
So how to avoid such scenario and show only latest URL status ?
|status||Host Machine||URL to Monitor||Response code(200:Ok & hypen:Unavailable)|
as you can see in the above table , the URL localhost:8080 is displayed twice one with status - and other with 200.
Note :- This graph need to be embedded in a dashboard where the interval and frequency of refresh has to be constant.