Yesterday I ran in a issue by chance:
I have no values in Logical Values and can't figure out why...

./check-esx-hardware.py -i server -u user -p password -d --zabbix-hostname 123456789 --show-inventory
check-esx-hardware.py -i server -u user -p password -d --zabbix-hostname 123456789 -d -x|zabbix_sender -z 127.0.0.1 -i - -vv
zabbix_sender [12334]: DEBUG: answer [{"response":"success","info":"processed: 85; failed: 1; total: 86; seconds spent: 0.054240"}]
info from server: "processed: 85; failed: 1; total: 86; seconds spent: 0.054240"
sent: 86; skipped: 0; total: 86
Zabbix-Server-Log with loglevel 5
[...]
17379:20170807:120414.093 In substitute_key_macros() data:'vmware.hardwarehealthstate['{#ITEM_KEY}']'
17379:20170807:120414.093 In substitute_lld_macros() data:''{#ITEM_KEY}''
17379:20170807:120414.093 End of substitute_lld_macros():SUCCEED data:''LogicalVolume1onHPSA1RAID51955GBDisk1,2,3,4 ,5,6,7,8InterimRecovery''
17379:20170807:120414.093 End of substitute_key_macros():SUCCEED data:'vmware.hardwarehealthstate["'LogicalVolume1onHPSA1RAID51955GBDisk1,2,3,4,5,6, 7,8InterimRecovery'"]'
17379:20170807:120414.093 In substitute_key_macros() data:'vmware.hardwarehealthstate['{#ITEM_KEY}']'
17379:20170807:120414.093 In substitute_lld_macros() data:''{#ITEM_KEY}''
[...]
It seems everthing looks fine....
I have this issue on all VMware-Hosts.
I can't find the source og this problem.. Have anyone the same issue?
Have anyone a hint for me to solve this?
Zabbix 3.2.7 on Ubuntu 16.04 LTS
Dirk
I have no values in Logical Values and can't figure out why...
./check-esx-hardware.py -i server -u user -p password -d --zabbix-hostname 123456789 --show-inventory
Code:
[...]
123456789 vmware.hardwarehealthstate['PowerSupply2'] 5
123456789 vmware.hardwarehealthstate['Disk1onHPSA1Port1IBox1Bay1279GBDataDisk'] 5
123456789 vmware.hardwarehealthstate['Disk2onHPSA1Port1IBox1Bay2279GBDataDisk'] 5
123456789 vmware.hardwarehealthstate['Disk3onHPSA1Port1IBox1Bay3279GBDataDisk'] 0
123456789 vmware.hardwarehealthstate['Disk4onHPSA1Port1IBox1Bay4279GBDataDisk'] 5
123456789 vmware.hardwarehealthstate['Disk5onHPSA1Port2IBox1Bay5279GBDataDisk'] 5
123456789 vmware.hardwarehealthstate['Disk6onHPSA1Port2IBox1Bay6279GBDataDisk'] 5
123456789 vmware.hardwarehealthstate['Disk7onHPSA1Port2IBox1Bay7558GBDataDisk'] 5
123456789 vmware.hardwarehealthstate['Disk8onHPSA1Port2IBox1Bay8558GBDataDisk'] 5
123456789 vmware.hardwarehealthstate['HPSmartArrayP410iControllerEmbeddedHPSA1'] 5
123456789 vmware.hardwarehealthstate['LogicalVolume1onHPSA1RAID51955GBDisk1,2,3,4,5,6,7,8InterimRecovery'] 10
123456789 vmware.hardwarehealthstate['BatteryonHPSA1'] 5
123456789 vmware.hardwarehealthstate[heartbeat] 1
[.............]
123456789 vmware.hardwareitems { ...........},{ "{#ITEM_KEY}":"LogicalVolume1onHPSA1RAID51955GBDisk1,2,3,4,5,6,7,8InterimRecovery","{#ITEM_NAME}":"Logical Volume 1 on HPSA1 RAID 5 1955GB Disk 1,2,3,4,5,6,7,8 Interim Recovery" },{
check-esx-hardware.py -i server -u user -p password -d --zabbix-hostname 123456789 -d -x|zabbix_sender -z 127.0.0.1 -i - -vv
zabbix_sender [12334]: DEBUG: answer [{"response":"success","info":"processed: 85; failed: 1; total: 86; seconds spent: 0.054240"}]
info from server: "processed: 85; failed: 1; total: 86; seconds spent: 0.054240"
sent: 86; skipped: 0; total: 86
Zabbix-Server-Log with loglevel 5
[...]
17379:20170807:120414.093 In substitute_key_macros() data:'vmware.hardwarehealthstate['{#ITEM_KEY}']'
17379:20170807:120414.093 In substitute_lld_macros() data:''{#ITEM_KEY}''
17379:20170807:120414.093 End of substitute_lld_macros():SUCCEED data:''LogicalVolume1onHPSA1RAID51955GBDisk1,2,3,4 ,5,6,7,8InterimRecovery''
17379:20170807:120414.093 End of substitute_key_macros():SUCCEED data:'vmware.hardwarehealthstate["'LogicalVolume1onHPSA1RAID51955GBDisk1,2,3,4,5,6, 7,8InterimRecovery'"]'
17379:20170807:120414.093 In substitute_key_macros() data:'vmware.hardwarehealthstate['{#ITEM_KEY}']'
17379:20170807:120414.093 In substitute_lld_macros() data:''{#ITEM_KEY}''
[...]
It seems everthing looks fine....
I have this issue on all VMware-Hosts.
I can't find the source og this problem.. Have anyone the same issue?
Have anyone a hint for me to solve this?
Zabbix 3.2.7 on Ubuntu 16.04 LTS
Dirk
Comment