- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Download numerous session logs from jobs in NetMRI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2022 07:15 AM
I have a couple thousand session logs I need to pull from jobs in NetMRI. Is there a way to do this via API or SCP? It is quite cumbersome and inefficient to use the UI.
Solved! Go to Solution.
Re: Download numerous session logs from jobs in NetMRI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2022 07:30 AM
Btw, we do not have a support contract, so calling support is unavailable to us.
Re: Download numerous session logs from jobs in NetMRI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2022 12:21 PM
It is possible using REST API using the below example.
<netmri-ip>/api/3.7/job_details/device_files?id=<job-id-here>&deviceid=<dev-id-here>&file=<filename-here>
If you have multiple jobs to download files from, you can probably utilize a script and loop through the device IDs to get the file.
Re: Download numerous session logs from jobs in NetMRI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 07:13 AM
Thanks for the suggestion. I will try that in the future. I ended up creating a wiki page with all the URL's for the reports and using the Chrome extension Tab Save to download them all at once. It still required some manual steps to save the files, but it was much faster and easier than downloading them from the NetMRI UI.