[Nagios-devel] nagios 3.0b3 using macros in notes

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

[Nagios-devel] nagios 3.0b3 using macros in notes

Post by Guest »

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.

--
Regards
Søren Klintrup
We are sysadmins. To us, data is protocol overhead.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked