[Nagios-users] NSCA and long output

2008-05-27 Thread Aaron Mills
All, I've been trying to figure out if this is possible for a while. I'm using NRPE and $LONGHOSTOUTPUT$ for a number of tests, which is great, except for passive monitoring. We have several data centers that run their own Nagios boxes and then ship the data back to the master Nagios server via

Re: [Nagios-users] NSCA and long output

2008-05-27 Thread Mike Hamrick
Hi Aaron, You wrote: > I've been trying to figure out if this is possible for a while. I'm > using NRPE and $LONGHOSTOUTPUT$ for a number of tests, which is great, > except for passive monitoring. We have several data centers that run > their own Nagios boxes and then ship the data back to the mas

Re: [Nagios-users] NSCA and long output

2008-05-28 Thread Aaron Mills
AIL PROTECTED]> Subject: Re: [Nagios-users] NSCA and long output To: Nagios Users Mailinglist Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Hi Aaron, You wrote: > I've been trying to figure out if this is possible for

Re: [Nagios-users] NSCA and long output

2008-05-28 Thread Marc Powell
On May 28, 2008, at 11:54 AM, Aaron Mills wrote: > What I'm really trying to get is multi-line output. Nagios/NRPE > supports > this (v3.x) e.g.: > > TEXT OUTPUT | OPTIONAL PERFDATA > LONG TEXT LINE 1 > LONG TEXT LINE 2 > > This works for NRPE, but not with NSCA, since NSCA can only take a > si

Re: [Nagios-users] NSCA and long output

2008-05-29 Thread Aaron Mills
As it turns out, getting long output working was a little easier than I anticipated. The UI turns "\n" into "". So I'm able to bundle the long output into the standard plugin output. All I had to do in the end was pass $LONGSERVICEOUTPUT$ with $SERVICEOUTPUT$ like this: define command{ com