Parsing of macro-vars

Thomas.Zimmer at oppenheim.de Thomas.Zimmer at oppenheim.de
Fri Mar 11 15:04:28 CET 2005


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?

THX i.a., thomas.

----------------------------------------------------------------------------
-----------------
Thomas Zimmer
Sal. Oppenheim jr. & Cie.
Praktikant / IT
Tel.: 069 7134 5319
----------------------------------------------------------------------------
------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050311/722457a0/attachment.html>


More information about the Users mailing list