Migrated from NovaTec Jira. Original ticket: INSPECTIT-1191
To measure the application/service availability it is necessary for the agent to send "keep-alives". This can then be easily used to note if an agent is available or not.
Furthermore, If the process where agent run is not shutdown correctly, the agent will not report it is disconnecting. In this case the agent on the CMR will be marked as connected with latest data send xxx hours ago. Because CMR still thinks that the agent is connected we can not delete this agent.
With agent keep alive we can easily recognise when agent is not sending data and thus mark it as disconnected. We can differentiate between "disconnected" and "connected with no keep alive", as the second situation can point to the problem.
Few small comments, should be easy to solve..
Implemented the comments of the review. Please review the code.
Again some small comments, should be easy..
Implemented the few comments of the review.
Implemented the last comments of the review (fixed time-out bug when an agent connects again) and added more information to the view (how long an agent has been timed out).