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