Parsing of macro-vars
Andreas Ericsson
ae at op5.se
Fri Mar 11 15:22:59 CET 2005
Thomas.Zimmer at oppenheim.de wrote:
> Hi all!
>
> Can I use macros in the config-files? In former versions of Nagios, I wrote
> some cgi´s which were bound into the service-/host-overview as "extended
> informations"; I used the "old style" of specifying extended informations to
> be compatible with nawui.
>
> Obvisually, macros in the main config-files are parsed, whereas macros in
> normal config-files - especially the extended service-/host- informations -
> are not.
>
> Could you give me a hint, with which c-code-files the Nagios-config-files
> are parsed? Are there any functions to parse macro-vars out of a string?
>
Don't take this the wrong way, but if you can't find the proper file
then I really don't think you should try and muck about with it.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list