| Version 6 (modified by jsoriano@…, 3 years ago) (diff) |
|---|
Objective: create downloadable PDF reports
This feature would be accessible through the Control Center.
The report will contain information for all the supported modules installed in the Zentyal servers. The user will choose the time period of the report (the granularity is of one month). The report will include information belonging to one group of Zentyal servers, with separate information for each Zentyal.
The report will initially contain only historical data.
Architecture
Each Zentyal module has a method report() that will return the required data. The data origin will be the logs, the RRDs and other sources.
The Zentyal servers are in charge of keeping the data as long as it's required. The CC will ask the Zentyal servers for the data when the report needs to be done. The main reason for this is to minimize traffic between the Zentyal servers and the CC and disk space usage in the CC.
The CC queries the machines through a web service, passing the Zentyal some options that let the CC tweak the results it gets from a given box (for example, number of domains in a result, or domains that shouldn't be included in a given result).
In the CC the data is received and a report is generated, which is stored in the shared storage and can be consulted from the CC.
Report contents
- the graphs and tabular data for the modules and the time period selected.
Contents by module
firewall
- monthly dropped packets graph
- tops:
- sources of dropped packages
- monthly sent mail graph
- monthly received mail graph
- monthly rejected mail graph (not too interesting I think)
- tops:
- top domains mail is sent to
- top domains mail is received from
mailfilter
- monthly smtp filter graph, including accepted and filtered messages
- monthly pop filter graph, including accepted and filtered messages
squid
- monthly web traffic graph (accepted bytes)
- tops:
- visited domains
- blocked domains
- source ips
- blocked source ips
- users
- blocked users
- domains by user
PDF creation
The PDF is created using ReportLab