cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there a way to run a DMI report via script

burksr
Newcomer

I would like to execute a DMI report which is sent to an emial group automatically when an alarm threshold is reached. My initial thought is to use a script to run the report, if possible.

1 REPLY 1

There is an unofficial way you can request PDF of a report via URL, here is a example:

https://$YOUR_SERVER_NAME/LSSaveAs?format=pdf&lsEntryName=Operation%20explorer&dmiAction=Generate&formatDiscover=direct&uid=$UID

where lsEntryName has the name of the report you request, and $UID is the UID generated from the command console for the user that should have access to this report. I would recommend to create a user with a guest access rights, and limited access to only a few reports. Make sure you will url-encode report name.