ikzelf / zbxdb

Zabbix database monitoring, the easy and extendable way
GNU General Public License v3.0
94 stars 45 forks source link

Zabbix Template Items Widget Graph Names Problem #14

Closed seyacat closed 5 years ago

seyacat commented 5 years ago

Zabbix 4.2

Graphics on Dashboard not suppor names with "," All discovery items has ","

like this

p_ts[,SYSTEM,pctfreeMAX,timeleft1d]

seyacat commented 5 years ago

I modify template changin names from "," to "_"

Hope it helps and works fine

https://gist.github.com/seyacat/f5646dced27a14b6738787e63bf9b3bf

ikzelf commented 5 years ago

thanks. For calculated items that will work OK. For trapper items the queries need to be changed to also generate the underscores, if needed.

ikzelf commented 5 years ago

Could that be caused by https://support.zabbix.com/browse/ZBX-15149? This zabbix bug is fixed ....

ikzelf commented 5 years ago

ah, the bug is 'fixed' by documenting it instead of to solve the problem. It can be found just above https://www.zabbix.com/documentation/4.2/manual/web_interface/frontend_sections/monitoring/dashboard/widgets#graph_classic There is not much I can do about it, other than what you already did. Luckily it is only about the item names and not about the item key. I just happened to have the item name and key the same, not for a special reason so yes, I can copy your solution. Thanks😁