Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elastic Agent and Heartbeat Integration - Phase 1 (HTTP/ICMP/TCP Ping) #235

Closed
9 of 10 tasks
andrewvc opened this issue Jul 16, 2020 · 2 comments
Closed
9 of 10 tasks
Assignees
Labels

Comments

@andrewvc
Copy link
Contributor

andrewvc commented Jul 16, 2020

We'd like to be able to centrally manage monitors in Uptime via the UI vs using the Heartbeat YML as is done today. We can look at the Security app for inspiration, an Uptime monitor is somewhat analogous to a security policy.

UI ACs:

  1. Ability to perform CRUD (Create Read Update Delete) operations on all monitors from within the Uptime app.
  2. Ability to deploy "Uptime" integration to any agent
  3. Add use heartbeat under the beats agent

Key flows:

We can divide user activities here into two parts:

  1. Maintaining infrastructure: Configuring IM agents and policies, deploying servers, etc.
  2. Actually using Uptime: Creating uptime monitors (IM integrations)

The infrastructure maintenance part only really needs to be done once, or as needed for maintenance. This is the process of adding a new server to run agent/heartbeat on, enrolling it, and creating a policy for it. The second part is the day-to-day work of creating, editing, updating, and deleting monitors. In cloud we can probably make the first part mostly invisible by doing this work for the user.

So, a user when setting up Uptime on prem would first:

  1. Provision any physical servers needed for agent/heartbeat
  2. Go to IM
  3. Add a policy
  4. Enroll agents to be used for Uptime
  5. Add these agents to the policy they created

At that point they would be able to perform CRUD actions on monitors, either with the Uptime UI or the integrations package directly in IM.

On cloud, users won't need to deal with any of the provisioning stuff, and could simply use the Uptime app directly.

@paulb-elastic
Copy link

To claify, this is Phase 1 of the Elastic Agent and Heartbeat Integration, to support HTTP Ping integration end-to-end

As an Elastic user
I want to be able to add an HTTP Ping Heartbeat monitor to an Elastic Agent via an integration
So that I can centrally deploy the monitor without having to install and configure a separate Heartbeat Agent binary and YML file

ACs:

  • User can add a Heartbeat HTTP Ping Integration (in the same way they can other integrations)
  • User can add a monitor, with the configuration of
    • Name
    • URL
    • Frequency
  • User can define which Elastic Agent, the integration will run on
  • The HTTP Ping will run on the given URL, at the given frequency, and results will appear in Uptime
  • In Uptime, there is a mechanism that allows me to configure (CRUD) these monitors

Known next steps:

@paulb-elastic paulb-elastic changed the title Elastic Agent and Heartbeat Integration - Phase 1 (HTTP Ping) Elastic Agent and Heartbeat Integration - Phase 1 (HTTP/ICMP/TCP Ping) Feb 19, 2021
@paulb-elastic
Copy link

With the custom UI being put together in elastic/kibana#91062, phase 1 is being extended to include HTTP Ping, ICMP Ping and TCP Ping monitor types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants