Live data from Hacker News

Ask HN: How do you monitor your websites?

news.ycombinator.com

81–90 of 104 posts

Re: Ask HN: How do you monitor your websites?

#83
I installed a node.js module that take a screens-shot of a web page, a module that compares two images, and a module that sends e-mails. Glued it together, put it on a 1$/month VPS. I now get an e-mail every time a web page that I'm interested in changes.

Re: Ask HN: How do you monitor your websites?

#84
post #83

I installed a node.js module that take a screens-shot of a web page, a module that compares two images, and a module that sends e-mails. Glued it together, put it on a 1$/month VPS. I now get an e-mail every time a web page that I'm interested in changes.

what's the name of the module that takes screenshots?

Re: Ask HN: How do you monitor your websites?

#86
I was unable to find a solution that was able to monitor my websites and servers using a single service, so I decided to develop something[0] to scratch my own itch. It has been open for almost a year now and it is slowly gaining some traction. :) It allows you to monitor your server for resources, your websites for the uptime, SSL certificate, broken links and mixed contents errors. It also has a public status page for you to use. Also the setup is extremely easy as it is just a single binary (and it is open source!) to run using your own crontab.

Feel free to let me know what you think about it, feedback is always greatly appreciated.

Disclaimer: I'm the developer.

[0] https://servitor.io

Re: Ask HN: How do you monitor your websites?

#87
post #84
post #83

I installed a node.js module that take a screens-shot of a web page, a module that compares two images, and a module that sends e-mails. Glued it together, put it on a 1$/month VPS. I now get an e-mail every time a web page that I'm interested in changes.

what's the name of the module that takes screenshots?

Wild guess, maybe using puppeteer and it's page.screenshot.

https://github.com/GoogleChrome/puppeteer/blob/v1.9.0/docs/a...

Re: Ask HN: How do you monitor your websites?

#89
post #32
post #26

Earlier quoted context omitted.

Are you worried about that endpoint being used for DoS or is it light enough?

The way i do it is running the checks in a background every x minutes and add the result in a json file. It’s fast and safe.

I'd guess you'd then also want to return a timestamp in the response and then fail if the timestamp is older than x minutes too
Post reply on HN