check_http question
jmoseley at corp.xanadoo.com
jmoseley at corp.xanadoo.com
Fri Feb 27 20:44:23 CET 2009
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"
<ssimmons at cymfony
.com> To
<nccomp at gmail.com>,
02/27/2009 01:35 <nagios-users at lists.sourceforge.net
PM >
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 [mailto:nccomp at gmail.com]
Sent: Friday, February 27, 2009 2:28 PM
To: nagios-users at lists.sourceforge.net
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
http://p.sf.net/sfu/XcvMzF8H_______________________________________________
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
------------------------------------------------------------------------------
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
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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