# OS Printer Monitoring

Monitoring printers provides real-time visibility into printer status, errors, and alerts. It allows you to manage printing workloads and identify issues like paper jams and connectivity problems. Proactive monitoring helps minimize printer downtime and reduce IT support's burden.

### Prerequisites

Configure a Linux system with connected printers for monitoring. See [Unix/Linux System Monitoring](https://docs.itconductor.com/user-guide/monitoring/infrastructure/os/unix-linux-system) for more details

### Configure OS Printer for Monitoring in IT-Conductor <a href="#how-to-configure-os-printer-for-monitoring" id="how-to-configure-os-printer-for-monitoring"></a>

1. Visit [service.itconductor.com](https://service.itconductor.com/) and enter your login credentials.
2. From the IT-Conductor Service Grid, click ▶ to expand “Linux Systems”.

<figure><img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2Fc13BkS0rdNLSnBkoOyrG%2FLinux%20Systems%20in%20IT-Conductor%20Service%20Grid.png?alt=media&#x26;token=993d8e51-841e-49da-ad02-0cc54e9336ec" alt=""><figcaption><p>Figure 1: Linux Systems in IT-Conductor Service Grid</p></figcaption></figure>

2. Click the object menu of the Linux system to be configured and then click **Retrievers**.

<figure><img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FpbelEu3hpeyPfYWx9SBs%2FNavigate%20to%20Retrievers%20Option.png?alt=media&#x26;token=b2933e0d-f0cd-428e-a313-4f638565ef10" alt=""><figcaption><p>Figure 2: Navigate to Retrievers Option</p></figcaption></figure>

3. Click the object menu of retriever “Printers (lpstat -p)“ and then click **Activate**.

<figure><img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FY9V3yDEh2leSGRAS7tcf%2FActivate%20Printer.png?alt=media&#x26;token=3d866efe-8d61-463d-8550-73cd11532d0d" alt=""><figcaption><p>Figure 3: Activate Printer</p></figcaption></figure>

4. The connected printers will be added to IT-Conductor for monitoring.

### Monitor OS Printer in IT-Conductor <a href="#monitoring-features" id="monitoring-features"></a>

To view the printer statistics navigate to the **Linux Systems** > **SID > Printers** in the service grid. Here, you can see details of the following metrics:

* **Status:** Current operational state of the printer or print queue (e.g., idle, printing, disabled).
* **Request age:** Time elapsed since a print job was submitted to the queue.
* **Request count:** Total number of print jobs currently in the queue or processed over a time period.

<figure><img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2F9eNSPwJVLmdgAfNGMKeq%2FPrinter%20Statistics%20in%20IT-Conductor.png?alt=media&#x26;token=429b703e-d537-4fd5-b324-c792154d4e07" alt=""><figcaption><p>Figure 4: Printer Statistics in IT-Conductor</p></figcaption></figure>

View each metric in more detail by clicking on the bar chart <img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FA6ze5Z1uu6T4GHNN8sP5%2Fbarsicon.gif?alt=media&#x26;token=2a06e789-5475-4be8-8145-75dc943c3d9e" alt="" data-size="line"> metric name. Adjust the chart depending on your preferred timescale.

<figure><img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2Fqj1k71tdByk9d5yhApQm%2FHourly%20Printer%20Status.png?alt=media&#x26;token=130957cb-b531-47b9-a210-94191b0eb7bb" alt=""><figcaption><p>Figure 5: Printer Status (Hourly)</p></figcaption></figure>

{% hint style="info" %}
**Note:** Printer status could be “Idle”, “Printing”, or “Disabled”.
{% endhint %}

<figure><img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2F4i8SyWLpvHMkGqZqRG2U%2FDaily%20Job%20Count.png?alt=media&#x26;token=cf799554-c3d1-4349-8d83-2feeb5e692e6" alt=""><figcaption><p>Figure 6: Job Count (Daily)</p></figcaption></figure>

#### Alerting <a href="#alerting-features" id="alerting-features"></a>

IT-Conductor generates alerts based on the values of collected stats.

<figure><img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FxtuvWOTiVX2RRbh3IkVy%2FConfiguring%20Alerts%20based%20on%20Job%20Count.png?alt=media&#x26;token=9ed231a1-8d7e-4fba-8991-395d2b641a35" alt=""><figcaption><p>Figure 7: Configure Alerts based on Job Count</p></figcaption></figure>

In Figure 4, the warning alert is generated if the average request count is more than 1 in the last 15 minutes, and the alert is resent if, after 15 minutes, there are still jobs running.

<figure><img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FvcfIRNPMxkNTWAVXjGnJ%2FConfiguring%20Alerts%20based%20on%20Request%20Age.png?alt=media&#x26;token=5a64c3ea-2c89-4a8d-98dd-c763bd5b7626" alt=""><figcaption><p>Figure 8: Configure Alerts based on Request Age</p></figcaption></figure>

Similarly, in Figure 5, the critical alarm alert is generated if the job has been running for more than 60 minutes (3600 seconds), and the alert is resent if, after 60 minutes, there are still jobs running.

See [Configuring IT-Conductor Alerts](https://docs.itconductor.com/~/changes/j1RdUn49WBcajmJEmXUf/users-guide/notifications/configuring-itc-alerts#configuringitcalerts-howtoconfigureitcalerts) for further instructions.

### Related Information <a href="#related-articles" id="related-articles"></a>

* [OS Printer Queue Restart Automation](https://docs.itconductor.com/user-guide/automation/os-printer-queue-restart)
