The view snapshot tool allows a user to view a snapshot report which has been generated by running a report either as a scheduled job, or as a Snapshot saved from within the Report Designer. The syntax of this tool is as defined below. The tool takes a URL request and displays the report results in a browser window.
To run a report snapshot via your web browser, the URL must be formatted as follows:
url = ( 'http://' | 'https://' ) machine_name [ ':' port_number ] '/infospc/jsp/netcool/tools/viewsnapshot.jsp' url_parameters ;
Where,
• machine_name = qualified_hostname | unqualified_hostname ;
• url_parameters = '?' required_parameters [ optional_parameters ];
• required_parameters = 'snap=' report_name ;
• optional_parameters = [ '&owner=' report_owner ] [ '&folder=' report_folder ] [ login_credentials ] ;
• login_credentials = '&usr=' username '&pwd=' password ;
1. If the report snapshot generated is called MSSQL_Events_by_Node.html, the snapshot is stored in a folder called Reports , and there is an existing Reporter session:
http://example/infospc/jsp/netcool/tools/viewsnapshot.jsp?snap=MSSQL_Events_by_Node.html&folder=Reports
2. If the report snapshot generated is called MSSQL_Events_by_Node.html, the snapshot is stored in the default folder of Inbox, and no Reporter session exists:
http://example/infospc/jsp/netcool/tools/viewsnapshot.jsp?snap=MSSQL_Events_by_Node.html&usr=netcool&pwd=netcool
Design Note
If the folder is not specified, then the tool will look for the report snapshot with the Inbox folder by default.
3. If the report snapshot generated is called MSSQL_Events_by_Node.html, the snapshot is stored in a folder called Snapshots, the report is owned by the user netcool, and the user credentials which are being used to log in to Reporter are username reporter and password is reporter, then the URL would be as follows:
http://example/infospc/jsp/netcool/tools/viewsnapshot.jsp?snap=MSSQL_Events_by_Node.html&folder=Snapshots&usr=reporter&pwd=reporter&owner=netcool
The following list provides additional information for the tool.
1. This tool is platform independent and will work the same way for all supported platforms.
2. The Reporter server must be running for this tool to correctly function.
3. If the URL does not contain a valid snapshot file name, then an error is generated.
4. If the folder name is provided, then the report specified in the snapshot parameter must reside within that directory. This is useful if there is more than one snapshot report which has the same filename.