-
Problem report
-
Resolution: Duplicate
-
Trivial
-
None
-
None
-
None
-
None
-
CENTOS 7.7
ZABBIX 4.4.7
Steps to reproduce:
We collect network device parameters in the following format and upload to ZABBIX server (trapper):
"200.200.5.32" FortyGigE1-7-1-13_state 1
"200.200.5.32" FortyGigE1-7-1-14_state 1
"200.200.5.32" FortyGigE1-7-1-15_state 1
"200.200.5.32" FortyGigE1-7-1-16_state 1
.......
Corresponding to the host,item key and item value respectively.Then i can define the item key in the template
Now there is a requirement. I want to write another script to pass the user macros:
"200.200.5.32" {$FortyGigE1-7-1-13} FortyGigE1-7-1-13(describe xx13)
"200.200.5.32" {$FortyGigE1-7-1-14} FortyGigE1-7-1-14(describe xx14)
"200.200.5.32" {$FortyGigE1-7-1-15} FortyGigE1-7-1-15(describe xx15)
Then I can use the user macros to define the item key(support already), and more importantly, I can define the graphs name(current not support):
Result:
But the problem is that I can't use macros to define graphic names:
see: 20200416115016-1.jpg
user macros can collect data in item items, but not in custom graphs。
see: 20200416115016-2.jpg
Expected:
user macros support custom graphs
thank you very much.
- duplicates
-
ZBXNEXT-242 Support user macros in graph names
- Open