Agent keepalive

Description

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.

Environment

None

Activity

Show:
Ivan Senic
October 21, 2015, 11:51 AM

Few small comments, should be easy to solve..

Marius Oehler
October 22, 2015, 9:23 AM

Implemented the comments of the review. Please review the code.

Ivan Senic
October 27, 2015, 9:50 AM

Again some small comments, should be easy..

Marius Oehler
November 3, 2015, 3:13 PM

Implemented the few comments of the review.

Marius Oehler
November 17, 2015, 2:37 PM

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).

Assignee

Marius Oehler

Reporter

Stefan Siegl

Labels

None

Integrator

Ivan Senic

Components

Sprint

None

Priority

Medium
Configure