Re: [Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-03-15 Thread Esteban Monge
* Esteban Monge este...@nuevaeralatam.com [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

Re: [Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-03-15 Thread Tech Support
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 results using NSCA with multi-line output

Re: [Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-02-22 Thread diego.roc...@gmail.com
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

Re: [Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-02-22 Thread Holger Weiß
* diego.roc...@gmail.com [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

Re: [Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-02-18 Thread Esteban Monge
* Esteban Monge este...@nuevaeralatam.com [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

Re: [Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-02-16 Thread Esteban Monge
* Tech Support supp...@voipbusiness.us [2013-02-13 11:58]: foreach my $service ( @services ) { Blah, Blah, Blah, do some stuff $nsca_cmd .= $nscahost\t$service\t$code\t$output; }; my $retval = `$system /bin/echo -e $nsca_cmd | $nscaprog -H $nagioshost -c $nscacfg`; Like I

Re: [Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-02-16 Thread Holger Weiß
* Esteban Monge este...@nuevaeralatam.com [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

[Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-02-13 Thread Tech Support
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

Re: [Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-02-13 Thread Stuart Browne
/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 using NSCA

Re: [Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-02-13 Thread Holger Weiß
* Tech Support supp...@voipbusiness.us [2013-02-13 11:58]: foreach my $service ( @services ) { Blah, Blah, Blah, do some stuff $nsca_cmd .= $nscahost\t$service\t$code\t$output; }; my $retval = `$system /bin/echo -e $nsca_cmd | $nscaprog -H $nagioshost -c $nscacfg`; Like I