check_http and differents ports

Diego Giurgola diego.gentoo at gmail.com
Fri Feb 29 11:51:05 CET 2008


Hi all. I have a problem with check_http. I'd like to monitor my apache
server, which is running on 10080 port. When I try to use the script from
shell, it works wonderfully:

[root at gentoonagios]# /usr/lib/nagios/plugins/check_http -I localhost -p
10080
HTTP OK HTTP/1.1 200 OK - 306 bytes in 0,004 seconds
|time=0,003844s;;;0,000000 size=306B;;;0

But, when I setup the nagios services.cfg file and get nagios on, it refuses
to work, and it says me "Connection refused".
So, what is the clue?

Thanks a lot for your time.

-- 
Diego Giurgola

Contatti
Cellulare: 328/1481314
Skype: diego.giurgola
Profilo LinkedIn: http://www.linkedin.com/in/diegogiurgola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080229/33329911/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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