Re: [Nagios-devel] [Patch] Nagios 3.0.3: extinfo.cgi to show hosts custom vars and parents
Nagios network monitoring software is enterprise server monitoring
Brought to you by:
egalstad,
sawolf-nagios
From: Andreas E. <ae...@op...> - 2008-09-25 06:18:50
|
Mikael Fridh wrote: > On Wed, Sep 24, 2008 at 7:06 PM, Thomas Guyot-Sionnest <th...@za...> wrote: >> Some time ago I suggested allowing custom macros to be processed by the >> filters (url_encode, stripping shell characters) when they are prefixed >> by specific strings (ex: _URL_SOMEURL would be URL-encoded). While the >> exact syntax could be worked on, it would be possible at the same time >> to allow prefixes for showing the variables. Maybe a single letter flag >> could be useful as we could stack them. Ex: _SU_SOMETHING would mean >> "showable + url_encode" so the macros would be both shown and url-encoded. > > what about? - > > cgi_customvar_blacklist or cgi_customvar_hide or cgi_customvar_somethingelse > cgi_customvar_urlencode ... > > Either specify a list or let the option be allowed multiple times. > Along with "authorized_for_custom_vars", that would work nicely, I think. -- Andreas Ericsson and...@op... OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 |