dav3860 / vmbix

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

VMware vCenter Server 6.5.0 - Most commands ZBX_NOTSUPPORTED #47

Closed msalemcentrilogic closed 6 years ago

msalemcentrilogic commented 7 years ago

Hey Guys.

I installed the latest vmbix - 2.6

I have vmware 6.5 and its connected and most commands work like about, discovery VM and so on.

However nothing with Esxi hosts is support ? anyone facing the same issue ?

msalemcentrilogic commented 7 years ago

CentOS 7 - Latest. Zabbix 3.0.9 vmbix - 2.6

msalemcentrilogic commented 7 years ago

[root@ulenmon01 vmbix]# zabbix_get -s 127.0.0.1 -p 12050 -k vmbix[esx.cpu.load,ulenesx1,cores] ZBX_NOTSUPPORTED [root@ulenmon01 vmbix]# zabbix_get -s 127.0.0.1 -p 12050 -k "about[*]" VMware vCenter Server 6.5.0 build-4602587

dav3860 commented 7 years ago

I'll have a look at it with my 6.5 lab.

msalemcentrilogic commented 7 years ago

Just an update I have tested, 2.4 and 2.5 and it seems to be the same issue, I would assume it could be something in 6.5 that need to be adjusted

msalemcentrilogic commented 7 years ago

Hey Dav3860,,

Any updates on this matter. -- anything you need to test on my end. Thanks

msalemcentrilogic commented 6 years ago

I guess this does not work for 6.5

Thanks

dav3860 commented 6 years ago

Sorry for not coming back to you earlier, but I have no issue with ESXi 6.5 and VmBix 2.5 :

zabbix ~ # zabbix_get -s 127.0.0.1 -p 12070 -k "vmbix.version"
2.5.0.151
zabbix ~ # zabbix_get -s 127.0.0.1 -p 12070 -k "esx.discovery[*]" | jq
{
  "data": [
    {
      "{#ESXHOST}": "ESXI65U1",
      "{#UUID}": "421447c4-b1f9-243b-2d12-b97cda001ec2",
      "{#CLUSTER}": "ESXI65U1."
    }
  ]
}
zabbix ~ # zabbix_get -s 127.0.0.1 -p 12070 -k "esx.path[421447c4-b1f9-243b-2d12-b97cda001ec2,active]"
3
zabbix ~ # zabbix_get -s 127.0.0.1 -p 12070 -k "esx.uptime[421447c4-b1f9-243b-2d12-b97cda001ec2]"
4167282
zabbix ~ # zabbix_get -s 127.0.0.1 -p 12070 -k "esx.cpu.load[421447c4-b1f9-243b-2d12-b97cda001ec2,total]"
3196
zabbix ~ # zabbix_get -s 127.0.0.1 -p 12070 -k "esx.cpu.load[421447c4-b1f9-243b-2d12-b97cda001ec2,cores]"

Same thing for my last build, VmBix 2.7 :

zabbix ~ # zabbix_get -s 127.0.0.1 -p 12070 -k "vmbix.version"
2.7.0.182
zabbix ~ # zabbix_get -s 127.0.0.1 -p 12070 -k "esx.discovery[*]" | jq
{
  "data": [
    {
      "{#ESXHOST}": "ESXI65U1",
      "{#UUID}": "421447c4-b1f9-243b-2d12-b97cda001ec2",
      "{#CLUSTER}": "ESXI65U1."
    }
  ]
}
zabbix ~ # zabbix_get -s 127.0.0.1 -p 12070 -k "esx.uptime[421447c4-b1f9-243b-2d12-b97cda001ec2]"
4167322
zabbix ~ # zabbix_get -s 127.0.0.1 -p 12070 -k "esx.cpu.load[421447c4-b1f9-243b-2d12-b97cda001ec2,total]"
3196
zabbix ~ # zabbix_get -s 127.0.0.1 -p 12070 -k "esx.cpu.load[421447c4-b1f9-243b-2d12-b97cda001ec2,cores]"
4
zabbix ~ # ssh esxi65u1
Password:
The time and date of this login have been sent to the system logs.

WARNING:
   All commands run on the ESXi shell are logged and may be included in
   support bundles. Do not provide passwords directly on the command line.
   Most tools can prompt for secrets or accept them from standard input.

VMware offers supported, powerful system administration tools.  Please
see www.vmware.com/go/sysadmintools for details.

The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
[root@ESXI65U1:~] vmware -vl
VMware ESXi 6.5.0 build-5969303
VMware ESXi 6.5.0 Update 1