- Restoring the default dashboards:
Problem: After installing the vRA Mangement Pack, the default dashboards were not shown up and for this we figured out that post_install of Management Pack didn't run. To resolve this we manually imported the dashboards
Resolution:
The below is an example for restoring the vRA default dashboards on vROPs
- Locate the dashboard file location: /usr/lib/vmware-vcops/user/plugins/inbound/vCACAdapter3/conf/dashboards/Dashboards.json
- Execute the import command by passing the dashboard json file on vROps node:
vrops-mstrn-01:/usr/lib/vmware-vcops/tools/opscli # ./ops-cli.sh dashboard import all /usr/lib/vmware-vcops/user/plugins/inbound/vCACAdapter3/conf/dashboards/Dashboards.json
Starting vRealize Operations CLI
2016-10-20 10:15:30,116 Starting command Command: dashboard:import
2016-10-20 10:15:30,404 Connecting to server
2016-10-20 10:15:37,491 Try to login with maintenanceAdmin
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2016-10-20 10:15:38,561 Successfully logged in.
2016-10-20 10:15:38,561 Successfully connected to server
2016-10-20 10:15:43,810 Successfully imported dashboard /usr/lib/vmware-vcops/user/plugins/inbound/vCACAdapter3/conf/dashboards/Dashboards.json for user [all]. The configuration transformation will be scheduled in background.
2016-10-20 10:15:43,811 Triggered Command: dashboard:import vrops-mstrn-01:/usr/lib/vmware-vcops/tools/opscli #
After this log-in back into the vROps UI and you can notice that all default dashboards are back.
Will update this blog with more problems and resoultions.