To prevent the display of default dashboards in VMware vRealize Operations Manager 6.x:
vRealize Operations Manager 6.0.x and 6.2.x
- Log into the master node as root via SSH or console.
- 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.
- 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
- Log into the master node as root via SSH or console.
- 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)
- 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
- Log into the master node as root via SSH or console.
- 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)
- 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)
- 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:
- Log into the master node as root via SSH or console.
- 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.