Page if service is up

Anders Holm anders.holm at criticalpath.net
Mon Dec 15 17:20:32 CET 2003


Hi Carl.

See inline...

Carl Schelin wrote:
[snip]

> I saw that. I'm not interested in having passwords in a configuration
> file.

Fair enough...

> But in the interests of verification:
> 
> ./negate check_http -S [server] -p [port] -a [admin:passwd]
> HTTP ok: HTTP/1.0 302 Moved Temporarily - ...
> ./check_http -S [server] -p [port] -a [admin:passwd]
> HTTP ok: HTTP/1.0 302 Moved Temporarily - ...

So, you are still getting errors. Why you get them is what you'd need to 
look at. If you don't want to have a username:password combo in your 
config file, is there any page on that service that is accessible 
without them? If not, it'll be hard to monitor the service you provide. 
How about a dummy user, which is only allowed to look at one page on 
that service?

> How about just checking the port:
> 
> ./negate check_tcp -H [server] -p [port]
> TCP OK -   0.004 second response time
> ./check_tcp -H [server] -p [port]
> TCP OK -   0.003 second response time
> 
> I prefer using the actual service check vs checking the port. There are
> times that the port is listening (NT systems primarily) but the service
> is unavailable for some reason. In addition, I have one server (NT) that
> the check_tcp program causes the service to fail.

You can also add Tomcat 4.0.x to that. It has a problem where the port 
is listening, but Tomcat doesn't accept requests. Fixed in 4.1 I believe...

> Thanks though.

Welcome.. ;) Have fun!

//Anders//

> Carl
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> 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

-- 
Anders Holm - Critical Path Technical Support

Contact Details: http://support.criticalpath.net/contact.jsp
New Issues:      technical.support at criticalpath.net
Ongoing Issues:  messaging.support at criticalpath.net
Support Site:    http://support.criticalpath.net/
Corporate Site:  http://www.criticalpath.net/



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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