Parsing of macro-vars
Thomas.Zimmer at oppenheim.de
Thomas.Zimmer at oppenheim.de
Fri Mar 11 15:42:12 CET 2005
Sure master, I didn´t take it wrong :-)
The file which reads the config wasn´t exactly what I searched.
So I will repose my question:
Is there any (global) function available for parsing macro-vars out of a
string?
Andreas, what would you propose to start with, if I`m interested in the
nagios code? With the rich code-documentation?
Thanks a lot, thomas
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
-------------------------------------------------------
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_ide95&alloc_id396&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