There will be linux box installed remotely on which some scripts will be running and performing testing on various parameter of internet bandwidth like download speed etc etc of the remote location .
This server will also send Heartbeat to centralize server which will be present in my lab and message broker will be runig on this. To tell that remote site is up and active
Heartbeat will be consist of
a) server Unique ID
b) sequence number (which increments every time a heartbeat is sent, so that we can easily calculate missing heartbeats)
c) IP address
Get the time of the heartbeat
Now I have to record all these parameter in db and update them whenever heartbeat comes and also there will be one flag which will be Marked as True/False .If Heartbeat fails this flag will be Marked as False and this flag will also record time when it is Marked as false and No of heartbeat missed.If HeartBeat is missed 5 times message Broker will generate a alarm
Does this type of solution is supported by Redis.If Yes .Can I create my own schema and what will be best approach in this