CLI Guide

Table Of Contents
monitor add-console-sink
Adds a console sink to the specified performance monitor.
Contexts
All contexts.
In context, command is add-console-sink.
Syntax
monitor add-console-sink
[-o|--format] {csv|table}
[-m|--monitor] monitor-name
[--force]
Arguments
Required arguments
[-m|--monitor] context-path * Performance monitor to which to add a console sink.
Optional arguments
[-f|--force]
Forces the creation of the sink, even if existing monitors are delayed in their polling.
[-o|--format] {csv|table}
The output format. Can be csv (comma-separated values) or table.
Default: table.
* -argument is positional.
Description
Creates a console sink for the specified performance monitor. Console sinks send output to the management server console.
Every monitor must have at least one sink, and may have multiple sinks. A monitor does not begin operation (polling and
collecting performance data) until a sink is added to the monitor.
Use the monitor add-console-sink command to add a console sink to an existing monitor.
CAUTION:
Console monitors display the specified statistics on Unisphere for metro node, interrupting any other
input/output to/from the console.
Example
Add a console sink with output formatted as table (the default output format for console sinks):
VPlexcli:/> monitor add-console-sink --monitor Director-2-1-B_TestMonitor
Navigate to the monitor context and use the ll console command to display the sink settings:
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
Commands
241