- 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
Monitoring Cisco
VTS
![]() Note | Monitoring features (collectd and Monit) are not supported for Data Plane (VTF) when VTF is in VTEP mode, on vCenter (VM mode). |
Monit is a process monitoring tool. It collects and displays metrics related to memory consumption, CPU usage, swap information processes, file system, in a dashboard. For each process in each component, the dashboard shows status, uptime, CPU unitization, Memory, and Read/Write bytes on the disk. It is packaged as part of VTC, VTSR, and VTF, and will get installed as part of the respective installations. See Monitoring Cisco VTS Infrastructure using Monit for details.
collectd is a system statistics daemon which collects system and application performance metrics periodically and provides mechanisms to store the values. See https://collectd.org/for details about collectd. Cisco VTS installation installs collectd. On a new Cisco VTS installation, collectD plugins are preconfigured to load and run. These plugins have their configurations already saved in VTC. collectd collects various statistics related to VTC and VTF, which includes CPU, memory, number tenants, networks routers etc, based on the plugins that you enable. The metrics can be sent to an external location you specify, in JSON format, which can be used for further processing. See Monitoring Cisco VTS Infrastructure using collectd for details about how collectd is used in Cisco VTS.
Monitoring Cisco VTS Infrastructure using Monit
Monit is used to collect status of all the services that are running on the VTS and VTSR VMs as well as compute nodes running VTF. The monitoring details are displayed in a dashboard under Monitor.
![]() Note | For VTC and VTF, the intervals are fixed and you cannot change these values. |
This means that, when an event happens, the Cisco VTS UI will show the appropriate status only after this interval has passed.
About Monit Username and Passwords
- For Policy Plane (VTC)—Monit is packaged as part of VTC. Monit, when installed, will have a default username and password. The default monit credentials for VTC when installed are: Upon logging into Cisco VTS for the first time after installation, the admin needs to enter this default username and password in the VTC GUI at Administration > Monitoring Settings > Monit-D to view the VTC monitoring information in the Monit Dashboard.
- For Control Plane
(VTSR)—Monit is packaged as part of VTSR.
The default credentials for VTSR is entered while installing VTSR, by modifying the below two properties in vtsr_template.cfg: Upon logging into Cisco VTS for the first time after installation, the admin needs to enter this default username and password in the VTC GUI at Administration > Monitoring Settings > Monit to view the VTSR monitoring information in the Monit Dashboard.#VTSR_OPER_USERNAME="monit-ro-oper" # Password needs an encrypted value # Example : "openssl passwd -1 -salt <salt-string> <password>" #VTSR_OPER_PASSWORD="$1$cisco$b88M8bkCN2ZpXgEEc2sG9/"

Note
See the Installing VTSR section in the Cisco VTS 2.6.1 Installation Guide, for details.
- For Data Plane
(VTF)—Monit is packaged as part of VTF.
The default monit credentials for VTFs are:
Upon logging into Cisco VTS for the first time after installation, the admin needs to enter this default username and password in the VTC GUI at Administration > Monitoring Settings > Monit to view the VTF monitoring information in the Monit Dashboard. -
For Data Plane (VTF) deployed via OpenStack Platform Director (OSPD)—When VTF is installed via OSPD, the Monit related properties need to be updated in the neutron-cisco-vts.yaml file. See the Installing Cisco VTS 2.6.1 Components in OpenStack using Red Hat Enterprise Linux OpenStack Director doc for details.
Changing Monit Password Subsequently
/opt/vts/bin/update_monit_credentials.sh.
For VTC, the username cannot be changed. The default is monit-ro.
In HA mode, the password has to be changed on the Master.
To change Monit password for VTF deployed via OSPD, update the following properties under Monit-Configuration section in the neutron-cisco-vts.yaml file. See the Installing Cisco VTS 2.6.1 Components in OpenStack using Red Hat Enterprise Linux OpenStack Director doc for details.
Metrics Collected using Monit-D
Monit runs in VTC Master, VTC Slave, VTSR Master, VTSR slave, and all the VTFs. The VTS UI Monitoring page displays the monitoring status, on-demand.
Metrics Collected for VTC
Metrics Collected for VTSR
Setting up Monit Credentials
You must set up the credentials for the Policy Plane (VTC), Control Plane (VTSR), and Data Plane (VTF), to enable you to access the metrics collected by Monit via the Cisco VTS UI. See Monitoring Cisco VTS Infrastructure using Monit for details about Monit credentials for VTC, VTSR, and VTF.
Setting up Policy Plane Credentials
To set up the credentials to enable accessing Policy Plane metrics:
Setting up Control Plane Credentials
To set up the credentials to enable accessing Control Plane metrics:
Setting up Data Plane Credentials
To set up the credentials to enable accessing Data Plane metrics:
Viewing Metrics Collected by Monit
![]() Note | See Monitoring Cisco VTS Infrastructure using Monit and Setting up Monit Credentials sections more details about Monit. |
Viewing Policy Plane Metrics
To view the metrics collected for Policy Plane (VTC):
Viewing Control Plane Metrics
To view the metrics collected for Control Plane (VTSR):
Viewing Data Plane Metrics
To view the metrics collected for Data Plane (VTF):
Monitoring Cisco VTS Infrastructure using collectd
Cisco VTS embeds collectd to collect metrics and statistics of VTS components. Currently, collectd is embedded as part of VTC and VTFs.
collectd is a system statistics daemon which collects system and application performance metrics periodically and provides mechanisms to store the values.
collectd starts running upon Cisco VTS installation and is configured for a default collection interval of 120 seconds. In an HA setup, collectd runs on both master and slave VTCs. At the configured interval, it will invoke the Input plugins.
The write_log output plugin logs the metrics in the local VTC at /opt/vts/log/collectd/metrics.log, and write_http plugin (when configured) pushes the metrics to an external location.
List of Plugins for VTC
-
Py Custom Plugin—Gets periodically called by collectd; calls the UI backend API to get the stats in JSON format.
-
CPU—Inbuilt plugin in collectd
- Memory—Inbuilt plugin in collectd
-
Load—Inbuilt plugin in collectd
-
Interface—Inbuilt plugin in collectd
- Disk—Inbuilt plugin in collectd
- log_file; write_log—Used to log the metrics locally.
- write_http—You must configure this plugin if you want to forward the metrics in JSON format to the centralized collectd server.
![]() Note | Except write_http, all plugins are available by default upon installation. |
Plugin Configuration for VTC and VTF
collectd can be configured for both Policy Plane (VTC) and Data Plane (VTF) from the Administration > Monitoring Settings > Collectd Settings page.
Any change to the Policy Plane collectd settings and plugins would take a maximum of three minutes to get reflected in the VTC collectd process. Any change to the Data Plane Collectd settings and plugins is done immediately but would depend on the number of VTFs to get updated.
- collectd Interval—This is interval for collect-d to collect the metrics. This is per plane. The default is 120 seconds.
- Enable/Disable collectd—This toggle switch will help you to enable/disable collectd for all the collectd plugins within that Plane. For VTC, in an HA setup, it would disable/enable collectd process for both master and slave. For VTFs, it would disable/enable collectd process for all the VTFs.
- Plugin Configuration—You
can configure any collectd plugin as required.
- Plugin Name—Name of the
plugin.
See collectd Plugin Configuration for the default plugin configurations Cisco VTS supports.
Following are the plugins that are supported:- CPU
- Python
- log_logstash
- write_log
- logfile—The log file
location: /opt/vts/log/collectd/metrics.log.

