4 ms·
Show HN: Checkup – OSS tool for simple, self-hosted health checks
- mholt 10y agoMost notably, this isn't just health checks; it also ships with a purely static status page to which you can publish updates. I'm the author of Checkup; hope others find it useful!
- iofj 10y agoWe should really have something like this that can easily just be linked into an application and do health checking. A place where the last n lines of log, all sorts of stats like mem usage for the last few hours, open file descriptors, subprocesses, ... can be checked. Ideally something that could be read by a monitoring process as well.
- rakoo 10y agoIt's still a bit fuzzy for me, but according to the README at https://github.com/sourcegraph/checkup https://github.com/sourcegraph/checkup, this is how I understand how it works: * You launch the checkup command manually or every X minutes * Each run stores a report inside a file * The caddy server serves the same resource to the browser... * ... that fetches the last Y reports and computes a dashboard to be displayed The 2 last steps seem not static to me. Is it how checkup works, or is the dashboard display part a bit different ? Regardless of that, this is something that is going to be extremely useful to me. Thanks a lot for for it !
- mholt 10y agoThe status page is static, in that there is no server-side rendering/processing other than just serving static files. You need only host the resources for the status page, but the files with the check results are typically stored somewhere else like S3. The status page downloads those check files with JavaScript and renders the results client-side. Hope that answers your question!
- firewalkwithme 10y agoHey, how do I set this up with local storage ?
- deleted 10y ago[deleted]
- greenleafjacob 10y agoFeature request: PagerDuty integration
- beliu 10y agoFiled here! https://github.com/sourcegraph/checkup/issues/4 https://github.com/sourcegraph/checkup/issues/4 Pull requests also welcome :) The code is very well-documented and easy to navigate.
- wiradikusuma 10y agoWhen I read the title, I was thinking of dashboard for (my) personal health instead.
- mholt 10y agoSorry. Yeah, the title is missing half of the story: status pages.
- NKCSS 10y agoWhy would you default to S3 storage? You create a stand-alone product for self-hosting, complain about cloud providers going down, but then use a cloud provider for your collection?
- jorge-fundido 10y agoS3 differs considerably from most SaaS offerings in terms of: - data access / control - availability & stability - performance - cost
- mholt 10y agoYou can implement and plug in any storage provider, including local storage if you want. The point is you don't have to rely on a proprietary, locked down status page service.
- vinothgopi 10y agoThis is interesting. Can we use custom headers/auth when setting up the APIs for health checkups?
- mholt 10y agoI put your request in here: https://github.com/sourcegraph/checkup/issues/8 https://github.com/sourcegraph/checkup/issues/8
- voiper1 10y agoAh I didn't realize what S3 was for at first -- it hosts it to S3 for "off-network" reliability. Nice. Will definitely look into this soon.
- elmigranto 10y agoKind of unrelated, but this page doesn't scroll for me on iOS with Safari: https://sourcegraph.com/github.com/sourcegraph/checkup/-/blob/checkup.go#L7:2-7:8 https://sourcegraph.com/github.com/sourcegraph/checkup/-/blo...
- ntonozzi 10y agoThanks for the report! We've fixed the bug now. That definitely earns a sticker, check out https://sourcegraph.com/about https://sourcegraph.com/about if you want to redeem it :)