noc.lib.app.reportdatasources.report_metrics

Module Contents

class noc.lib.app.reportdatasources.report_metrics.ReportMetrics(mos_ids, f_date, to_date, columns=None)

Bases: noc.lib.app.reportdatasources.base.BaseReportColumn

CHUNK_SIZE = 4000
TABLE_NAME
SELECT_QUERY_MAP
CUSTOM_FILTER
KEY_FIELDS
static get_mo_filter(ids, use_dictionary=False)
get_custom_conditions(self)
get_query_ch(self, from_date, to_date)
do_query(self)
extract(self)
class noc.lib.app.reportdatasources.report_metrics.ReportInterfaceMetrics

Bases: noc.lib.app.reportdatasources.report_metrics.ReportMetrics

TABLE_NAME = noc.interface
SELECT_QUERY_MAP
KEY_FIELDS = ['managed_object', 'path']
class noc.lib.app.reportdatasources.report_metrics.ReportCPUMetrics

Bases: noc.lib.app.reportdatasources.report_metrics.ReportMetrics

TABLE_NAME = noc.cpu
SELECT_QUERY_MAP
KEY_FIELDS = ['managed_object', 'path']
class noc.lib.app.reportdatasources.report_metrics.ReportMemoryMetrics

Bases: noc.lib.app.reportdatasources.report_metrics.ReportMetrics

TABLE_NAME = noc.memory
SELECT_QUERY_MAP
KEY_FIELDS = ['managed_object', 'path']
class noc.lib.app.reportdatasources.report_metrics.ReportPingMetrics

Bases: noc.lib.app.reportdatasources.report_metrics.ReportMetrics

TABLE_NAME = noc.ping
SELECT_QUERY_MAP
KEY_FIELDS = ['managed_object']