cncopreporter - submit reports to cncop network#

_images/cncopreporter.png

Overview#

The reporting system employs a store and forward model of report submission. It collects all reports in a central location to ensure that important information was not lost in transit during periods when the network might not be available due to ISP or Utility outages.

Reports are read from the Spool/Messages folder in a prearranged order, and then submitted to the cncop network based on their filename prefix.

Order of submissions#

Order

Prefix

Description

Submission method

1

JE-

Job exception

CncOp.Web.submit_jobresults

2

JS-

Job statistics

CncOp.Web.submit_jobresults

3

JF-

Job finished report

CncOp.Web.submit_jobresults

4

VIRUS-

Virus detection alerts

CncOp.Web.submit_virus_alerts

Note

To prevent the accumulation of invalid or partially created reports, cncopreporter will attempt to resubmit reports refused by the cncop network for up to five(5) days, after which it will expire (delete) them.

Command line options#

usage: cncopreporter  [-?] [-d] [-c CONFIG]

Optional argument:#

?, -h, --help#

Display help and exit

-d, --debug#

Generate diagnostic logging. The output is directed to the Spool/Logs folder and can be viewed using the cncop watcher scripts.

-c CONFIG, --config CONFIG#

Alternate configuration file.