<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div> I have setup check_smtp in my Nagios to possibly check smtp flow. <br>
<br>
I have manually tested initiated this command and seems to be ok:<br>nagios@servedhcp1~/libexec# ./check_smtp -H serveip1.csaa.com -w 3 -c 5 -t 100<br>
SMTP OK - 0.003 sec. response time|time=0.002578s;3.000000;5.000000;0.000000<br>
<br>
Configured my cfgs in command.cfg:<br>
define command{<br>
command_name check_smtp<br>
command_line $USER1$/check_smtp -H $HOSTADDRESS$ -p 25 -w $ARG1$ -c $ARG2$ -t $ARG3$<br>
}<br>
<br>
Configured on host nrpe:<br>
command[check_smtp]=/usr/local/nagios/libexec/check_smtp -p 25 -w 5 -c 8 -t 100<br>
<br>
However when I check nagios page, I'm getting this error:<br><span style="font-style: italic; font-weight: bold;">
check_smtp: Warning time must be a positive integer</span><br>
<br>
Any ideas on why this is happening?<br>
<br>
Please advise.<br>
<br>
Thanks!<br>DB<br></div></div><br>
</body></html>