Azure-Samples / azure-zabbix-templates

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

Vmdiag utility doesn't results into data when query is done #6

Open shitizt opened 4 years ago

shitizt commented 4 years ago

Whenever i run, vmdiag utility in query mode, it results like as shown below:

/opt/azure-zabbix/bin/vmdiag query -s In one, get:0 0

what does that mean, why the data is not being returned.

karataliu commented 4 years ago

what's your zabbix version, this template only supports 2.2 and 3.2 You might also check troubleshooting doc: https://github.com/Azure-Samples/azure-zabbix-templates/wiki

shitizt commented 4 years ago

I haven't integrated it with zabbix as of yet, i am currently trying it on the linux and it doesn't work

shitizt commented 4 years ago

As per the troubleshooting guide, /opt/azure-zabbix/bin/discovery works well but i face problems with : /opt/azure-zabbix/bin/vmdiag query -s vmname1

karataliu commented 4 years ago

Did you enabled diagnostic setting for vm? Can you navigate to your diagnostic storage account and check if there is data present in tables?

shitizt commented 4 years ago

Yes, the diagnostic setting is enabled for the VM. Yes, the data is present in the storage account Tables(checked with the Storage explorer)