<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000099">
Thanks much. I guess I may have to just live with it the way it is
until a future revision...<br>
<pre class="moz-signature" cols="72">
  Andrew Davis
</pre>
<a class="moz-txt-link-abbreviated" href="mailto:jmoseley@corp.xanadoo.com">jmoseley@corp.xanadoo.com</a> wrote:
<blockquote
 cite="mid:OF0BC8C78A.DBD13D00-ON8625756A.006C16E4-8625756A.006C6AC2@corp.xanadoo.com"
 type="cite">
  <pre wrap="">Unfortunately, that only displays the commands as they are defined in the
command configuration file object defintions.  You could look at the
service commands being run, though.

Back to the question, though.  Nagios displays what is being returned by
the plugin.  The plugin, by default, doesn't show the port or URL being
monitored in the plugin out.  You could run the plugin with a -v option
(for verbose).  That generates a lot of output.  However, I don't know if
Nagios will be able to parse the verbose output properly.


James Moseley




                                                                           
             "Seth Simmons"                                                
             <a class="moz-txt-link-rfc2396E" href="mailto:ssimmons@cymfony.com"><ssimmons@cymfony                                             
             .com></a>                                                      To 
                                       <a class="moz-txt-link-rfc2396E" href="mailto:nccomp@gmail.com"><nccomp@gmail.com></a>,                 
             02/27/2009 01:35          <a class="moz-txt-link-rfc2396E" href="mailto:nagios-users@lists.sourceforge.netPM"><nagios-users@lists.sourceforge.net 
             PM                        ></a>                                   
                                                                        cc 
                                                                           
                                                                   Subject 
                                       Re: [Nagios-users] check_http       
                                       question                            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




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 [<a class="moz-txt-link-freetext" href="mailto:nccomp@gmail.com">mailto:nccomp@gmail.com</a>]
Sent: Friday, February 27, 2009 2:28 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>
Subject: [Nagios-users] check_http question

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 the
full URL that was tested. For example, for one of my hosts, I had to test
for a non-standard port, SSL, a directory structure, and authentication (-I
$HOSTNAME -p 8099 -u /dir/dir/dir/file.php -a user:password. All worked in
the sense that the test returned an OK status, but I have no visual way of
seeing the tested URL within Nagios. In contrast, doing a similar test in
BB (which I'm migrating away from), shows the full URL that was tested. Am
I simply missing something here? Is there a way of seeing the full
URL/string that was tested with the check_http command?

--


  Andrew Davis
------------------------------------------------------------------------------

Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
CA
-OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
-Strategies to boost innovation and cut costs with open source
participation
-Receive a $600 discount off the registration fee with the source code:
SFAD
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/XcvMzF8H_______________________________________________">http://p.sf.net/sfu/XcvMzF8H_______________________________________________</a>
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null

  </pre>
</blockquote>
</body>
</html>