dav3860 / vmbix

Fork of vmbix, a TCP proxy for querying a VMWare infrastucture with Zabbix
53 stars 19 forks source link

Some items vmbix don't return value after update Zabbix-server #52

Closed ZabbixUser closed 6 years ago

ZabbixUser commented 6 years ago

Version:

Zabbix-server 3.4.6 Vmbix 2.6.0.172

Issue

I update Zabbix-server 3.4.5 to 3.4.6 and many items in "Template VmBix VM Loadable Module" don't return any value and wait in Zabbix-server queue after this update.

Items who don't return value:

Other items in the template work correctly.

In Vmbix log only this appear: vm.guest.tools.status[VM]' not supported The command: _zabbixget -s 127.0.0.1 -p 12050 -k "vmbix.version" work ! I restart services and hosts but nothing change.

Any ideas for this issue ?

ZabbixUser commented 6 years ago

More informations

Vm "counter" request don't return value:

zabbix_get -s 127.0.0.1 -p 12050 -k "vm.counter[vm.counter[VM1,cpu.usagemhz.average,scsi0:0,300]" zabbix_get [20531]: Check access restrictions in Zabbix agent configuration Log: NO LOG

zabbix_get -s 127.0.0.1 -p 12050 -k "vm.counter[VM1,net.bytesRx.average]" zabbix_get [10501]: Check access restrictions in Zabbix agent configuration Log: NO LOG

Same for esx request:

zabbix_get -s 127.0.0.1 -p 12050 -k "esx.counter[esx01.domain.local,cpu.ready.summation,,300]" zabbix_get [10383]: Check access restrictions in Zabbix agent configuration Log: NO LOG !

Other request work correctly:

zabbix_get -s 127.0.0.1 -p 12050 -k "vm.counter.list[VM1]" all list

zabbix_get -s 127.0.0.1 -p 12050 -k "vm.cpu.load[VM1,total]" 0

zabbix_get -s 127.0.0.1 -p 12050 -k "about" VMware vCenter Server ..

ZabbixUser commented 6 years ago

With Zabbix-agent

With zabbix-agentd version command don't work too.

#zabbix_agentd -t vmbix[version]
zabbix_agentd [26254]: VmBix module version 1.1
zabbix_agentd [26254]: Loading VmBix module configuration file /etc/zabbix/vmbix_module.conf
vmbix[version]                                [s|ZBX_NOTSUPPORTED]

But #zabbix_get -s 127.0.0.1 -p 12050 -k "vmbix.version" work.

dav3860 commented 6 years ago

Thanks for reporting this. I'm going to check this in my lab.

ZabbixUser commented 6 years ago

Hi dav3860,

Thanks for your time, today for unknow reason after 28 days of inactivity; the Vmbix module work correctly ! I didn't change anything I just view in log at the moment of recovery " item "VM1:<discovery-item>[{HOST.HOST}]" became supported".

I'm curious to know what's happen.

Thanks again.