* 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 '\n'.
> >
> > With NSCA >= 2.9, multiple check results are seperated using ASCII ETB
> > characters (octal value: 27) instead of newlines, and multi-line output
> > can be piped into send_nsca as-is.  (Actually, converting the newline
> > characters into '\n' will no longer work with NSCA >= 2.9.)
>
> I have one situation with both versions:
> NSCA < 2.9 in clients and NSCA > 2.9 in server.
> 
> Can send passive checks with "\n" for newline?

Yes, replacing newline characters with the literal string '\n' should do
the trick in your case.

Holger

------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to