PCE Health Reference
This topic covers properties, parameters, and examples for PCE health.
Check PCE Health
Curl Command
curl -i -X GET https://pce.my-company.com:8443/api/v2/health -H 'Accept: application/json' -u $KEY:'TOKEN'
Properties
Property | Description | Type |
---|---|---|
| Current health status of the PCE. Possible values:
| String |
| The type of PCE:
| String |
| The fully qualified domain name (FQDN) of the PCE. | String |
| The length of time that this PCE has been available is measured in seconds. | Number |
| Health warnings related to the PCE which contain the following properties:
| |
| Indicates when listen-only mode was enabled for this PCE. For information about enabling or disabling listen-only mode for a PCE, see PCE Administration Guide. | String |
| The nodes that comprise your PCE cluster. For each node of your PCE, this API call returns the following properties:
| String |
| PCE 2x2 or 4x2 Deployment For a PCE 2x2 or 4x2 deployment, the This property also indicates which data node in your PCE is the primary database and which is the database replica. This Sub-properties include:
Supercluster Deployment If you have deployed a PCE Supercluster, the PCE health call also returns information about the database replication between the PCE you are currently logged into and all other PCEs in the Supercluster. In a Supercluster deployment, the security policy provisioned on the leader is replicated to all other PCEs in the Supercluster. Additionally, all PCEs in the Supercluster (leader and members) replicate copies of each workload's context, such as IP addresses, to all other PCEs in the Supercluster. This other Properties include:
| Array |
| The timestamp of when the information was generated. | String |
PCE Health Response
Example response returned from the PCE Health API.
[ { "status": "normal", "type": "standalone", "fqdn": "pce.mycompany.com", "available_seconds": 84133, "notifications": [], "listen_only_mode_enabled_at": null, "nodes": [ { "hostname": "pce_core1.mycompany.com, "ip_address": "192.0.1.0", "type": "core", "runlevel": 5, "uptime_seconds": 2051301, "cpu": { "status": "normal", "percent": 7 }, "disk": [ { "location": "disk", "value": { "status": "normal", "percent": 17 } } ], "memory": { "status": "warning", "percent": 85 }, "services": { "status": "normal", "services": { "running": [ "agent_background_worker_service", "agent_service", "agent_traffic_service", "auditable_events_service", "collector_service", "ev_service", "executor_service", "fluentd_source_service", "login_service", "memcached", "node_monitor", "search_index_service", "server_load_balancer", "service_discovery_server", "traffic_worker_service", "web_server", ] } }, "generated_at": "2020-03-03T19:38:52+00:00" }, } ], "network": { "replication": [ { "type": "intracluster", "details": { "database_name": "agent", "primary_fqdn": "bkhorram-qa-6node-v0-pce-1-dbase0" }, "value": { "status": "normal", "lag_seconds": 0 } }, { "type": "intracluster", "details": { "database_name": "traffic", "primary_fqdn": "bkhorram-qa-6node-v0-pce-1-dbase0" }, "value": { "status": "normal", "lag_seconds": 0 } } ] }, "generated_at": "2020-03-03T19:38:52+00:00" } ]