kenkou.py - simple http site health check tool

The &yet ops team is evaluating PagerDuty to handle event notifications and I was working thru the initial setup and realized that I really needed a super simple command line tool that would check a site and trigger an incident if it failed.

In the spirit of yak shaving and NIH, I created kenkou.py :)

According to Google and a Japanese/English translation site, kenkou means “health” and I’ve been on a Japanese-project-name kick lately.

Currently it only handles one site’s config and looks only for a HTTP response of 200, but more tweaks to come - right now this lets me get some of our more basic sites monitored for “is it alive” checks.


Mentions