nrpe and multiple lines?
Andreas Ericsson
ae at op5.se
Sat Feb 5 00:44:22 CET 2005
Gotzon Astondoa wrote:
> Yes, but, if i don´t remember bad, there is a limit in the number o
> characters of the line (80?)
348 chars (linebreaks are cut anyway) as defined by
MAX_PLUGINOUTPUT_LENGTH (Ethan has a way with macro names, dunnhe? ;))
in include/objects.h
> ----- Original Message -----
> From: "Randal, Phil" <prandal at herefordshire.gov.uk>
> To: "Werner Flamme" <Werner.Flamme at ufz.de>;
> <Nagios-users at lists.sourceforge.net>
> Sent: Friday, February 04, 2005 3:13 PM
> Subject: RE: [Nagios-users] nrpe and multiple lines?
>
>
>
>>Easiest way is to replace the "end of lines" with <br> before returning
>>the result. One real line but still looks good on the Nagios page :-)
>>
>>Phil
>>
>>----
>>Phil Randal
>>Network Engineer
>>Herefordshire Council
>>Hereford, UK
>>
>>
>>>-----Original Message-----
>>>From: nagios-users-admin at lists.sourceforge.net
>>>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf
>>>Of Werner Flamme
>>>Sent: 04 February 2005 12:22
>>>To: Nagios-users at lists.sourceforge.net
>>>Subject: [Nagios-users] nrpe and multiple lines?
>>>
>>>Hi all,
>>>
>>>we have a nagios host working (quite ;-) fine. Up to now,
>>>local checks, ping and http-checks work as they should, the
>>>rest will be tested soon ;-)
>>>
>>>The first problem we got is related to nrpe.
>>>
>>>We want to check a foreign host running SAP. When we do this
>>>manually there is an output of 6 lines. When we invoke this
>>>check via check_nrpe from our nagios host, there is only one
>>>line (the first) coming back.
>>>
>>># nrpe -h
>>>
>>>NRPE - Nagios Remote Plugin Executor
>>>Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org)
>>>Version: 2.0
>>>Last Modified: 09-08-2003
>>>License: GPL with exemptions (-l for more info) SSL/TLS
>>>Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required
>>>
>>>#rpm -q openssl
>>>openssl-0.9.6g-114
>>>
>>>OpenSSL is not the problem, we use "-n" on the command line
>>>on both machines - thanks to this list's archive ;-). Both
>>>machines are running SuSE Linux Exterprise Server 8 for x86.
>>>
>>>Maybe I'm too dumb, but I did not find a possibility to get
>>>more than 1 line back to our nagios host. Someone here to help me?
>>>
>>>Thanks in advance,
>>>\/\/erner
>>>
>>>--
>>>Werner Flamme, Abt. WKDV
>>>UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr.
>>>15, 04318 Leipzig - http://www.ufz.de
>>>eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500
>>>
>>>
>>>
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive
>>>Reporting
>>>Tool for open source databases. Create drag-&-drop reports. Save time
>>>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
>>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl
>>>_______________________________________________
>>>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
>>>
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
>>Tool for open source databases. Create drag-&-drop reports. Save time
>>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl
>>_______________________________________________
>>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
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> 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
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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