seems to work fine for me even when I send hundreds of lines out output
in one single command.
-Original Message-
From: Esteban Monge [mailto:este...@nuevaeralatam.com]
Sent: Friday, March 15, 2013 3:59 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Problem sending passive resu
>> * Esteban Monge [2013-02-16 15:00]:
>>
>>> > This looks like you're using a send_nsca version < 2.9, where
>>> multiple
>>> > check results were seperated using newlines. In that case, you'll
>>> have
>>> > to replace each newline character within multi-line output with the
>>> > literal strin
* [2013-02-22 09:31]:
> You can't [transmit multiline plugin output] with nsca.
You can, see my earlier responses in this thread:
http://article.gmane.org/gmane.network.nagios.user/74959
Holger
--
Everyone hate
You can't with nsca. how about using nrpe? You would still have the scripts
running on the monitored system. If you want to stick with passive checks
(as far as you told us, there is no reason) there's a nsca alternative that
use cgi and support multi line.
Il giorno 13/feb/2013 19:09, "Tech Suppor
> * Esteban Monge [2013-02-16 15:00]:
>
>> > This looks like you're using a send_nsca version < 2.9, where multiple
>> > check results were seperated using newlines. In that case, you'll
>> have
>> > to replace each newline character within multi-line output with the
>> > literal string '\n'.
>>
* Esteban Monge [2013-02-16 15:00]:
> > This looks like you're using a send_nsca version < 2.9, where multiple
> > check results were seperated using newlines. In that case, you'll have
> > to replace each newline character within multi-line output with the
> > literal string '\n'.
> >
> > With
> * Tech Support [2013-02-13 11:58]:
>> foreach my $service ( @services ) {
>>
>>
>>
>> $nsca_cmd .= "$nscahost\t$service\t$code\t$output";
>>
>> };
>>
>> my $retval = `$system /bin/echo -e "$nsca_cmd" | $nscaprog -H
>> $nagioshost -c
>> $nscacfg`;
>>
>> Like I said, Nagios is choking whe
I updated to version 2.9.1 and it works like a charm. Thanks!
John
-Original Message-
From: Holger Weiß [mailto:hol...@cis.fu-berlin.de]
Sent: Wednesday, February 13, 2013 6:32 PM
To: Nagios Users
Subject: Re: [Nagios-users] Problem sending passive results using NSCA with
multi-line
* Tech Support [2013-02-13 11:58]:
> foreach my $service ( @services ) {
>
>
>
> $nsca_cmd .= "$nscahost\t$service\t$code\t$output";
>
> };
>
> my $retval = `$system /bin/echo -e "$nsca_cmd" | $nscaprog -H $nagioshost -c
> $nscacfg`;
>
> Like I said, Nagios is choking when the output
arman/mod_gearman. It has a send_gearman utility that allows for multi-line
passive result submissions.
Stuart
From: Tech Support [mailto:supp...@voipbusiness.us]
Sent: Thursday, 14 February 2013 3:58 AM
To: 'Nagios Users List'
Subject: [Nagios-users] Problem sending passive results
All;
I have a bunch of ( PERL ) plugins that are run passively out of CRON
with the results sent to the Nagios monitoring host using NSCA. Most of them
work great, and they return results on dozens of services. I'm doing it this
way because instead of running dozens of plugins actively, I can
11 matches
Mail list logo