Skip to main content

Multi-Client Reporting Utility for OpsRamp

Purpose

This is a utility intended for use by OpsRamp customers needing to batch-generate some useful reports across all tenants in their partner instance.

First time execution

The first time it is run, it will look to see if the default environment config directory exists, and if it's not there it will create it.

After that, you can either update the environments.yml file in the environment config directory with your partner-level OpsRamp API credentials, or you can specify API credentials on the command line.

Available Reports

The following reports are currently available. Each report generates a separate report file for each tenant unless ptherwise specified:

Server Utilization Comparison

This report contains a page for each Windows or Linux server in the environment, with time-series graphs for the speficied period for CPU Utilization, File System Utilization, and Memory Utilization. A table at the bottom of each page shows min, max, and average for the current period and increase/decrease trend from the baseline period.

Network Utilization

This is a fairly standard Top N report for Cisco device CPU Utilization, Memory Utilization, and Interface Utilization, Errors, etc. It shows a time series only for the Top N items, followed by a detail report of all items sorted from highest to lowest.

Patch Management

Summary of patches installed in the reporting period in pdf format

Remote Control Usage

Histogram and detailed list of remote control console sessions that occurred in the reporting period.

Hardware Inventory

This provides a list of resources in either excel (default) or pdf format

Software Inventory

This provides a list of installed applications and services for each device in pdf format

Command line help:

usage: opreport [-h] [--env ENV] [--envfile ENVFILE] [--api_url API_URL] [--key KEY] [--secret SECRET] [--tenant TENANT] [--start START] [--end END]
                [--outdir OUTDIR] [--logo LOGO] [--secure SECURE] [--tenant_criteria TENANT_CRITERIA]
                {uc,nu,pm,rcu,hi,si} ...

Multi-Client Reporting Utility for OpsRamp

positional arguments:
{uc,nu,pm,rcu,hi}     Available commands
    uc                  Generate Server Utilization Comparison Reports
    nu                  Generate Network Utilization Reports
    pm                  Generate Patch Management Reports
    rcu                 Generate Remote Control Usage Reports
    hi                  Generate Hardware Inventory Reports
    si                  Generate Software Inventory Reports

optional arguments:
-h, --help            show this help message and exit
--start START         Start date of reporting period in YYYY-MM-DD format (default=1st of prior month)
--end END             End date of reporting period in YYYY-MM-DD format (default=Last day of prior month)
--outdir OUTDIR       Directory where report output will be written (Default: ./output)
--logo LOGO           Logo image file for report headers (Default: <config_dir>/logo.jpeg)
--secure SECURE       Whether or not to verify SSL cert (Default: True)
--tenant_criteria TENANT_CRITERIA
                        Search criteria for which tenants to include as per https://develop.opsramp.com/tenancy-access-controls/tenants-orgid-
                        clients-search (Default: "activeStatus:true", which will include all active tenants)

Use yaml environment file credentials:
--env ENV             Name of environment to use, referencing a named set of API credentials in environments.yml
--envfile ENVFILE     Location of environments YAML file to be used (Default: <config_dir>/environments.yml)

Use command line credentials:
--api_url API_URL     Customer-specific API URL such as https://mycompany.api.opsramp.com
--key KEY             Authentication key
--secret SECRET       Authentication secret
--tenant TENANT       Authentication MSP or Tenant ID

Metadata

Release files for opreport 0.3.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opreport 0.3.11
File Size Uploaded Provenance Actions
opreport-0.3.11.tar.gz 5.5 MB Without provenance Details for opreport-0.3.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for opreport 0.3.11
File Interpreter ABI Platform Actions
opreport-0.3.11-py3-none-any.whl Python 3 none any Details for opreport-0.3.11-py3-none-any.whl

Total release size: 10.9 MB

Release files / opreport-0.3.11.tar.gz

Download URL opreport-0.3.11.tar.gz
Size 5.5 MB
Tags Source
SHA-256 checksum
How to use checksums
5af57d517804d90d413ad2a51945c853c46838ffd53bd6303fee741322ef39ba
BLAKE2b-256 checksum
How to use checksums
384d9ccf7f5a79473e3ed0e60d0a9c7b011111376b821e97dc0b453ae9fa51e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.9 Darwin/20.6.0

Release files / opreport-0.3.11-py3-none-any.whl

Download URL opreport-0.3.11-py3-none-any.whl
Size 5.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
006fdbad2e3fd044d7938b34f3cad13dd224d3722169e5f40b31703030faa138
BLAKE2b-256 checksum
How to use checksums
1c50d0ae46242f595db4025822203318e4f47d577f225aa2b040b59b85ee2f5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.9 Darwin/20.6.0

Security for opreport 0.3.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.11 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page