Re: [Nagios-devel] [Patch] Nagios 3.0.3: extinfo.cgi to show hosts

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] Nagios 3.0.3: extinfo.cgi to show hosts

Post by Guest »

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 25/09/08 01:53 AM, Mikael Fridh wrote:
> On Wed, Sep 24, 2008 at 7:06 PM, Thomas Guyot-Sionnest 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.

My suggestion wasn't for CGI originately... I put useful url's straight
in plaintext notification emails and without url_encode it has to be
enclosed within (and there's a bug in thunderbird with them btw).

Although I don't mind separating the "cgi viewable" feature with the
"core processing" feature, but urlencode would stay in the core one.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI3GaL6dZ+Kt5BchYRAtGcAJ0RcEz+E7Lno10rlGJSQm1jlUe2sACg5JPx
hvfGnelqxhFKn+T9qTC/5W4=
=3XtR
-----END PGP SIGNATURE-----





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