Export of statistics on number of processed messages. Export is performed:
•on shutdown; •after a period of time specified in the SendPeriod parameter value. If statistics is empty (no messages were processed), nothing is exported.
Names of the table and fields in the database can be arbitrary but they must be of the same type as exported data. Fields in the query must be ordered like in the database.
It is not necessary to use all available values in the query.
List of values that can be used in the query:
•:size<int> - total size of scanned messages in bytes; •:num<int> - total number of scanned messages; •:q_num<int> - total number of messages saved in Quarantine; •:r_num<int> - total number of redirected messages; •:n_num<int> - total number of messages for which notifications were sent; •:pass_num<int> - total number of passed messages; •:reject_num<int> - total number of rejected messages; •:discard_num<int> - total number of discarded messages; •:tempfail_num<int> - total number of temporarily failed messages; •:date<timestamp> - mail database timestamp; •:q_size<int> - total size of messages saved in Quarantine; •:r_size<int> - total size of redirected messages; •:n_size<int> - total size of messages for which notifications were sent; •:pass_size<int> - total size of passed messages; •:reject_size<int> - total size of rejected messages; •:discard_size<int> - total size of discarded messages; •:tempfail_size<int> - total size of temporarily failed messages; •:work_time<int> - plug-in operation time, in milliseconds (ms). Example:
ExportStatStorage = "odbc:insert into g_stat values(:size<int>, :num<int>, :q_num<int>, :r_num<int>, :n_num<int>, :pass_num<int>, :reject_num<int>, :discard_num<int>, :tempfail_num<int>, :date<timestamp>)"
|