Print only one line of text

Flyinvap Flyinvap at orange.fr
Sat Nov 7 21:15:55 CET 2009


Le Sat, 07 Nov 2009 20:30:35 +0100,
jonas kellens <jonas.kellens at telenet.be> a écrit :

> I'm using Nagios 3.2.0  and I still can't print multiple lines to be
> send with the notification email.
> 
> What am I missing ??

You don't use the right macro [1] .

$SERVICEOUTPUT$ : The first line of text output from the last
service check (i.e. "Ping OK").

$LONGSERVICEOUTPUT$ : The full text output (aside from the first
line) from the last service check.

[1]
<http://nagios.sourceforge.net/docs/3_0/macrolist.html#longserviceoutput>

-- 
Flyinvap



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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