summaryrefslogtreecommitdiff
path: root/man/cups-snmp.man.in
blob: 964ee4eedf5b748dea6d8652b0f76d53708dc066 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.\"
.\" "$Id: cups-snmp.man.in 10790 2013-01-10 16:58:01Z mike $"
.\"
.\"   SNMP backend man page for CUPS.
.\"
.\"   Copyright 2012-2013 by Apple Inc.
.\"
.\"   These coded instructions, statements, and computer programs are the
.\"   property of Apple Inc. and are protected by Federal copyright
.\"   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
.\"   which should have been included with this file.  If this file is
.\"   file is missing or damaged, see the license at "http://www.cups.org/".
.\"
.TH cups-snmp 8 "CUPS" "23 April 2012" "Apple Inc."
.SH NAME
snmp \- cups snmp backend
.SH SYNOPSIS
.B @CUPS_SERVERBIN@/backend/snmp
.I ip-address-or-hostname
.br
.B lpinfo -v --include-schemes snmp
.SH DESCRIPTION
The CUPS SNMP backend provides legacy discovery and identification of network
printers using SNMPv1. When used for discovery through the scheduler, the
backend will list all printers that respond to a broadcast SNMPv1 query with the
"public" community name. Additional 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.
.LP
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. This
can be used for programs that need to configure print queues where the user has
supplied an address but nothing else.
.LP
In the second form, the SNMP backend is run indirectly using the \fIlpinfo(8)\fR
command. The output provides all printers detected via SNMP on the configured
broadcast addresses. \fBNote\fR: no broadcast addresses are configured by
default.
.SH MIBS
The 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.
.SH CONFIGURATION
The SNMP backend reads the @CUPS_SERVERROOT@/snmp.conf configuration file, if
present, to set the default broadcast address, community name, and logging
level. The configuration file is documented in \fIcups-snmp.conf(5)\fR. The
DebugLevel value can be overridden using the CUPS_DEBUG_LEVEL environment
variable and the MaxRunTime value can be overridden using the CUPS_MAX_RUN_TIME
environment variable.
.SH SEE ALSO
\fIbackend(7)\fR, \fIcups-snmp.conf(5)\fR, \fIcupsd(8)\fR, \fIcupsd.conf(5)\fR,
\fIfilter(7)\fR, \fIlpinfo(8)\fR,
.br
http://localhost:631/help
.SH COPYRIGHT
Copyright 2007-2013 by Apple Inc.
.\"
.\" End of "$Id: cups-snmp.man.in 10790 2013-01-10 16:58:01Z mike $".
.\"