Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 515
    • Issues 515
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 49
    • Merge requests 49
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • KeaKea
  • Issues
  • #318

Closed
Open
Created Dec 06, 2018 by Vicky Risk@vickyDeveloper

REST API health endpoint (GH#96)

<This issue was originally opened on Github as issue #96 (closed) by Smithx10@github.com on July 19, 2018>

Describe the solution you'd like A Health Endpoint via the REST API that informs the user if the Kea Services are healthy and serving. ex: localhost:8080/health

Would respond with a JSON object with some brief information about the KEA services running on the server and their health status.

Describe alternatives you've considered

status=keactrl status | grep "DHCPv4 server" | awk '{print $3}'
if [[ "${status}" == "active" ]] then;
  _log "DHCP is healthy"
  return 0
else 
  _log "DHCPv4 is not healthy"
  return 1 
fi

Related issue: #79 (closed)

Edited Sep 02, 2019 by Tomek Mrugalski
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking