lithnet / access-manager

Access Manager provides web-based access to local admin (LAPS) passwords, BitLocker recovery keys, and just-in-time administrative access to Windows computers in a modern, secure, and user-friendly way.
Other
239 stars 20 forks source link

Healthcheck ability? #128

Closed PrzemyslawKlys closed 1 year ago

PrzemyslawKlys commented 2 years ago

Is your feature request related to a problem? Please describe. We would like to add monitoring that website/system is working correctly. Is there some kind of health check available to check for service state like for example Exchange provides? This is so during publish we can actually monitor the service.

Describe the solution you'd like Ability to query certain URL for health check information

ryannewington commented 2 years ago

Are you thinking just a URL endpoint that returns a 200 OK or something more detailed?

PrzemyslawKlys commented 2 years ago

Yes, an endpoint that a proxy/monitoring can check.

ryannewington commented 2 years ago

Can do! Do you have a need for this today with v1 customers, or can we just add it to V2 (beta being released this weekend)?

PrzemyslawKlys commented 2 years ago

In your own time :-) I won't deploy it for another week or anything. Wasn't even counting for instant fix :)

ryannewington commented 2 years ago

I've added capability to v2. You can just hit the /health-check endpoint for a 200 response if it is healthy, or 503 if its not healthy.

The beta has been released

The health check function doesn't require an enterprise license.

However, if you want an enterprise edition license key to try the other features, just send me your AD DNS forest name to support@lithnet.io and we'll get it organized.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.