Is it possible to export only the custom dashboard without the module structure?
To export a dashboard, the default export will include all the structure of the module such as:
"fglcmd -usr foglight -pwd foglight port 8080 -cmd util:uiexport -m user:foglight -f C:\temp\userfoglight.zip
NOTE: If the dashboard objects were created using drag-drop methods rather than using them as an input, then on the new FMS the dashboard won’t work - as the unique ID of the topology objects will be different.
Dashboards are imported and exported at the module level. There are user modules that store customized views created by a user and remembers the last state of each view. There are also system modules that are designed to be shared by multiple users and support localization.
If the dashboard is a WCF (web console framework) designed dashboard perform the following:
1) Click on the dashboard
2) Click on the Action pane on the right web console margin
3) Select the Design tab
4) Scroll-down to obtain the reference ID.
5) Use this reference ID for the module to export (minus the .# extension).
ie. system:foglight_hosts
NOTE: One can also click the Inspect button to view more details about the selected dashboard.
If the dashboard is a drag-drop type of dashboard, then you can only export the Reference ID of the user who created the dashboard.
See KB120159 "Export custom report or drag-drop dashboard.
To export a customized dashboard:
$FMS_HOME\bin>fglcmd.(sh or .bat) -usr foglight -pwd foglight -port 8080 -cmd util:uiexport -m system:New_MODULE_NAME -f C:\module_name.zip
ie. $FMS_HOME\bin>fglcmd.(sh or .bat) -usr foglight -pwd foglight -port 8080 -cmd util:uiexport -m system:foglight_hosts -f C:\foglight_hosts.zip
Once successful, a zipped folder module_name.zip in will be found in the destination folder.
To import a customized dashboard, do as below:
(Place the zipped file on the target FMS server directory before import)
$FMS_HOME\bin>fglcmd.(sh or bat) -usr foglight -pwd foglight -port 8080 -cmd util:uiimport -f C:\module_name.zip
Please note: This export/import works as long as the FMS versions are of same.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center