Administrator Guide

Table Of Contents
Create a perfomance monitor to monitor local COM latency for a specified director:
VPlexcli:/> monitor create --name local-cluster --stats "com-cluster-io.*" --director
director-1-1-A --targets "/clusters/cluster-1"
Create a perfomance monitor to monitor latency to the remote cluster:
VPlexcli:/> monitor create --name remote-cluster --stats "com-cluster-io.*" --director
director-1-1-A --targets "/clusters/cluster-2"
Adding/deleting monitor sinks
Every monitor must have at least one sink, and may have multiple sinks. There are two types of sink:
About this task
console - Sends output to metro node management server console.
file - Sends output to the specified file.
Adding a console sink
Use the monitor add-console-sink command to add a console sink to an existing monitor.
About this task
Console monitors display the selected statistics on the metro node Management Console, interrupting any other input/output
to/from the console. Refer to Enabling/disabling sinks for the command to disable a console sink.
The default format for console sinks is table.
To add a console sink with output formatted as table (the default output format):
VPlexcli:/> monitor add-console-sink --monitor Director-2-1-B_TestMonitorNavigate to the
monitor context and use the ll console command to display the sink:
VPlexcli:/> cd monitoring/directors/director-2-1-B/monitors/director-2-1-B_TestMonitor/
sinks
VPlexcli:/monitoring/directors/Director-2-1-B/monitors/Director-2-1-B_TestMonitor/sinks>
ll
Name Enabled Format Sink-To
------- ------- ------ -------
console true table console
VPlexcli:/monitoring/directors/Director-2-1-B/monitors/Director-2-1-B_TestMonitor/sinks>
ll console
/monitoring/directors/Director-2-1-B/monitors/Director-2-1-B_TestMonitor/sinks/console:
Name Value
------- -------
enabled true
format table
sink-to console
type console
Adding a file sink
Use the monitor add-file-sink command to add a file sink to an existing monitor.
About this task
The default format for file sinks is csv (comma-separated values).
The default name of the new sink is file.
The default location for the sink output is /var/log/VPlex/cli.
86
Performance and Monitoring