* 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
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
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
* 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
* 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
* 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
* 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
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
/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
* 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
10 matches
Mail list logo