Hello!
Zabbix 2.0.2, running Ubuntu 12.10.
I have a LL Discovery rule for discovering IPMI sensors, using a custom script.
A corresponding "Item prototype" (type-IMPI) is created. All items has been created successfully, I can see it in the Host's items.
"IPMI sensor" value for IMPI-item should be "variable" (different values for different IMPI-sensors).
So I was trying to use my custom macros for IPMI-item: {#SENSOR_ID}.
But! it seems like Zabbix does not allow to use the LLD-macros for "IPMI sensor" field. Because I got the following errors in the logs:
Other macros, used in "Item name" and "Item key" was applied successfully (converted to real data), only "IMPI sensor" remains in "raw macros" value ("{#SENSOR_ID}").
So. Is there a way to use LLD-marcos for "IPMI sensor" in the "Item prototype" for "IPMI agent" type?
Thank you!
P.S.
Please look at the screenshots for better understanding.
P.P.S.
{#SENSOR_ID} exist for sure, because I was trying to use it as a Item name.
Zabbix 2.0.2, running Ubuntu 12.10.
I have a LL Discovery rule for discovering IPMI sensors, using a custom script.
A corresponding "Item prototype" (type-IMPI) is created. All items has been created successfully, I can see it in the Host's items.
"IPMI sensor" value for IMPI-item should be "variable" (different values for different IMPI-sensors).
So I was trying to use my custom macros for IPMI-item: {#SENSOR_ID}.
Code:
#JSON
{'data': [{'{#SENSOR_ID}': 'Pwr Unit Status', '{#SENSOR_NAME}': 'Pwr_Unit_Status'} ... ]}
Code:
sensor or control {#SENSOR_ID}@[192.168.252.206]:623 does not exist
So. Is there a way to use LLD-marcos for "IPMI sensor" in the "Item prototype" for "IPMI agent" type?
Thank you!
P.S.
Please look at the screenshots for better understanding.
P.P.S.
{#SENSOR_ID} exist for sure, because I was trying to use it as a Item name.
I will try to test.
Comment