News for hackers. Stuff that matters.
Re:Ask HN: Please review my app: Was it up? - dead simple mo... by ooorrr on Saturday October 17, 2009 @03:17PM (#887305)
One other suggestion -

One problem with these sorts of services is that when they're working, nothing happens, so if I don't get mails for a week, I don't know if that's because everything's been working or if you've stopped running the service.

There are lots of complex answers, but an easy one is just to have a "last checked" for each URL - it's ok if I have to go on-demand to make sure things are running. (A weekly/monthly update is nice too, just more work.)

Re:Ask HN: Please review my app: Was it up? - dead simple mo... by robotrout on Saturday October 17, 2009 @03:22PM (#887309)
Expanding on that idea a little. Store the proof of operation on the clients own server.

Let them enter a url to a script on their own server, that you will POST to, whenever you check their server. The user can log POST's to a text file, DB, etc., so they know that you are actually monitoring them.

When they see that you haven't POSTed to that file for a while, they know you're out of business, and they are unprotected.

On second thought, make it easy on yourself, and use GET. It's not like there's anything confidential about it.

Re:Ask HN: Please review my app: Was it up? - dead simple mo... by uggedal on Saturday October 17, 2009 @03:55PM (#887340)
I've been thinking of implementing webhooks as an additional form of notification, but not as a a presence mechanism. I like the idea, but given the simple nature of the service I'd have to give it some thought before implementing something like this.
Re:Ask HN: Please review my app: Was it up? - dead simple mo... by uggedal on Saturday October 17, 2009 @03:52PM (#887337)
I'll give the "last checked" idea some thought. I'd need to store some additional data as I'm currently storing only abnormal behavior.

Regarding the weekly/monthly update: this is something I'm averse to. Other services do this and it kind of bugs me each time I get these.

Re:Ask HN: Please review my app: Was it up? - dead simple mo... by ooorrr on Saturday October 17, 2009 @04:08PM (#887357)
I'm with you. I think the simplest solution is best here. I do expect you'll run into scenarios where last-checked-time will be data you'll want anyway...
Re:Ask HN: Please review my app: Was it up? - dead simple mo... by thinkzig on Saturday October 17, 2009 @03:56PM (#887341)
Another option might be a weekly uptime report. That way I still know you're in business and I get some useful information.
Re:Ask HN: Please review my app: Was it up? - dead simple mo... by uggedal on Saturday October 17, 2009 @04:06PM (#887353)
Sounds like a premium feature to me ;-)