"Connection refused" with check_tcp and derivates

shacky shacky83 at gmail.com
Thu Jul 30 10:33:04 CEST 2009


Hi.
I have a problem with check_tcp and its derivates (check_pop,
check_spop, check_simap and others).
When they are runned automatically by Nagios checks they give me a
"connetion refused" critical error, but if I execute them in the
command line as the user "nagios" they works good:

POP3     CRITICAL      07-30-2009      10:28:28      0d 22h 5m 45s
 4/4      Connessione rifiutata

server:/# su nagios -c "/usr/local/nagios/libexec/check_pop -H
mail.server.address"
POP OK - 0,044 second response time on port 110 [+OK IMAP server
ready.]|time=0,044167s;;;0,000000;10,000000

I don't understand what is the problem, could you help me please?

Thank you very much!
Bye.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list