vROPS 6 – How to hide all default dashboards from all Users and Groups

By default all users that login to vROPS for the first time see the default dashboards (Recommendations, Self-Health, Diagnose, and Workload Utilization). This can become quite annoying as not all groups of users need to see these dashboards as this may raise up more questions than answers or may decrease the users experience if you are trying to lockdown users to see only specific dashboards. This is a follow up to my other post on how to lockdown users to see only specific dashboards. http://www.vmignite.com/2016/02/vrops-6-how-to-lockdown-user-groups-to-see-only-specific-dashboards-only/

Step 1: Enable SSH on vROPS so we can use Putty to connect to vROPS

  1. First we need to enable SSH on vROPs. Console into the the vROPS server and hit Alt + F1 to get to the console screen
  2. Login as root and hit enter
  3. The initial password is not set yet so just hit enter twice and it will prompt you for a new password
  4. To start SSH Type in service sshd start
  5. Now open up Putty and login to your vROPS server
  6. Login as Root and the password we created earlier

Step 2: To remove all default dashboards (Recommendations, Diagnose, Self Health) for all new users logging in for the first time

  1. Once logged into Putty, type in mv /usr/lib/vmware-vcops/tomcat-web-app/webapps/vcops-web-ent/dashboards/ootb/All.json /root/All.json.$(date +%F)

  2. All users logging into vROPS will not see any of the default dashboards, however existing users will still be able to see it. Go to step 3 below to hide them from all existing users.

Step 3. To hide the default dashboards from all existing users.

    1. Change the path by typing in cd /usr/lib/vmware-vcops/tools/opscli
    2. Type in the following to hide them from all users

        ./ops-cli.sh dashboard hide all “Recommendations”

        ./ops-cli.sh dashboard hide all “Diagnose”

        ./ops-cli.sh dashboard hide all “Self Health”

./ops-cli.sh dashboard hide all “Workload Utilization”

  • All existing users will no longer see the default dashboards

  • Next steps would be to lockdown users groups to see only specific dashboards http://www.vmignite.com/2016/02/vrops-6-how-to-lockdown-user-groups-to-see-only-specific-dashboards-only/
  • twitterpinterestlinkedinmail