Skip to main content

HCP Chargeback Collection utility

Project description

This tool collects chargeback reports from Hitachi Content Platform systems.

Chargeback reports are a good source of information for system analysis, enabling you to adjust storage and bandwidth allocations based on usage patterns. These reports can also serve as input to billing systems that need to determine charges for capacity and bandwidth usage at the tenant or namespace level.

Features

  • Stores chargeback reports on local disk and/or to an HCP Namespace (with retention added, if required).

  • Builds up a report repository over an HCPs lifetime, if run regularly.

  • Remembers the last collection time per Tenant, so that subsequent runs will collect newer reports, only.

  • Exposes charts (as Excel files), comparing Tenants for entire HCP systems and Namespaces within Tenants

  • Highly configurable through a config file.

Dependencies

You need to have at least Python 3.5 installed to run hcplogs.

It depends on the hcpsdk to access HCP and XlsxWriter for chart generation.

Documentation

To be found at readthedocs.org

Installation

Install hcpcbc by running:

$ pip install hcpcbc

-or-

get the source from gitlab.com, unzip and run:

$ python setup.py install

-or-

Fork at gitlab.com

Contribute

Support

If you’ve found any bugs, please let me know via the Issue Tracker; if you have comments or suggestions, send an email to mailto:sw@snomis.de

License

The MIT License (MIT)

Copyright (c) 2012-2016 Thorsten Simons (sw@snomis.de)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hcpcbc-2.1.4.tar.gz (21.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page