mumrpt.py—A Python script to collect and aggregate reports from multiple Usage Meters

mumrpt.py—A Python script to collect and aggregate reports from multiple Usage Meters

This script connects to multiple 3.0 and newer Usage Meters (at the same time) and fetches reports from them using the API. Then it aggregates the reports into one report.

While we don’t support this script, we do welcome your feedback and suggestions.

python3 mumrpt.py -h

usage: mumrpt.py [-h] [-o OUTPUTFILE] [-v] [--fromdate FROMDATE]
                 [--todate TODATE] [--devum]
                 umsfile reportnum
positional arguments:
  umsfile               a file containing, on each line, separated by
                        whitespace, a Usage Meter IP address or hostname and
                        an API token
  reportnum             the number of the report to produce. 3: Customer
                        Summary Report, 4: License Summary Report
optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUTFILE, --outputfile OUTPUTFILE
                        the name of the file in which to store the report
  -v, --verbose
  --fromdate FROMDATE   the year, month, day and hour of the beginning of the
                        time range for which to report, as a ten-digit number.
                        This defaults to the beginning of the previous month.
Attachments
Version history
Revision #:
1 of 1
Last update:
‎02-22-2013 04:15 PM
Updated by: