it is missing the -e flag:
*/5 * * * * root /usr/local/lib/nagios/plugins/check_exit_status.pl -s /etc/init.d/mysql status > /var/lib/nagios/service-check-mysql.txt
should be:
*/5 * * * * root /usr/local/lib/nagios/plugins/check_exit_status.pl -e -s /etc/init.d/mysql status > /var/lib/nagios/service-check-mysql.txt
it is missing the -e flag: lib/nagios/ plugins/ check_exit_ status. pl -s /etc/init.d/mysql status > /var/lib/ nagios/ service- check-mysql. txt
*/5 * * * * root /usr/local/
should be: lib/nagios/ plugins/ check_exit_ status. pl -e -s /etc/init.d/mysql status > /var/lib/ nagios/ service- check-mysql. txt
*/5 * * * * root /usr/local/