check_sql and --show
Marc Powell
marc at ena.com
Fri Feb 22 16:31:05 CET 2008
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of mjn
> Sent: Friday, February 22, 2008 8:58 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] check_sql and --show
>
> Anyone know whether it is possible to get multi-line output from the
> the --show option of check_sql?
> I would really like to still see the response time and would very much
> like the service pack information to display through the web as well.
Nagios-2 expects and processes only the first line of output from all
plugins. Nagios-3 introduces support for multi-line plugin output but it
is my belief that still only the first line of output is used in the web
interface. This makes sense as the rendering of non-htmlized multi-line
plugin output could be messy.
My suggestion would be to create a wrapper for check_sql that munged
it's output by at least replacing \n's with <br>'s.
--
Marc
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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