Skip to content

Implement endpoint configuration Indicator and management #15

Closed
@dannycohen

Description

@dannycohen

As Opie, I want to be notified of any configuration issues that may affect the accuracy of the ServicePulse display. I want to know when I need to update, reconfigure an existing endpoint, or stop monitoring an obsolete endpoint

Visualization:

  1. In the dashboard, the configuration indicator is displayed indicating the status of the endpoint monitored by ServicePulse:
    • It is green when:
      • all monitored endpoints have a plugin installed
      • plugin version applies to minimal requirements (configured value of minimum plugin version supported by current version of ServicePulse)
    • It is red when;
      • one or more of the monitored endpoints do not have a plugin installed
      • the installed plugin is of an earlier version than the version specified as minimum requirement for the current ServicePulse version
  2. Clicking on the configuration indicator in the dashboard leads Opie to the endpoint configuration page
    • Opie can view the endpoints list
    • Opie can un-check one or more endpoints, making the un-monitored
      • An un-monitored endpoint will remain visible in the list of endpoints
      • An un-monitored endpoint is not expected to send heartbeat messages, and failure to receive heartbeat messages from this endpoint does not result in the heartbeat indicator being red

Notes:

  • An un-monitored endpoint can still be active (i.e. send custom checks events, failed messages and process SLA events; un-monitoring affects only the expectation for a periodic hearbeat message)

Demo / Acceptance tests:

Case 1:

  1. Configure the Video Store sample to have the plugin installed only on the Sales and eCommerce endpoints (2 of 5 endpoints)
  2. All 5 endpoints will be sending auditing and error data to the audit and error queues monitored by ServiceControl
  3. Run the Video Store sample (5 endpoints)
  4. The Configuration indicator in the dashboard page is green displays 2 monitored endpoints (after receiving heartbeat messages from the Sales and eCommerce endpoints)
  5. 2 Configuration events are added (severity: info) indicating that 2 new endpoints were added to the monitored endpoints list (including endpoint names and hosting machine name and IP) and that heartbeat messages were received from these endpoints
  6. Send a purchase order using the Video Store UI and await the successful completion of the purchase process
  7. The Configuration indicator in the dashboard page turns red, and displays that 3 endpoints are not configured
    • (i.e. the 3 of 5 endpoints belonging to the Video Store sample that do not have a configured plugin; these endpoint were added to the endpoints list through the processing of auditing messages, and they expected by default to be monitored)
  8. 3 Configuration events are added (severity: warning) indicating that 3 new endpoints were detected and were added to the monitored endpoints list (including endpoint names and hosting machine name and IP), but that they do not have a plugin installed and no heartbeat messages were received from these endpoints
  9. Click on the Configuration indicator in the dashboard page and reach the endpoint configuration page
  10. There are 5 endpoints in the endpoint list.
    • All are marked as monitored
    • 2 (sales and ecommerce) have a plugin installed and the plugin version is displayed
    • 3 have no plugin installed and there is no plugin version displayed
  11. Uncheck the "CustomerRelations" endpoint
  12. 1 Configuration event is added (severity: info) indicating that the "CustomerRelations" endpoint is no longer monitored
  13. Return to the dashboard and make sure the configuration indicator in the dashboard page is red but that it now displays that 2 endpoints are not configured
  14. Stop the Video Store sample and have the plugin installed on all 5 endpoints
  15. Run the Video Store sample (5 endpoints)
  16. The Configuration indicator in the dashboard page is green displays 4 monitored endpoints
  17. 2 Configuration events are added (severity: info) indicating that 2 monitored endpoints (already listed in the endpoints list) started sending heartbeat messages
  18. Click on the Configuration indicator in the dashboard page and reach the endpoint configuration page
  19. There are 5 endpoints in the endpoint list.
  20. Check the "CustomerRelations" endpoint to make it monitored again
  21. 1 Configuration event is added (severity: info) indicating that the "CustomerRelations" endpoint is being monitored
  22. Return to the dashboard and make sure the Configuration indicator in the dashboard page is green and displays 5 monitored endpoints

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions