xref: /aosp_15_r20/external/libcups/doc/help/man-cups-snmp.html (revision 5e7646d21f1134fb0638875d812ef646c12ab91e)
1*5e7646d2SAndroid Build Coastguard Worker<!DOCTYPE HTML>
2*5e7646d2SAndroid Build Coastguard Worker<html>
3*5e7646d2SAndroid Build Coastguard Worker<!-- SECTION: Man Pages -->
4*5e7646d2SAndroid Build Coastguard Worker<head>
5*5e7646d2SAndroid Build Coastguard Worker	<link rel="stylesheet" type="text/css" href="../cups-printable.css">
6*5e7646d2SAndroid Build Coastguard Worker	<title>cups-snmp(8)</title>
7*5e7646d2SAndroid Build Coastguard Worker</head>
8*5e7646d2SAndroid Build Coastguard Worker<body>
9*5e7646d2SAndroid Build Coastguard Worker<h1 class="title">cups-snmp(8)</h1>
10*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="NAME">Name</a></h2>
11*5e7646d2SAndroid Build Coastguard Workersnmp - cups snmp backend (deprecated)
12*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
13*5e7646d2SAndroid Build Coastguard Worker<b>/usr/lib/cups/backend/snmp</b>
14*5e7646d2SAndroid Build Coastguard Worker<i>ip-address-or-hostname</i>
15*5e7646d2SAndroid Build Coastguard Worker<br>
16*5e7646d2SAndroid Build Coastguard Worker<b>/usr/libexec/cups/backend/snmp</b>
17*5e7646d2SAndroid Build Coastguard Worker<i>ip-address-or-hostname</i>
18*5e7646d2SAndroid Build Coastguard Worker<br>
19*5e7646d2SAndroid Build Coastguard Worker<b>lpinfo</b>
20*5e7646d2SAndroid Build Coastguard Worker<b>-v</b>
21*5e7646d2SAndroid Build Coastguard Worker<b>--include-schemes</b>
22*5e7646d2SAndroid Build Coastguard Workersnmp
23*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
24*5e7646d2SAndroid Build Coastguard WorkerThe <b>DEPRECATED</b> CUPS SNMP backend provides legacy discovery and identification of network printers using SNMPv1.
25*5e7646d2SAndroid Build Coastguard WorkerWhen used for discovery through the scheduler, the backend will list all printers that respond to a broadcast SNMPv1 query with the "public" community name.
26*5e7646d2SAndroid Build Coastguard WorkerAdditional queries are then sent to printers that respond in order to determine the correct device URI, make and model, and other information needed for printing.
27*5e7646d2SAndroid Build Coastguard Worker<p>In the first form, the SNMP backend is run directly by the user to look up the device URI and other information when you have an IP address or hostname.
28*5e7646d2SAndroid Build Coastguard WorkerThis can be used for programs that need to configure print queues where the user has supplied an address but nothing else.
29*5e7646d2SAndroid Build Coastguard Worker<p>In the second form, the SNMP backend is run indirectly using the
30*5e7646d2SAndroid Build Coastguard Worker<b>lpinfo</b>(8)
31*5e7646d2SAndroid Build Coastguard Workercommand.
32*5e7646d2SAndroid Build Coastguard WorkerThe output provides all printers detected via SNMP on the configured
33*5e7646d2SAndroid Build Coastguard Workerbroadcast addresses.
34*5e7646d2SAndroid Build Coastguard Worker<i>Note: no broadcast addresses are configured by default.</i>
35*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="ENVIRONMENT">Environment</a></h2>
36*5e7646d2SAndroid Build Coastguard WorkerThe DebugLevel value can be overridden using the CUPS_DEBUG_LEVEL environment variable.
37*5e7646d2SAndroid Build Coastguard WorkerThe MaxRunTime value can be overridden using the CUPS_MAX_RUN_TIME environment variable.
38*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="FILES">Files</a></h2>
39*5e7646d2SAndroid Build Coastguard WorkerThe SNMP backend reads the <i>/etc/cups/snmp.conf</i> configuration file, if
40*5e7646d2SAndroid Build Coastguard Workerpresent, to set the default broadcast address, community name, and logging
41*5e7646d2SAndroid Build Coastguard Workerlevel.
42*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="NOTES">Notes</a></h2>
43*5e7646d2SAndroid Build Coastguard WorkerThe CUPS SNMP backend is deprecated and will no longer be supported in a future
44*5e7646d2SAndroid Build Coastguard Workerversion of CUPS.
45*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2>
46*5e7646d2SAndroid Build Coastguard WorkerThe CUPS SNMP backend uses the information from the Host, Printer, and Port Monitor MIBs along with some vendor private MIBs and intelligent port probes to determine the correct device URI and make and model for each printer.
47*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
48*5e7646d2SAndroid Build Coastguard Worker<b>backend</b>(7),
49*5e7646d2SAndroid Build Coastguard Worker<b>cups-snmp.conf</b>(5),
50*5e7646d2SAndroid Build Coastguard Worker<b>cupsd</b>(8),
51*5e7646d2SAndroid Build Coastguard Worker<b>lpinfo</b>(8),
52*5e7646d2SAndroid Build Coastguard WorkerCUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>)
53*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
54*5e7646d2SAndroid Build Coastguard WorkerCopyright &copy; 2007-2019 by Apple Inc.
55*5e7646d2SAndroid Build Coastguard Worker
56*5e7646d2SAndroid Build Coastguard Worker</body>
57*5e7646d2SAndroid Build Coastguard Worker</html>
58