How to prevent the display of default self-health dashboards in vRealize Operations Manager 6.x and later
search cancel

How to prevent the display of default self-health dashboards in vRealize Operations Manager 6.x and later

book

Article ID: 343467

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This article provides steps for preventing the display of the default self-health dashboards in vRealize Operations Manager 6.x.

Environment

VMware vRealize Operations Manager 6.4.x
VMware vRealize Operations Manager 6.3.x
VMware vRealize Operations Manager 6.6.x
VMware vRealize Operations Manager 6.2.x
VMware vRealize Operations Manager 6.7.x
VMware vRealize Operations Manager 6.5.x
VMware vRealize Operations Manager 7.0.x
VMware vRealize Operations Manager 6.0.x
VMware vRealize Operations Manager 6.1.x

Resolution

To prevent the display of default dashboards in VMware vRealize Operations Manager 6.x:

vRealize Operations Manager 6.0.x and 6.2.x

  1. Log into the master node as root via SSH or console.
  2. Run this command to move the /usr/lib/vmware-vcops/tomcat-web-app/webapps/vcops-web-ent/dashboards/ootb/All.json file to an alternate location to prevent the creation of the default dashboards for new users:

    mv /usr/lib/vmware-vcops/tomcat-web-app/webapps/vcops-web-ent/dashboards/ootb/All.json /tmp/All.json.$(date +%F)

    Note: In vRealize Operations Manager version 6.1 - 6.2.1, you must run this command on all nodes in the cluster.
     
  3. Run these commands to remove the default dashboards from existing users:

    /usr/lib/vmware-vcops/tools/opscli/ops-cli.sh dashboard delete all "Recommendations"
    /usr/lib/vmware-vcops/tools/opscli/ops-cli.sh dashboard delete all "Diagnose"
    /usr/lib/vmware-vcops/tools/opscli/ops-cli.sh dashboard delete all "Self Health"


    Note: You can skip running above commands if you want default dashboards to be retained for existing users. Also, all can be replaced with individual users names to remove the dashboards from selected users. If the above commands do not work for removing the dashboards from the users already added to vRealize Operation Manager, then you must remove, and re-add, or re-import the users.
     

vRealize Operations Manager 6.3 - 6.5

  1. Log into the master node as root via SSH or console.
  2. Run this command to move the /usr/lib/vmware-vcops/tomcat-web-app/webapps/vcops-web-ent/dashboards/ootb/All/All.json file to an alternate location to prevent the creation of the default dashboards for new users:

    mv /usr/lib/vmware-vcops/tomcat-web-app/webapps/vcops-web-ent/dashboards/ootb/All/All.json /tmp/All.json.$(date +%F)
     
  3. Change to the/usr/lib/vmware-vcops/tools/opscli/ directory and run these commands to remove the default dashboards from existing users:
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Recommendations"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Diagnose"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Self Health"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Home"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Classic Dashboard"
 
Note: You can skip running above commands if you want default dashboards to be retained for existing users. Also, all can be replaced with individual users names to remove the dashboards from selected users. If the above commands do not work for removing the dashboards from the users already added to vRealize Operation Manager, then you will need to remove, and re-add, or re-import the users.
 

vRealize Operations Manager 6.6 - 6.7

  1. Log into the master node as root via SSH or console.
  2. Run this command to move the /usr/lib/vmware-vcops/tomcat-web-app/webapps/vcops-web-ent/dashboards/ootb/All/All.json file to an alternate location to prevent the creation of the default dashboards for new users:

    mv /usr/lib/vmware-vcops/tomcat-web-app/webapps/vcops-web-ent/dashboards/ootb/All/All.json /tmp/All.json.$(date +%F)
     
  3. Run this command to move the /usr/lib/vmware-vcops/tomcat-web-app/webapps/ui/dashboards/ootb/SelfServices/SelfServices.json file to an alternate location to prevent the creation of the Self-Service default dashboards for new users:
mv /usr/lib/vmware-vcops/tomcat-web-app/webapps/ui/dashboards/ootb/SelfServices/SelfServices.json /tmp/SelfServices.json.$(date +%F)
  1. Change to the/usr/lib/vmware-vcops/tools/opscli/ directory and run these commands to remove the default dashboards from existing users:

$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Recommendations"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Diagnose"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Self Health"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Classic Dashboard"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Self Cluster Statistics"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Self Services Summary"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Self Performance Details"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Self Services Communications"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "vCenter Adapter Details"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Self Troubleshooting"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "MP Statistics (per Object)"

 

Note: You can skip running above commands if you want default dashboards to be retained for existing users. Also, all can be replaced with individual users names to remove the dashboards from selected users. If the above commands do not work for removing the dashboards from the users already added to vRealize Operation Manager, then you will need to remove, and re-add, or re-import the users.
 

vRealize Operations Manager 7.0 and Later

In vRealize Operations Manager 7.0 and later, the default dashboards are no longer created for each new user.  Instead they exist for the local admin user and can be shared out to groups from there.
For vRealize Operations Manager environments that were upgraded to 7.0 or later with existing users, the dashboards can be removed by running the following:
  1. Log into the master node as root via SSH or console.
  2. Change to the/usr/lib/vmware-vcops/tools/opscli/ directory and run these commands to remove the default dashboards from existing users:
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Recommendations"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Diagnose"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Self Health"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Classic Dashboard"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Self Cluster Statistics"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Self Services Summary"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Self Performance Details"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Self Services Communications"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "vCenter Adapter Details"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "Self Troubleshooting"
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard delete all "MP Statistics (per Object)"

Note: You can skip running above commands if you want default dashboards to be retained for existing users. Also, all can be replaced with individual users names to remove the dashboards from selected users. If the above commands do not work for removing the dashboards from the users already added to vRealize Operation Manager, then you will need to remove, and re-add, or re-import the users.


Additional Information

For more information see, How to hide your default dashboards.

Alternatively, you can hide the dashboards using these commands:

cd /usr/lib/vmware-vcops/tools/opscli/
$VMWARE_PYTHON_BIN ./ops-cli.py dashboard hide all "name"

Note: Replace name with the dashboard name found in the Resolution section.
 
如何防止在 vRealize Operations Manager 6.x 中显示默认仪表板