<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.2817" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=198543817-11012007><FONT face=Arial size=2>I am running the
check_ftp plugin against a server that is running ftp. If I run the plugin
from the command line (either as root or nagios), the plugin appears to work,
and gives me the following repsonse:</FONT></SPAN></DIV>
<DIV><SPAN class=198543817-11012007><FONT face=Arial size=2></FONT></SPAN><SPAN
class=198543817-11012007><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=198543817-11012007><FONT face=Arial size=2><STRONG>[root@dev02
plugins]# ./check_ftp -H dev01</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=198543817-11012007><FONT face=Arial size=2><STRONG>FTP OK -
0.004 second response time on port 21 [220 (vsFTPd
2.0.1)]|time=0.003810s;0.000000;0.000000;0.000000;10.000000</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=198543817-11012007><FONT face=Arial size=2><STRONG>[root@dev02
plugins]#</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=198543817-11012007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=198543817-11012007><FONT face=Arial size=2>But, when this
plugin runs from Nagios, the browser display shows the Service information to
be: "Connection refused", and the nagios log has the following
entry:</FONT></SPAN></DIV>
<DIV><SPAN class=198543817-11012007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=198543817-11012007><FONT face=Arial size=2><STRONG>[1168498800]
CURRENT SERVICE STATE: dev01;ftp;CRITICAL; HARD;3;Connection
refused</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=198543817-11012007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=198543817-11012007><FONT face=Arial size=2>Any ideas on this
one?</FONT></SPAN></DIV></BODY></HTML>