Background
Printer queues refer to a list of print jobs that are waiting to be processed for printing. When a printer encounters an error, the printer queues get stuck and when that happens, restarting it usually helps in resolving the problem. This process of restarting or clearing the printer queue on an operating system (OS) is called the OS Printer Queue Restart.
For tenants that require constant use of printers for critical workflows, you have the option to automate the process of restarting printer queues using IT-Conductor’s recovery action.
Pre-requisite Requirements
The printer(s) should be registered in IT-Conductor for monitoring. See OS Printer Monitoring for more details.
How to Automate OS Printer Queue Restart
When configuring printer alerts, the following command as shown in the SSH tab should handle the recovery action needed to restart a printer.
Simple ssh script that runs as ITC activity is called during recovery action.
We identified that the status of the printer could be any one of the following:
Idle
Printing
Disabled
In the above configuration, the recovery action is triggered when the printer's status goes to “Disabled“ and is relaunched if after 10 minutes it's still in “Disabled“ status.
Add Comment