Open jeff1985 opened 10 years ago
Hi, yeah thx, i already have this in mind, kinda visible in the v1 branch, as there are some refactorings, that make heartbeat more pluggable. I think of a script directory like 'hooks', named 'checks' or similar, where you can place your own checks and plug them in via the config file.
However, i first want to bring the v1 changes into master.
What do you thing about allowing additional test methods? Ping is good for testing basic network conncectivity. But it would be nice to be able to test the actual functionality.
I've just had a server, that has been responding to pings, but declined any other requests (ssh/http) until physical reboot.
So what i'm thing of is to allow plugin tests like the actual hook system for notifications.
For example one could use curl and grep to test http: