]> git.ipfire.org Git - thirdparty/cups.git/blob - man/cups-snmp.conf.man
License change: Apache License, Version 2.0.
[thirdparty/cups.git] / man / cups-snmp.conf.man
1 .\"
2 .\" snmp.conf man page for CUPS.
3 .\"
4 .\" Copyright 2007-2014 by Apple Inc.
5 .\" Copyright 2006 by Easy Software Products.
6 .\"
7 .\" Licensed under Apache License v2.0. See the file "LICENSE" for more information.
8 .\"
9 .TH snmp.conf 5 "CUPS" "10 June 2014" "Apple Inc."
10 .SH NAME
11 snmp.conf \- snmp configuration file for cups
12 .SH DESCRIPTION
13 The
14 .B snmp.conf
15 file configures how the standard CUPS network backends (http, https, ipp, ipps, lpd, snmp, and socket) access printer information using SNMPv1 and is normally located in the \fI/etc/cups\fR directory.
16 Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character.
17 .LP
18 The Community and DebugLevel directives are used by all backends. The remainder apply only to the SNMP backend -
19 .BR cups-snmp (8).
20 .SH DIRECTIVES
21 The following directives are understood by the CUPS network backends:
22 .TP 5
23 \fBAddress @IF(\fIname\fB)\fR
24 .TP 5
25 \fBAddress @LOCAL\fR
26 .TP 5
27 \fBAddress \fIaddress\fR
28 Sends SNMP broadcast queries (for discovery) to the specified address(es).
29 There is no default for the broadcast address.
30 .TP 5
31 \fBCommunity \fIname\fR
32 Specifies the community name to use.
33 Only a single community name may be specified.
34 The default community name is "public".
35 .TP 5
36 \fBDebugLevel \fInumber\fR
37 Specifies the logging level from 0 (none) to 3 (everything).
38 Typically only used for debugging (thus the name).
39 The default debug level is 0.
40 .TP 5
41 \fBDeviceURI "\fIregular expression\fB" \fIdevice-uri \fR[... \fIdevice-uri\fR]
42 Specifies one or more device URIs that should be used for a given make and model string.
43 The regular expression is used to match the detected make and model, and the device URI strings must be of the form "scheme://%s[:port]/[path]", where "%s" represents the detected address or hostname.
44 There are no default device URI matching rules.
45 .TP 5
46 \fBHostNameLookups on\fR
47 .TP 5
48 \fBHostNameLookups off\fR
49 Specifies whether the addresses of printers should be converted to hostnames or left as numeric IP addresses.
50 The default is "off".
51 .TP 5
52 \fBMaxRunTime \fIseconds\fR
53 Specifies the maximum number of seconds that the SNMP backend will scan the
54 network for printers.
55 The default is 120 seconds (2 minutes).
56 .SH SEE ALSO
57 .BR cups-snmp (8),
58 CUPS Online Help (http://localhost:631/help)
59 .SH COPYRIGHT
60 Copyright \[co] 2007-2017 by Apple Inc.