To enable loading the existing object queues: - Stop the following services: icap, smtpd, expressd, sniffer, xapi_xapi, xapi_puppy, analysis, messed, proxy_http, proxy_icq, proxy_smtp, capstack.
- Place objects from the queue of errors to the required queue.
Wait until all objects in the file queue are processed. - Start the following services: icap, smtpd, expressd, sniffer, xapi_xapi, xapi_puppy, analysis, messed, proxy_http, proxy_icq, proxy_smtp, capstack.
To start all services, enter the command: service iwtm start. Commands for starting/stopping separate services: | Starting | Stopping |
|---|
service iwtm start icap service iwtm start smtpd service iwtm start expressd service iwtm start sniffer service iwtm start xapi_xapi service iwtm start xapi_puppy service iwtm start analysis service iwtm start messed service iwtm start proxy_http service iwtm start proxy_icq service iwtm start proxy_smtp service iwtm start capstack | service iwtm stop icap service iwtm stop smtpd service iwtm stop expressd service iwtm stop sniffer service iwtm stop xapi_xapi service iwtm stop xapi_puppy service iwtm stop analysis service iwtm stop messed service iwtm stop proxy_http service iwtm stop proxy_icq service iwtm stop proxy_smtp service iwtm stop capstack |
| Информация |
|---|
| When the process is complete, make sure that the services are running. |
Traffic Monitor has the following queues: Path to the directory of the queue | File format in the queue |
|---|
queue/blackboard
| .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 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.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/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 |
|