Thanks for the note. After cleaning up some of the macro code, I've
added support for some macros to the $xNOTES$ macros in the CGIs. Full
support for all macros in the CGIs should be added before Nagios 3 is
released as stable.
Søren Klintrup wrote:
> Salutations list,
>
> Using macros in notes does not seem to work in nagios 3.0b3 at the
> moment, it just prints whatever you type (does not expand the macro),
> works fine for notes_url and action_url.
>
> example (host qwerty address 127.0.0.1)
> notes $HOSTNAME$ has address $HOSTADDRESS$
>
> should output :
> qwerty has address 127.0.0.1
>
> but outputs
> $HOSTNAME$ has address $HOSTADDRESS$
>
> I have spottet this on extinfo.cgi, which is the only cgi that uses this
> macro, I havn't tested it by using $HOSTNOTES$ or $SERVICENOTES$ in
> other places - might just be a bug on the extinfo.cgi page.
>
--
Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]