The lpd-check checks, if the named queues on the listed lpd servers are ready for print jobs.
LPD is the enclosing tag for all lpd entries.
0 or 1. If you don't define lpd, no queues will be checked.
<LPD>
<LPD2CHECK>
<HOST>some.print.server.org</HOST>
<PORT>515</PORT>
<Q2CHECK>
<QNAME>LPT1</QNAME>
<ERRORLEVEL>WARNING</ERRORLEVEL>
</Q2CHECK>
<Q2CHECK>
<QNAME>LPT2</QNAME>
<ERRORLEVEL>WARNING</ERRORLEVEL>
</Q2CHECK>
</LPD2CHECK>
<LPD2CHECK>
<HOST>printsrv.important.net</HOST>
<PORT>515</PORT>
<Q2CHECK>
<QNAME>MYQ1</QNAME>
<ERRORLEVEL>ERROR</ERRORLEVEL>
</Q2CHECK>
<Q2CHECK>
<QNAME>MYQ2</QNAME>
<ERRORLEVEL>ERROR</ERRORLEVEL>
</Q2CHECK>
</LPD2CHECK>
</LPD>
for every LPD daemon you want to check you define one LPD2CHECK XML tag pair. please consider that you might want to check multiple queues on the same LPD daemon. in this case just add one LPD2CHECK XML tag pair for the daemon containing the queues.
The common XML tags as described in Section 9.8, “Tags Common to All Checks and/or Checkpoints”
As many as you like.
Look at LPD
The sub-tags of LPD2CHECK describing the speficic queues we are going to check on this LPD. This tags have sub-tags of their own so that we can configure different error levels for each queue without supplying the hostname and the LPD port over and over again.
As many as you like.
Look at LPD