berthubert / simplomon

Very simple monitoring system with a single configuration file
MIT License
97 stars 12 forks source link

Add personalized chime capability #12

Open job opened 3 months ago

job commented 3 months ago

I'd like to see a different message every day, along the lines of:

-- 10AM UTC chime confirms monitoring works with random (hopefully interesting!) adage
fortune = assert(io.popen('/usr/games/fortune', 'r'))
fortune:flush()
dailyChime{utcHour=10, content=fortune:read('*all')}
fortune:close()