Re: [Nagios-devel] Support quoting vertical bar (|) character in

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Support quoting vertical bar (|) character in

Post by Guest »

On 26.03.2013 18:23, Jim Winkle wrote:
> It's possible for a plugin to have a vertical bar (|) character in its
> regular output.

That depends a bit on what your definition of "(plugin) output" is.
Plugins certainly *can* shove pipe symbols out their stdout/stderr, but
(lacking any defined escaping) they'll never arrive in what Nagios
considers the "Plugin Output" (while extraneous pipes *will* appear in
the Performance Data).

> For example, I've seen cases where check_logfiles does this [...]
> It seems that (and correct me if I'm wrong) Nagios doesn't support a
> way to escape '|' in plugin output.

That's correct as of 3.x. (Somebody please speak up if the upcoming 4.x
is going to change that.)

> If this is true, I'll request this enhancement on tracker.nagios.org.

IIUC API changes wouldn't get applied until at least 4.1, so you might
want to simultaneously ask Gerhard for a fix in the plugin for the time
being.

Regards,
J. Bern
--=20
*NEU* - NEC IT-Infrastruktur-Produkte im :
Server--Storage--Virtualisierung--Management SW--Passion for Performance
Jochen Bern, Systemingenieur --- LINworks GmbH
Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt
PGP (1024D/4096g) FP =3D D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C2=
7
Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202
Unternehmenssitz Weiterstadt, Gesch=E4ftsf=FChrer Metin Dogan, Oliver Mic=
hel





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked