Re: [Nagios-devel] [PATCH] xodtemplate: Don't use space as a

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] [PATCH] xodtemplate: Don't use space as a

Post by Guest »

On 2013-05-08 18:38, Robin Sonefors wrote:
> contact_names are allowed to have spaces in them, so using space as a
> delimiter doesn't really work. Space is thus not a valid delimiter for
> contacts anywhere, except in escalations, where it is only valid after
> the first comma. So you could have one contact with a space in its name,
> as long as you put it first - and no more than that!
>

And we always strip() them afterwards, so no risk of getting the spaces
included in the contact names. Neat. Thanks.

--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: ae@op5.se
Locked