Skip to main content
Skip table of contents

Quota usage

The NPVR Quota Usage report lists an entry for each NPVR-enabled account on the system, detailing how much of their allocated NPVR quota users have used over a specific period. The reporting period is end-user selectable.

Availability

This report is available where all of the following module versions (or later) are present:

  • LKR: 2.8.4
  • UAV: 1.1.6 (provides userUID support for authorisation checks at the API level)
  • CDG: 1.1.12 (requires full metadata transfer from CDG to UAV)

Report columns

Field
Summary
account numberThe SDP account number.
statusThe account's NPVR status.
npvr profileThe NPVR profile.
aliasThe alias for the profile.
quota totalThe total hours allocated to the account for NPVR recording.
quota total unitsThe quota storage units.
quota usageThe amount of quota actually used.
quota usage unitsThe quota usage units.

Input parameters for report generation

Parameter
Type
Description
Lower date threshold of report periodDateTimeStart Date for the report, including the specified value.
Upper threshold of report periodDateTimeEnd Date for the report, including the specified value.

Data extraction files

The data extraction files can be found in the "/opt/npvrlocker/reporting/bsm/etl" directory. The following file is used for this report:

Extraction file
Summary
Notes
Query
npvr-account-sdp.ktrTransforms data from the UAV cassandra database to the reporting Mongo database to support activity type reports directly in BSM.

This extract will retrieve all NPVR-related account attributes for each account in the selected SDP into the local mongo collection: "npvr-account-sdp".

CODE
SELECT SP.SPID_NAME SERVICE_PROVIDER, ACC.ACC_NUM, NPVR_PROFILE, decode(ACC.ACC_STATUS, 'I', 'Inactive', 'A', 'Active', 'S', 'Suspended', 'C', 'Cancelled', 'R', 'Restricted') STATUS, VIS.ALIAS, VIS.VALUE as VALUE FROM COR_ACCOUNT ACC INNER JOIN COR_SERVICE_PROVIDER SP on SP.SPID_UID = ACC.ACC_SPID INNER JOIN COR_VIS_GRP_V VIS on ACC.NPVR_PROFILE = VIS.GRP WHERE VIS.NAME = 'MAX_REC_QUOTA_HRS'





BIRT designer template file

File name
Summary
Reports collection
Query
STBPlayoutReport.rptdesignSTB Playout Reportsnpvr-account-sdp

{ "collectionName" : "npvr-account-sdp" }

Sample report

The following image shows an example NPVR quota usage report:



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.