Documentation forServer & Application Monitor
Monitoring your applications and environment is a key capability of Hybrid Cloud Observability and is also available in a standalone module, Server & Application Monitor (SAM). Hybrid Cloud Observability and SAM are built on the self-hosted SolarWinds Platform.

Solaris LPD

This template assesses the status and performance of a Solaris LPD print service. Perl scripts are used for retrieving performance data.

Prerequisites

SSH and Perl installed on the target server.

Credentials

Root credentials on the target server.

Component monitors

Click here for an overview about SAM application monitor templates and component monitors. SAM API Poller templates are also available.

Daemon: lpsched

This monitor returns the status of the Solaris LPD print server daemon.

Possible values:

  • 0 – Print server daemon is stopped.
  • 1 – Print server daemon is running.

Print queue

This monitor returns the current length of the default print queue.

Successfully printed jobs

This monitor returns the number of successfully printed jobs by retrieving data from the requests log file. Successful printed jobs have the following status string in the requests log file: s 0x0014

More information about the status of printed jobs can be found here: http://download.oracle.com/docs/cd/E19963-01/html/821-1457/printref-18623.html.

By default, the script retrieves this information from the /var/spool/lp/logs/requests file. If this file has another location on the target server, you should correct the path in the script argument box.

Unsuccessfully printed jobs

This monitor returns the number of jobs that were not successfully printed by retrieving data from the requests log file. The script in this component is looking for all print status strings in the requests log file other than s 0x0014.

More information about the status of printed jobs can be found here: http://download.oracle.com/docs/cd/E19963-01/html/821-1457/printref-18623.html.

By default, the script retrieves this information from the /var/spool/lp/logs/requests file. If this file has another location on the target server, you should correct the path in the script argument box.

LP Print Server Listening TCP Port

This component monitor tests the ability of an LP print service to accept incoming sessions.

By default, TCP port 631 is monitored. If your print server listens on another port, you should manually change it.