[Nagios-devel] known bug with spaces and commas ?

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

[Nagios-devel] known bug with spaces and commas ?

Post by Guest »

I'm not sure if this has been reported, but I thought I'd drop you guys a
line anyway.

When defining a list using the members keyword, if you define it thus :

members member1,member2,member3

there are no problems..

However, if you define it thus :

members member1, member2, member3

(which to some people, is intuitive ;) Then you will get parsing errors
introduced, it sees the members list as 'member1', ' member2', ' member3',
and obviously the latter two in the example probably won't exist.

Cheers,

Al


--
Alan C. Horn
Inktomi - Unix Architect.
+1-650-653-5436
[ahorn@inktomi.com]






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: ahorn@inktomi.com
Locked