Azure-Samples / azure-zabbix-templates

Azure zabbix template samples.
MIT License
13 stars 5 forks source link

Zabbix not supported the Azure key #3

Closed janey-day closed 5 years ago

janey-day commented 5 years ago

Zabbix server does not support the azure-zabbix-templates key. STATUS needs to be enabled but it shows comment "Unsupported item key" , my item key is azure.monitoring.discovery . image pasted at 2018-12-18 13-07

By the way, I check the connections btw zabbix server - azure, azure vm - zabbix server. If I read the conf.json file in Zabbix Server, I can see the info about the azure and if changing templates to zabbix-agent from azure-zabbix-templates then the graph shows up.

I think the key as azure.monitroing.discovery needs to be changed, if not, please tell me what I missed.

p.s. I found out the troubleshooting in wiki , /opt/azure-zabbix/bin/discovery ran well, but, /opt/azure-zabbix/bin/vmdiag query -s vmname1 doesn't work maybe because of key.

karataliu commented 5 years ago

@janeunbi Thanks for reporting this. What is the Zabbix server version you're using?

janey-day commented 5 years ago

hi @karataliu I'm using Zabbix 4.0, is that what you mean?

karataliu commented 5 years ago

Yes, this sample is only verified against v2.2 and v3.2 at the time it comes out.

I suspect it might due to the key format changes, would take a look later sometime.

janey-day commented 5 years ago

oh, I see.. That was the problem Thanks a lot! You're such a genius!