Users can create a report from the command line by using the report URL by using curl to generate the report directly from the FMS
$ curl -u [username]:[password] http://fms-hostname:8080/console/pdf/[viewid] > example.pdf
Curl is available for Linux/Unix and also a Windows port of the binary is available.
The parameters work the same way as the Export Component which is (mildly) documented in the Foglight help section on the Export Component User Guide
For example, the following is an easy test on an out of the box foglight server to generate the 'All hosts' report:
The report reference can be determined from the report definition reference id
The process is similar for "csv" and "excel" output.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center