- Introduction
- Getting Started with Cisco Virtual Topology System
- Managing Local Users and Groups
- Monitoring Cisco VTS
- Managing Inventory
- Managing Resources
- Creating and Managing Admin Domains
- Managing Templates
- Managing Tenants
- Deploying Security Groups
- Provisioning Overlay Networks
- Viewing Overlay Details
- Administering Cisco VTS
- Service Extension Templates-Supported Configuration Examples
- Supported Underlay Configuration Examples
- OpenStack Configuration for SR-IOV Support
- collectd Plugin Configuration for VTC and VTF
- collectd Output JSON Examples
collectd Output
JSON Examples
This appendix provides examples collectd JSON output.
Of this the default values of Type can be only guage and counter. To have custom types, the collect-d types.db needs to be updated with the custom types.
JSON Format
{
"values": [1],
"dstypes": ["counter"],
"dsnames": ["value"],
"time": 1515406938.687,
"interval": 10.000,
"host": "vtc-master-192.168.133.126”,
"plugin": “tenants”,
"plugin_instance": “”,
"type": “vtep”,
"type_instance": “vtep1”
}
Default Plugins—JSON Examples
CPU
{
"values": [1270783],
"dstypes": ["derive" ],
"dsnames": ["value"],
"time": 1515406948.326,
"interval": 10.000,
"host": "vtc126",
"plugin": "cpu",
"plugin_instance": "0",
"type": "cpu",
"type_instance": "user"
}
{
"values": [335605760],
"dstypes": ["gauge"],
"dsnames": ["value"],
"time": 1515406938.400,
"interval": 10.000,
"host": "vtc126",
"plugin": "memory",
"plugin_instance": "",
"type": "memory",
"type_instance": "slab_recl"
}
Custom Plugin—JSON Examples
Total Number of Tenants
{
"values": [ 3],
"dstypes": ["counter"],
"dsnames": ["value"],
"time": 1515406938.687,
"interval": 10.000,
"host": "vtc126",
"plugin": "vtc",
"plugin_instance": "",
"type": "tenants",
"type_instance": "vtc"
}
{
"values": [1],
"dstypes": ["counter"],
"dsnames": ["value"],
"time": 1515406938.687,
"interval": 10.000,
"host": "vtc126",
"plugin": "vtc",
"plugin_instance": "",
"type": "tenants",
"type_instance": "vtep1"
}
Feedback