Hi Tobias,
On 09.09.2017 15:49, Tobias Köck wrote:
> I am wondering what is the difference between a macro access with
>
> ... = $host.variable$
This is a simple way to let the user include macros in most of the
variables, so the are evaluated dynamically on check execution etc.
> and
>
> ...
> On 9. Sep 2017, at 17:27, Antony Stone
> wrote:
>
> On Saturday 09 September 2017 at 14:49:14, Tobias Köck wrote:
>
>> Hi,
>>
>> I am wondering what is the difference between a macro access with
>>
>> ... = $host.variable$
>>
>> and
>>
>> ... = macro($host.variable$)?
>
> I'm not famili
On Saturday 09 September 2017 at 17:25:30, Tobias Köck wrote:
> the documentation says for the $asdfasd$ variant that
>
> "Macros can be used to access other objects’ attributes at runtime."
>
> https://www.icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#runtim
> e-macros
>
> So this v
Hi,
> This is evaluated once at compile-time (ie: whenever you reload or restart
> Icinga2).
>
>>> and
>>>
>>> ... = macro($host.variable$)?
>
> This is evaluated at run-time (ie: every time the host or service check
> executes).
could be but the documentation says for the $asdfasd$ variant t
On Saturday 09 September 2017 at 17:11:06, Tobias Köck wrote:
> I have seen it in several files. E.g. in
>
> /usr/share/icinga2/include/command-plugins.conf
>
> "
> template CheckCommand "ipv4-or-ipv6" {
> vars.check_address = {{
> var addr_v4 = macro("$address$")
> ...
>
I have seen it in several files. E.g. in
/usr/share/icinga2/include/command-plugins.conf
"
template CheckCommand "ipv4-or-ipv6" {
vars.check_address = {{
var addr_v4 = macro("$address$")
...
"
On 09.09.2017 17:27, Antony Stone wrote:
> On Saturday 09 September 2017 at 14
On Saturday 09 September 2017 at 14:49:14, Tobias Köck wrote:
> Hi,
>
> I am wondering what is the difference between a macro access with
>
> ... = $host.variable$
>
> and
>
> ... = macro($host.variable$)?
I'm not familiar with that latter syntax - can you point me at the
documentation for i
Hi,
I am wondering what is the difference between a macro access with
... = $host.variable$
and
... = macro($host.variable$)?
Greetings
Tobias
___
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icing