Administrator Guide

Table Of Contents
To add a file sink to send output to the specified .csv file:
VPlexcli:/monitoring/directors/director-1-1-A/monitors> monitor add-file-sink --monitor
director-1-1-A_stats --file /var/log/VPlex/cli/director_1_1_A.csv
Navigate to the monitor sinks context and use the ll sink-name command to display the sink:
VPlexcli:/> cd monitoring/directors/director-1-1-A/monitors/director-1-1-A_stats/sinks
VPlexcli:/monitoring/directors/Director-1-1-A/monitors/director-1-1-A_stats/sinks> ll
file
/monitoring/directors/Director-1-1-A/monitors/director-1-1-A_stats/sinks/file:
Name Value
------- -------------------------------
enabled true
format csv
sink-to /var/log/VPlex/cli/director_1_1_A.csv
type file
Deleting a monitor sink
Use the monitor remove-sink command to remove a sink from a monitor:
About this task
VPlexcli:/monitoring/directors/director-2-1-B/monitors/director-2-1-B_TestMonitor>
monitor remove-sink console
Deleting a monitor
Use the monitor destroy monitor command to delete a specified monitor.
About this task
For example:
VPlexcli:/monitoring/directors/director-1-1-B/monitors> monitor destroy director-1-1-
B_TestMonitor
WARNING: The following items will be destroyed:
Context
------------------------------------------------------------------------
/monitoring/directors/director-1-1-B/monitors/director-1-1-B_TestMonitor
Do you wish to proceed? (Yes/No) y
Create an SNMP monitor
SNMP sinks can be added only to monitors configured to collect fe-lu or disk statistics.
All the statistics in the fe-lu statistics category must be included in the monitor.
In the following example:
The monitor stat-list fe-lu command displays all the statistics in the fe-lu category
The monitor create command creates a monitor to collect all fe-lu statistics
The cd command changes the context to the new monitor
The add-snmp-sink command adds an SNMP sink to the monitor
VPlexcli:/monitoring/directors/director-1-1-B/monitors> monitor stat-list fe-lu
Name Target Type Units
--------------- -------------- ------- --------
fe-lu.ops virtual-volume counter counts/s
fe-lu.read virtual-volume counter KB/s
fe-lu.read-lat virtual-volume bucket us
fe-lu.write virtual-volume counter KB/s
fe-lu.write-lat virtual-volume bucket us
VPlexcli:/monitoring/directors/director-1-1-B/monitors> monitor create --name
Performance and Monitoring
87