Note: The Client Identifier must match the container client ID when a VMware Pulse IoTC Agent connection is established. The template client ID and the container client IDs are configurable, but they must be the same. The client ID can be found at the following location in your gateway:
/opt/vmware/iotc-client/conf/plugin_conf/container-management.cfg
For example:
root@photon-machine [ ~ ]# cat /opt/vmware/iotc-client/conf/plugin_conf/container-management.cfg
{
"interface":{
"type":"c",
"name":"container-management",
"init":"InitializePlugin"
},
"clientId": "com.vmware.containermgmt.client",
"commandInterval":300,
"propertyInterval":600,
"metricInterval":300,
"properties":[],
"metrics" : [
{"name": "num-containers", "type": "integer"},
{"name": "num-running-containers", "type": "integer"},
{"name": "num-images", "type": "integer"},
{"name": "network-bytes-in", "type": "integer"},
{"name": "network-bytes-out", "type": "integer"},
{"name": "cpu", "type": "double"},
{"name": "memory", "type": "double"}
]
}
You can configure the default values in the container-management.cfg file. Ensure that you restart the Container Management service for the changes to take effect.