4.40 PrinterQueue

Use this Knowledge Script to monitor the health of printers. This Knowledge Script checks the number of jobs in printer queue and the size of the printer queue in KB. If either the number of jobs waiting or the queue size exceeds the threshold you set, AppManager raises an event.

NOTE:General printer status information, such as when the printer is taken off-line or is low on toner, cannot be detected by this Knowledge Script.

4.40.1 Resource Objects

UNIX Printer objects

4.40.2 Default Schedule

The default interval for this script is Every 5 minutes.

4.40.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Event if printer queue exceeds the threshold? (y/n)

Set to y to raise an event if the number of jobs in the printer queue exceeds the threshold. The default is y.

Event if printer queue size (KB) exceeds the threshold? (y/n)

Set to y to raise an event if the size of the printer queue, in KB, exceeds the threshold. The default is y.

Collect printer queue length data?

Set to y to collect data for charts and reports. The default is n. If you collect data, the Knowledge Script reports the number of print jobs in the queue at each interval.

Collect printer queue size data?

Set to y to collect data for charts and reports. If set to y, the Knowledge Script reports the size in KB of the printer queue at each interval. The default is n.

Maximum number of jobs in the printer queue threshold

Enter a threshold for the maximum number of print jobs waiting in the queue. The default is 100 jobs.

Maximum printer queue size (KB) threshold

Enter a threshold for the maximum size of the printer queue in KB. The default is 4000 KB.

Event severity level

Set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 5.

Event severity for internal failure

Set the event severity level, from 1 to 40, to indicate the importance of an event in which this job experienced an internal error. The default is 5.

Enable debugging? (y/n)

Set to y to enable debugging. The default is n.