Re: [Nagios-devel] [PATCH] Let the gui use resource macros

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] Let the gui use resource macros

Post by Guest »

Hendrik Baecker wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> Andreas Ericsson schrieb:
>> Make resource ($USERx$) macros available in the GUI
>> The patch is rather simple. We just let the read_main_config_file()
>> function in cgi/cgiutils.c grok the "resource_file" variable and
>> move the function read_resource_file() from base/config.c to
>> common/macros.c so that it's linked into the cgi's as well as the
>> core daemon.
>> Signed-off-by: Andreas Ericsson
>>
>
> Erm... I thought the ressource_file was the last little thing to hide
> some macros from the CGIs as a security benefit.
>
> http://nagios.sourceforge.net/docs/3_0/ ... ource_file
>
> I don't like that patch ;|
>

Ah, right. Thanks for pointing me to that. I had completely forgotten
about it. Ethan, please disregard and feel free to smack me on the
head when we meet next time.

--
Andreas Ericsson [email protected]
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: [email protected]
Locked