Solaris LPD

Version 2

    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.

    Monitored Components:

    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.

    Note: By default, the script retrieves this information from the /var/spool/lp/logs/requestsfile. 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.

    Note: By default, the script retrieves this information from the /var/spool/lp/logs/requestsfile. 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.

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

     

    Portions of this document were originally created by and are excerpted from the following sources:

    Oracle Corporation, “Oracle System Administration Guide: Printing,” Copyright © 2012 Oracle Corporation.  All rights reserved. Available at http://download.oracle.com/docs/cd/E19963-01/html/821-1457/printref-18623.html

    IBM Corporation, “AIX Documentation,” Copyright © 2012 IBM Corporation.  All rights reserved. Available at http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds6/vmstat.htm

    Gurudatta Blog, Solaris and Linus, “Solaris SPARC Boot Sequence,” Copyright @ 2009-2012 gurudatta.  All rights reserved. Available at http://gurudatta-solaris.blogspot.com/2009/12/solaris-notes.html