[Nagios-users] check_http question

2009-02-27 Thread Andrew Davis
I've enabled check_http for quite a few hosts, including testing for custom ports, URL's, and sites needing authentication. So far, so good. However, one issue in the Nagios interface is bothering me. If I drill in on a host, then the HTTP link for the test, it only shows OK. It DOES NOT show

Re: [Nagios-users] check_http question

2009-02-27 Thread Seth Simmons
In nagios, go to view config - commands It will show the exact command line being used for the host or service check From: Andrew Davis [mailto:ncc...@gmail.com] Sent: Friday, February 27, 2009 2:28 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_http question

Re: [Nagios-users] check_http question

2009-02-27 Thread jmoseley
Subject Re: [Nagios-users] check_http question

Re: [Nagios-users] check_http question

2009-02-27 Thread Marc Powell
On Feb 27, 2009, at 1:27 PM, Andrew Davis wrote: Is there a way of seeing the full URL/string that was tested with the check_http command? No, that code doesn't exist in check_http (outside of verbose mode, - v, sort-of...). Might be nice to add in though. I usually use a more

Re: [Nagios-users] check_http question

2009-02-27 Thread Andrew Davis
- commands It will show the exact command line being used for the host or service check From: Andrew Davis [mailto:ncc...@gmail.com] Sent: Friday, February 27, 2009 2:28 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_http question I've enabled check_http for quite a few hosts

Re: [Nagios-users] check_http question

2009-02-27 Thread Kevin Keane
You could write your own plugin - a simple bash script - that calls the original check_http, tests the result, and then outputs whatever you need. Should be about five or six lines of code. Don't forget to return the same exit code as what you got from check_http. # call the regular plugin

Re: [Nagios-users] check_http question

2009-02-27 Thread jmoseley
Subject Re: [Nagios-users] check_http question

[Nagios-users] check_http question

2008-04-03 Thread Shabu Khan
Folks, How do I get check_http to input username/password for a particular url? This is what I am doing: # /opt/nagios/libexec/check_http -ssl -a myusername:mypassword -H myhostname.fqdn -u /websitemanager/ControllerServlet -f follow -v There is a redirection that happens and hence the -f

Re: [Nagios-users] check_http question

2008-04-03 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Shabu Khan Sent: Thursday, April 03, 2008 2:21 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_http question Folks, How do I get check_http to input