Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell EMC Metro node 7.0.1 Administrator Guide

Checking the script status

Steps

  1. Check the status of the script to see if it is running.
    VPlexcli:/> port-monitor status
        Status: running with the following parameters:
                Emails: joe@dell.com
                SMTP: x.x.x.x
                Local-only: False
    
  2. To ensure the script restarts on the chance there is a reboot or restart of the management server, you can add persistence by adding the command that is used to start the script back in Starting the script to the VPlexcli-init file under the /var/log/VPlex/cli directory as shown in this step. Use the vi editor, and add the script start command line to end of /var/log/VPlex/cli/VPlexcli-init file.
    Sample output:
    service@ManagementServer:/var/log/VPlex/cli> vim VPlexcli-init
             #-------------------------------------------------------------------------------
        #- (C) 2007-2010 EMC Corporation. All rights reserved.
        #-
        #- This CLI initialization script is executed if it's located in any of the
        #- following locations:
        #- (CLI terminates the search on first success.)
        #- if the --init-file option is specified on the command line then use that file
        #- else search for the file "VPlexcli-init" in the following order:
        #-   a.  CLI directory (specified with the --cli-directory option)
        #-   b.  current dir (of the shell that started CLI)
        #-   c.  user.dir (usually equivalent to the current dir)
        #-   d.  user.home
        #-   e.  classpath
        #- This script is processed as if it had been sourced using the 'source' command
        #-------------------------------------------------------------------------------
        .
        .
        ll /monitoring/directors/*/monitors/
        #
        #
             <new entry added below at the end of VPlex-init file, 
         script -i port_stats_monitor
         port-monitor start –smtp <mail server ip address> -e <email>,<email>,...>
    

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\