1cups-snmp(8) Apple Inc. cups-snmp(8)
2
3
4
6 snmp - cups snmp backend
7
9 /usr/lib/cups/backend/snmp ip-address-or-hostname
10 lpinfo -v --include-schemes snmp
11
13 The CUPS SNMP backend provides legacy discovery and identification of
14 network printers using SNMPv1. When used for discovery through the
15 scheduler, the backend will list all printers that respond to a broad‐
16 cast SNMPv1 query with the "public" community name. Additional queries
17 are then sent to printers that respond in order to determine the cor‐
18 rect device URI, make and model, and other information needed for
19 printing.
20
21 In the first form, the SNMP backend is run directly by the user to look
22 up the device URI and other information when you have an IP address or
23 hostname. This can be used for programs that need to configure print
24 queues where the user has supplied an address but nothing else.
25
26 In the second form, the SNMP backend is run indirectly using the
27 lpinfo(8) command. The output provides all printers detected via SNMP
28 on the configured broadcast addresses. Note: no broadcast addresses are
29 configured by default.
30
32 The CUPS SNMP backend uses the information from the Host, Printer, and
33 Port Monitor MIBs along with some vendor private MIBs and intelligent
34 port probes to determine the correct device URI and make and model for
35 each printer.
36
38 The SNMP backend reads the /etc/cups/snmp.conf configuration file, if
39 present, to set the default broadcast address, community name, and log‐
40 ging level. The configuration file is documented in cups-snmp.conf(5).
41 The DebugLevel value can be overridden using the CUPS_DEBUG_LEVEL envi‐
42 ronment variable and the MaxRunTime value can be overridden using the
43 CUPS_MAX_RUN_TIME environment variable.
44
46 backend(7), cups-snmp.conf(5), cupsd(8), cupsd.conf(5), filter(7),
47 lpinfo(8),
48 http://localhost:631/help
49
51 Copyright 2007-2013 by Apple Inc.
52
53
54
5523 April 2012 CUPS cups-snmp(8)