Testrunner¶
The testrunner is the core-component of the caretaker-system. It is basically a script wich can be executed via cron or shell. The testrunner will check for pending tests, execute them and store the results to the database.
Additionally the testrunner will have the option to be called as a nagios sensor. In that case host- or group-ids can be provided as parameters and the testrunner will return the aggregated state after executing the pending tests.
php -f caretaker-testrunner.php --host 123 php -f caretaker-testrunner.php --group 123 php -f caretaker-testrunner.php