Custom Object Variables: Contrary to docs, /* custom variable values get cleaned */

Ethan Galstad egalstad at nagios.org
Sat Aug 28 15:59:51 CEST 2010


Peter Valdemar Mørch (Lists) wrote:
> I'm trying to use special chars in "Custom Object Variables" or "Custom 
> Variable Macros" - the same concept as I under stand it.
> 
> That doesn't work. Because they are subjected to "Macro Cleansing" 
> according to "illegal_macro_output_chars" from nagios.cfg.
> 
> The doc page "Understanding Macros and How They Work"[1] gives a list of 
> macros to which "Macro Cleansing" is applied, and no custom macros are 
> mentioned. "Cleansing" is also not metioned on the "Custom Object 
> Variables"[2] page.
> 1: http://nagios.sourceforge.net/docs/3_0/macros.html
> 2: http://nagios.sourceforge.net/docs/3_0/customobjectvars.html

Hi Peter -

Thanks for pointing this discrepancy out. Custom macros should be
cleaned IMO, so I opted to update the docs instead. :-)

-- 
Ethan Galstad
Father of Nagios
___
Email:  egalstad at nagios.org|com
Web:    www.nagios.com

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list