Note
For VTF, you have to configure the log_file plugin. This is required to write the output to a specific log file. Otherwise it is sent to /var/log/messages.
- Interface
- Memory
- Load
- write_http—You must configure this plugin if you want to forward the metrics in JSON format to the centralized collectd server.
- Plugin Config—In xml
format.
LoadPlugin {plugin-name} <Plugin {plugin-name}> {parameters of the plugin} </Plugin>Sample write_http plugin config:
<LoadPlugin write_http> FlushInterval 10 </LoadPlugin> <Plugin write_http> <Node "example"> URL "http://10.10.10.10/centralized-collectd" Format "JSON" BufferSize 10240 </Node> </Plugin>FlushInterval ensures that the payloads are sent to the external server at predefined intervals. If the FlushInterval is lesser than collectd-interval, then collectd interval would take precedence, since there is nothing to send when the read-interval has not lapsed.
If the FlushInterval is greater than collect-interval, then FlushInterval will take precedence and payloads will be sent as per the FlushInterval, provided the buffer does not get full.

Note
For the FlushInterval to be honored, we recommend that you keep a bigger buffersize (40960). The buffersize can depend on the statistics collected, which depends on scale.
- Enable/Disable Plugin—You can enable or disable the plugins via the Cisco VTS UI.
- Plugin Name—Name of the
plugin.
Plugin Configuration for VTF Deployed via OSPD
For changing the VTF collectd plugin configuration while deploying via OSPD, you need to modify it in the neutron-cisco-vts.yaml file. Any change or addition to the plugins would need a change in this yaml file (under the Collectd Agent Configuration section). See the Installing Cisco VTS 2.6.1 Components in OpenStack using Red Hat Enterprise Linux OpenStack Director doc for details.
Metrics Collected by collectd
- Default Metrics:
-
VTC Statistics:
-
Total Number of Tenants
-
Total Number of Tenants per VTEP (HW and SW)
-
Total Number of Networks
-
Total Number of Networks per Tenant
-
Total Number of Networks per VTEP (HW and SW)
-
Total Number of Routers
-
Total Number of Routers per Tenant
-
Total Number of Router per VTEP (HW and SW)
- Total Number of Baremetal per VTEP
-
Total Number of Shared Networks
-
Total Number of Hosts/Servers
-
Total Number of H/W Vteps
-
Total Number of S/W Vteps (VTFs)
-
Metrics Sent
The following information from the VTS is sent:![]() Note | See collectd Output JSON Examples for output file examples. |
Setting up collectd Plugins
The Administration > Monitoring Settings > Collectd Settings page displays the Plugin Types and also shows whether the plugin is enabled or disabled, for Policy Plane and Data Plane. The Manage Settings and Plugin option allows you to manage the collectd settings and add/remove, enable/disable, and edit plugins, for both Policy Plane and Data Plane. See Monitoring Cisco VTS Infrastructure using collectd for details about usage of collectd in Cisco VTS.
Setting up Policy Plane Plugins
To set up collectd parameters for Policy Plane:
| Step 1 | Go to Administration > Monitoring Settings > Collectd Settings. |
| Step 2 | Click the Policy Plane tab. |
| Step 3 | Click
Manage Settings and Plugin.
Use the + button to add plugins. Use the - button to remove the plugin. |
| Step 4 | Click Save. |
Setting up Data Plane Plugins
To set up collectd parameters for Data Plane:
| Step 1 | Go to Administration > Monitoring Settings > Collectd Settings. |
| Step 2 | Click the Control Plane tab. |
| Step 3 | Click
Manage Settings and Plugin.
Use the + button to add plugins. Use the - button to remove the plugin. |
| Step 4 | Click Save. |
Feedback