DirQue

Name

DirQue -- Check the size of a disk-based queue

Synopsis

{ 'type'      : 'DirQue' ,
  'status'    : 'on' ,
  'subents'   : 
     [{ 'status': 'on' ,
        'name'  : 'qmail',
        'dir'   : '/var/qmail/queue/mess',
        'triggers' : [{ 'level' : 'warn', 'trigger' : '500' }],  
   }],
}

Description

The DirQue Entity monitors the number of entries in a file queue on disk. The Entity will scan a directory tree recursively and count the number of files found. (This Entity is ideal for qmail-style queues). The Entity reports the number of entries in the queue.

Fields

name

A descriptive name for this subentity.

dir

The directory to scan.

Trigger

The Trigger fires if the queue size exceeds the trigger value.