I'm having trouble with the check_smtp plugin. My mail server waits for 70 seconds before sending a reply to ehlo. This if for antispam purposes.
Now when I run the command manually it works:
[root@nagios objects]# /usr/lib/nagios/plugins/check_smtp -H mail -f nagios -t 90
SMTP OK - 70.414 sec. response time|time=70.414097s;;;0.000000
But when I use it in my services.cfg object file it doesn't work. Here's what I have:
check_command check_smtp! -t 90 -f nagios
This fails every time, because it will only wait 60.5 seconds. It will not wait the full 90 seconds no matter what I try, any advice?