Skip to main content

Hello guys, has anyone here using vCenter vSphere 8 with Centreon? Our current vCenter will be upgraded to vSphere 8 soon. We want to make sure that Centreon would be able to monitor vCenter (vSphere 8), the ESXs inside it and the VM hosts residing in it.

 

Unfortunately, we will not have test vCenter vSphere 8 to test and check the compatibility of Centreon with it.

 

Appreciate, your feedback on this.

 

Sincerely,

Crisanto

[centreon-engine@vLCENTREON-00-E01 ~]$ /usr/lib/centreon/plugins//centreon_vmware8_esx_restapi.pl --plugin=apps::vmware::vsphere8::esx::plugin --mode=cpu --hostname='vcenter-00-02.interno.cedex.es' --port='443' --proto='https'  --esx-name='pvirtual-00-01.interno.cedex.es'  --username='***' --password='***'  --warning-contention-percentage='' --critical-contention-percentage='' --warning-usage-percentage='' --critical-usage-percentage='20' --warning-usage-frequency='' --critical-usage-frequency='' --warning-demand-percentage='' --critical-demand-percentage='' --warning-demand-frequency='' --critical-demand-frequency='' --warning-corecount-usage='' --critical-corecount-usage='' --insecure --debug
OK: usage-percentage : skipped (no value(s)), usage-frequency : skipped (no value(s)) - no data for host host-12 counter cpu.capacity.provisioned.HOST at the moment. - no data for host host-12 counter cpu.capacity.usage.HOST at the moment.
== Info:   Trying 192.168.9.5:443...
== Info: Connected to vcenter-00-02.interno.cedex.es (192.168.9.5) port 443 (#0)
== Info: ALPN, offering h2
== Info: ALPN, offering http/1.1
== Info:  CAfile: /etc/pki/tls/certs/ca-bundle.crt
== Info: TLSv1.0 (OUT), TLS header, Certificate Status (22):
== Info: TLSv1.3 (OUT), TLS handshake, Client hello (1):
== Info: TLSv1.2 (IN), TLS header, Certificate Status (22):
== Info: TLSv1.3 (IN), TLS handshake, Server hello (2):
== Info: TLSv1.2 (IN), TLS header, Certificate Status (22):
== Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
== Info: TLSv1.2 (IN), TLS header, Certificate Status (22):
== Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
== Info: TLSv1.2 (IN), TLS header, Certificate Status (22):
== Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
== Info: TLSv1.2 (OUT), TLS header, Certificate Status (22):
== Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
== Info: TLSv1.2 (OUT), TLS header, Finished (20):
== Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
== Info: TLSv1.2 (OUT), TLS header, Certificate Status (22):
== Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
== Info: TLSv1.2 (IN), TLS header, Finished (20):
== Info: TLSv1.2 (IN), TLS header, Certificate Status (22):
== Info: TLSv1.2 (IN), TLS handshake, Finished (20):
== Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
== Info: ALPN, server accepted to use h2
== Info: Server certificate:
== Info:  subject: CN=vCenter-00-02.interno.cedex.es; C=US
== Info:  start date: Aug  8 10:32:34 2023 GMT
== Info:  expire date: Aug  7 22:32:34 2025 GMT
== Info:  issuer: CN=CA; DC=vsphere; DC=local; C=US; ST=California; O=vCenter-00-02.interno.cedex.es; OU=VMware Engineering
== Info:  SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
== Info: Using HTTP2, server supports multi-use
== Info: Connection state changed (HTTP/2 confirmed)
== Info: Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
== Info: TLSv1.2 (OUT), TLS header, Unknown (23):
== Info: TLSv1.2 (OUT), TLS header, Unknown (23):
== Info: TLSv1.2 (OUT), TLS header, Unknown (23):
== Info: Using Stream ID: 1 (easy handle 0x559cf00715c0)
== Info: TLSv1.2 (OUT), TLS header, Unknown (23):
=> Send header: GET /api/vcenter/host HTTP/2
Host: vcenter-00-02.interno.cedex.es
accept: */*
vmware-api-session-id: 30e5a185fc0f8538502de2cf9873bdc9

== Info: TLSv1.2 (IN), TLS header, Unknown (23):
== Info: Connection state changed (MAX_CONCURRENT_STREAMS == 2147483647)!
== Info: TLSv1.2 (OUT), TLS header, Unknown (23):
== Info: TLSv1.2 (IN), TLS header, Unknown (23):
== Info: TLSv1.2 (IN), TLS header, Unknown (23):
=> Recv header: HTTP/2 200
=> Recv header: date: Thu, 20 Mar 2025 12:34:26 GMT
=> Recv header: content-type: application/json
=> Recv header: x-envoy-upstream-service-time: 5
=> Recv header:
=> Recv data: [{"host":"host-12","name":"pvirtual-00-01.interno.cedex.es","connection_state":"CONNECTED","power_state":"POWERED_ON"},{"host":"host-14","name":"pvirtual-00-02.interno.cedex.es","connection_state":"CONNECTED","power_state":"POWERED_ON"},{"host":"host-15","name":"pvirtual-00-03.interno.cedex.es","connection_state":"CONNECTED","power_state":"POWERED_ON"}]
== Info: Connection #0 to host vcenter-00-02.interno.cedex.es left intact
get_esx_id_from_name method called to get pvirtual-00-01.interno.cedex.es's id: host-12. Prefer using --esx-id to spare a query to the API.
== Info: Found bundle for host vcenter-00-02.interno.cedex.es: 0x559cf00ce340 [can multiplex]
== Info: Re-using existing connection! (#0) with host vcenter-00-02.interno.cedex.es
== Info: Connected to vcenter-00-02.interno.cedex.es (192.168.9.5) port 443 (#0)
== Info: Using Stream ID: 3 (easy handle 0x559cf00715c0)
== Info: TLSv1.2 (OUT), TLS header, Unknown (23):
=> Send header: GET /api/stats/acq-specs HTTP/2
Host: vcenter-00-02.interno.cedex.es
accept: */*
vmware-api-session-id: 30e5a185fc0f8538502de2cf9873bdc9

== Info: TLSv1.2 (IN), TLS header, Unknown (23):
=> Recv header: HTTP/2 200
=> Recv header: date: Thu, 20 Mar 2025 12:34:26 GMT
=> Recv header: content-type: application/json
=> Recv header: x-envoy-upstream-service-time: 17
=> Recv header:
=> Recv data: {"acq_specs":[{"counters":{"cid_mid":{"mid":"","cid":"power.capacity.usage.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-14"}],"expiration":1744994901,"interval":60,"memo_":"","id":"101","status":"ENABLED"},{"counters":{"cid_mid":{"mid":"","cid":"power.capacity.usage.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-12"}],"expiration":1744996369,"interval":60,"memo_":"","id":"102","status":"ENABLED"},{"counters":{"cid_mid":{"mid":"","cid":"cpu.capacity.provisioned.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-12"}],"expiration":1744997180,"interval":60,"memo_":"","id":"103","status":"ENABLED"},{"counters":{"cid_mid":{"mid":"","cid":"cpu.capacity.usage.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-12"}],"expiration":1744997180,"interval":60,"memo_":"","id":"104","status":"ENABLED"},{"counters":{"cid_mid":{"mid":"","cid":"cpu.capacity.contention.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-12"}],"expiration":1744997180,"interval":60,"memo_":"","id":"105","status":"ENABLED"},{"counters":{"cid_mid":{"mid":"","cid":"cpu.capacity.provisioned.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-14"}],"expiration":1745150366,"interval":60,"memo_":"","id":"106","status":"ENABLED"},{"counters":{"cid_mid":{"mid":"","cid":"cpu.capacity.usage.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-14"}],"expiration":1745150366,"interval":60,"memo_":"","id":"107","status":"ENABLED"},{"counters":{"cid_mid":{"mid":"","cid":"cpu.capacity.provisioned.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-15"}],"expiration":1745150493,"interval":60,"memo_":"","id":"108","status":"ENABLED"},{"counters":{"cid_mid":{"mid":"","cid":"cpu.capacity.usage.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-15"}],"expiration":1745150544,"interval":60,"memo_":"","id":"109","status":"ENABLED"},{"counters":{"cid_mid":{"mid":"","cid":"power.capacity.usage.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-15"}],"expiration":1745151004,"interval":60,"memo_":"","id":"110","status":"ENABLED"},{"counters":{"cid_mid":{"mid":"","cid":"power.capacity.usage.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-13"}],"expiration":1745151465,"interval":60,"memo_":"","id":"111","status":"ENABLED"},{"counters":{"cid_mid":{"mid":"","cid":"cpu.capacity.provisioned.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-13"}],"expiration":1745230374,"interval":60,"memo_":"","id":"112","status":"ENABLED"},{"counters":{"cid_mid":{"mid":"","cid":"cpu.capacity.provisioned.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-11"}],"expiration":1745230451,"interval":60,"memo_":"","id":"113","status":"ENABLED"},{"counters":{"cid_mid":{"mid":"","cid":"cpu.capacity.provisioned.HOST"},"set_id":""},"resources":[{"predicate":"EQUAL","scheme":"moid","type":"HOST","id_value":"host-10"}],"expiration":1745230470,"interval":60,"memo_":"","id":"114","status":"ENABLED"}]}
== Info: Connection #0 to host vcenter-00-02.interno.cedex.es left intact
== Info: Found bundle for host vcenter-00-02.interno.cedex.es: 0x559cf00ce340 [can multiplex]
== Info: Re-using existing connection! (#0) with host vcenter-00-02.interno.cedex.es
== Info: Connected to vcenter-00-02.interno.cedex.es (192.168.9.5) port 443 (#0)
== Info: Using Stream ID: 5 (easy handle 0x559cf00715c0)
== Info: TLSv1.2 (OUT), TLS header, Unknown (23):
=> Send header: GET /api/stats/data/dp?rsrcs=type.HOST.moid=host-12&cid=cpu.capacity.provisioned.HOST&start=1742473946 HTTP/2
Host: vcenter-00-02.interno.cedex.es
accept: */*
vmware-api-session-id: 30e5a185fc0f8538502de2cf9873bdc9

== Info: TLSv1.2 (IN), TLS header, Unknown (23):
=> Recv header: HTTP/2 200
=> Recv header: date: Thu, 20 Mar 2025 12:34:26 GMT
=> Recv header: content-type: application/json
=> Recv header: x-envoy-upstream-service-time: 7
=> Recv header:
=> Recv data: {"data_points":[]}
== Info: Connection #0 to host vcenter-00-02.interno.cedex.es left intact
== Info: Found bundle for host vcenter-00-02.interno.cedex.es: 0x559cf00ce340 [can multiplex]
== Info: Re-using existing connection! (#0) with host vcenter-00-02.interno.cedex.es
== Info: Connected to vcenter-00-02.interno.cedex.es (192.168.9.5) port 443 (#0)
== Info: Using Stream ID: 7 (easy handle 0x559cf00715c0)
== Info: TLSv1.2 (OUT), TLS header, Unknown (23):
=> Send header: GET /api/stats/data/dp?rsrcs=type.HOST.moid=host-12&cid=cpu.capacity.usage.HOST&start=1742473946 HTTP/2
Host: vcenter-00-02.interno.cedex.es
accept: */*
vmware-api-session-id: 30e5a185fc0f8538502de2cf9873bdc9

== Info: TLSv1.2 (IN), TLS header, Unknown (23):
=> Recv header: HTTP/2 200
=> Recv header: date: Thu, 20 Mar 2025 12:34:26 GMT
=> Recv header: content-type: application/json
=> Recv header: x-envoy-upstream-service-time: 11
=> Recv header:
=> Recv data: {"data_points":[]}
== Info: Connection #0 to host vcenter-00-02.interno.cedex.es left intact