[HN Gopher] Show HN: I built a self-hosted status page and monit...
___________________________________________________________________
Show HN: I built a self-hosted status page and monitoring tool for
my projects
Hey HN! I'm excited to share Statusnook - a status page and
monitoring tool. I built Statusnook for my own projects, but I
soon began incorporating bits of feedback from friends &
colleagues. My goal was to create a tool with a solid essential
feature set, and to make it easy to self-host. I welcome any
feedback or suggestions.
Author : goksan
Score : 67 points
Date : 2024-04-25 14:50 UTC (8 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| alberduris wrote:
| Is this like the status pages of big companies but for indie
| hackers or personal use?
| goksan wrote:
| Thanks for the question! I haven't made a conscious decision
| here, my needs are certainly a lot closer to that of an indie
| hacker vs a bigger company though.
| lionkor wrote:
| big companies shy away from real status pages and prefer those
| that look live, but aren't, so they can pretend theyre 100% up.
| ghnws wrote:
| I've never seen more green checkmarks than on AWS status page
| during a major outage.
| hrishikshpathak wrote:
| Nice status page. Using SQLite in your project makes it very easy
| to self-host.
| goksan wrote:
| Thank you!
| eh8 wrote:
| Design is super clean--looks great!
| goksan wrote:
| Thank you!
| yobert wrote:
| Looks great! You just need https://status.statusnook.com/ to demo
| monitoring yourself :D
| goksan wrote:
| You're right! I've just spun one up at that url.
|
| Could be cool to have a restricted demo version in the future
| for people to poke around in.
| asmor wrote:
| All of that code in one file is certainly... a thing you can do.
| I'm surprised you used embed on your schema.
| goksan wrote:
| Haha I was waiting for this comment, thanks
| piterrro wrote:
| I was about to ask the same question, would you mind sharing
| more context why did you decided to go with a single 14k
| main.go file?
| wegwerfaccount wrote:
| Perhaps because we're on hacker news and not software
| architect news?
| superq wrote:
| For a single dev, a single file is often far more efficient
| than jumping between files.
| goksan wrote:
| I've had a good experience with it. I've been jumping
| around by function.
| goksan wrote:
| I initially thought the project was going to be much
| smaller.
|
| I was happy with how things were going in that file and
| didn't feel a need to add more files. I'd probably do it
| again on a solo project.
| avtar wrote:
| Perhaps I'm not looking in the right places, but is there a way
| to configure everything using a config file?
| goksan wrote:
| Hey, thanks for the question.
|
| Once Statusnook is deployed everything is configured via the
| web interface. If I've understood the question - what you're
| looking for doesn't currently exist.
|
| It's something I've thought about and have received suggestions
| on. I think I personally will just need the ability to
| occasionally import/export configurations between instances. At
| the moment I can just copy the db.
|
| Interested to hear more about what you would have wanted to
| see.
| avtar wrote:
| Yup that's what I was referring to. I always feel more
| confident configuring services using config files that can be
| managed using version control. It's PTSD from having to deal
| with software such as Jenkins ages ago.
| goksan wrote:
| Got you, thanks for sharing your experience.
|
| I'll keep this in mind.
| hadlock wrote:
| A config file would be useful, as I can template the config
| file, which means I can effectively do auto-discovery of
| intranet resources working on my cluster.
|
| Stepping further into config files, a helm chart (once config
| file support is added) would be very useful
| goksan wrote:
| Interesting point regarding auto-discovery, thank you.
|
| Somebody else has also told me a helm chart would be
| useful.
| martinbaun wrote:
| I was thinking of making something like that using SQLite, and Go
| - which is exactly what you did :)
|
| Could you maybe make a feature list in the README so it's easy to
| see if it supports what I need myself?
|
| And, do yo accept PRs if they're good quality?
| goksan wrote:
| Good shout on the feature list on the README, thanks. In the
| meantime, there's some additional detail at
| https://statusnook.com to that end.
|
| Honestly, I'm not sure about PR's yet. To prevent any
| disappointment I'd encourage discussing any changes before
| beginning work intended to be upstreamed. I should include this
| in the README.
| dddw wrote:
| Oh this is nice! Thanks for sharing! Will try and run it on some
| things
| goksan wrote:
| Thank you!
| pastorhudson wrote:
| The killer feature I need is heartbeat so I can make some device
| send a request every 5 min and if it's not sent then it is down.
| Currently using UptimeRobot for this.
| stanislavb wrote:
| Hey mate, I'm using https://healthchecks.io/ for heartbeat
| monitoring my crons. It's been working flawlessly for quite
| some time now. The UI is super clean and easy to navigate. It's
| also free up to 20 monitored jobs. Note - I'm not in any way
| related to that project.
| goksan wrote:
| Thanks for sharing this.
|
| I haven't used the product but I remember reading about if
| here on Hacker News:
| https://news.ycombinator.com/item?id=31488910
| pastorhudson wrote:
| Thank you!
| goksan wrote:
| Thanks for sharing!
|
| I think that could also be helpful for ensuring scheduled jobs
| are running fine. I can see myself wanting this at some point.
| pastorhudson wrote:
| It helps for internal servers that don't have a public ip.
| tibu wrote:
| You can use also the open-source Uptime Kuma for this (actually
| for almost everything else what UptimeRobot knows)
|
| https://github.com/louislam/uptime-kuma
| pastorhudson wrote:
| I've considered using this. Just haven't got around to it.
| rmbyrro wrote:
| DeadManSnitch works pretty well for that
| sisve wrote:
| Good webpage and nice job with all the different infra/deploy
| options.
|
| well done, will try it out!
| goksan wrote:
| Thank you!
| omnibrain wrote:
| Have you considered adding a custom webhook for notifications? In
| a first iteration it could post some hardcoded JSON payload.
|
| Further iterations could add more configuration capabilities or
| even templating for custom payloads.
| goksan wrote:
| Hey, thanks for the question.
|
| This is something I've considered but haven't needed just yet.
| I think it would be helpful.
| noah32 wrote:
| All fun and games until you need a status page for your status
| pages' status page. Nice looking project tho.
| goksan wrote:
| Thank you!
| iJohnDoe wrote:
| Looks nice and clean. Congrats on the launch!
| goksan wrote:
| Thank you!
___________________________________________________________________
(page generated 2024-04-25 23:01 UTC)