To load the existing object queues: - Stop Traffic Monitor Server processes:
OS:root> service iwtm stop - Disable autorun of iw_proxy, iw_smtpd, iw_expressd and iw_icap processes in configuration file of every process:
"Startup" : {"Enabled" : false} - Start Traffic Monitor processes:
service iwtm start - Wait until all the objects in the file queue are processedicap, smtp, expressd, sniffer, xapi services;
- Transfer objects from error queue to the necessart queue;
- Wait, until all objects of file queue are processed;
Start icap, smtp, expressd, sniffer, xapi services.
| Информация |
|---|
| Upon process completion, make sure that the interceptors are running and autorun is enabled for the processes. |
Traffic Monitor has the following queues: Path to the directory of the queue | File format in the queue | queue/blackboard
| .xml & .dat | queue/blackboard_errors
| .dat
| queue/whiteboard
| .dat
| queue/errors
| .xml & .dat
| queue/xml2liro-errors
| .xml & .dat
| queue/db
| .xml & .dat
| queue/smtp
| .xml & .dat
|
Each queue contains additional technical queues which allow you to monitor for processing objects:
Example:
queue/db/.out queue/db/.in
queue/db/.db
For smtp queue, the processing is divided into the following stages: queue/smtp/.in the file is formed in the given queue as objects are received from Postfix by module smtpd. If for some reason an object is delayed in the queue, you must check modules smtpd or proxy_smtp.queue/smtp/.db upon completion of processing the file is moved from the queue .in to the queue .db. Mail objects from xapi go to this queue.queue/smtp/.out - the object is moved to this queue by the next module in the chain (for queue smtp - by module messed).
Objects are placed in a queue by means of the following modules: - INPUT – a module which places events to the queue.
- OUTPUT – a module which takes events from the queue.
Queue name | INPUT | OUTPUT | | queue/analysis | xapi | analysis | queue/smtp | smtpd and proxy_smtp | messed | queue/db | messed, icap, expressd, proxy_icq, proxy_http | xml2liro | queue/errors | all components if an error occurred during processing | no | queue/xml2liro_loader | xml2liro | loader | queue/blackboard | luaengined | blackboard | queue/blackboard_errors | an error when processing blackboard | no | queue/whiteboard | luaengined | whiteboard | queue/rails_connector_errors | an error when inserting data loader | no | queue/xml2liro-errors | Processing errors xml2liro | no |
|