External Data Processor (dbn_external.pl)
The external data processor performs two functions for DBNet. The first function
is to examine data in the pending queue and create DBNet queue entries as necessary.
Every 2 seconds dbn_external.pl examines the pending queue. When a file is found,
dbn_external.pl checks for commands in the parsing table. If any commands
are found the data is moved to the data directory and the appropriate queue entries are written
into dbnet_que. If no commands are found the data is moved to the err directory. The second
function of dbn_external is to process the foreign queue. Every 2 seconds the foreign queue is
checked for new entries. When a new foreign queue entry is found, dbn_external verifies the format of the file
and builds an ALERT for the data identified in the foreign queue entry. This ALERT will be processed
the same as ALERTS from the pending queue.