Hi
I have a problem with macro configuration but did not find the proper answer in forum or documentation.
1. I have "Template AMQP" template configured with the key:
Name: AMQP {$AMQPHOST} - File Descriptors Used
Type: Zabbix agent (active) (the values will be sent using the zabbix_sender)
Key: amqp[rabbit@{$AMQPHOST},fd_used] ({$AMQPHOST} is the host based macros)
2. The host is configured with the template above assigned and the macros configured:
Macros: {$AMQPHOST} = amqp1
The problem is that the macros is correctly parsed in host key name but not the key itself, even in documentation it say so:
Host:
Template AMQP: AMQP amqp1 - File Descriptors Used
amqp[rabbit@{$AMQPHOST},fd_used]
The key value should be the "amqp[rabbit@amqp1,fd_used]" and not "amqp[rabbit@{$AMQPHOST},fd_used]".
Does anyone know if you are using the macros in key what is the right way to use it so it will be shown as value of macros and not the macro name.
Regards,
Areg
I have a problem with macro configuration but did not find the proper answer in forum or documentation.
1. I have "Template AMQP" template configured with the key:
Name: AMQP {$AMQPHOST} - File Descriptors Used
Type: Zabbix agent (active) (the values will be sent using the zabbix_sender)
Key: amqp[rabbit@{$AMQPHOST},fd_used] ({$AMQPHOST} is the host based macros)
2. The host is configured with the template above assigned and the macros configured:
Macros: {$AMQPHOST} = amqp1
The problem is that the macros is correctly parsed in host key name but not the key itself, even in documentation it say so:
Host:
Template AMQP: AMQP amqp1 - File Descriptors Used
amqp[rabbit@{$AMQPHOST},fd_used]
The key value should be the "amqp[rabbit@amqp1,fd_used]" and not "amqp[rabbit@{$AMQPHOST},fd_used]".
Does anyone know if you are using the macros in key what is the right way to use it so it will be shown as value of macros and not the macro name.
Regards,
Areg
Comment