On Feb 29, 2008, at 4:51 AM, Diego Giurgola wrote: > 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: > > [EMAIL PROTECTED] /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?
I agree with Hari. Most likely you're not checking what you believe you're checking. Without the service{} and command{} definitions to look at we can't really be more specific than that. -- Marc ------------------------------------------------------------------------- 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/ _______________________________________________ Nagios-users mailing list Nagios-users@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