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
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
Subject
Re: [Nagios-users] check_http
question
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
- 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
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
Subject
Re: [Nagios-users] check_http
question
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
-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