1snmp.conf(5)                     OpenPrinting                     snmp.conf(5)
2
3
4

NAME

6       snmp.conf - snmp configuration file for cups (deprecated)
7

DESCRIPTION

9       The  snmp.conf  file  configures how the standard CUPS network backends
10       (http, https, ipp, ipps, lpd, snmp, and socket) access printer informa‐
11       tion  using  SNMPv1 and is normally located in the /etc/cups directory.
12       Each line in the file can be a configuration directive, a  blank  line,
13       or a comment. Comment lines start with the # character.
14
15       The  Community  and DebugLevel directives are used by all backends. The
16       remainder apply only to the SNMP backend - cups-snmp(8).
17

DIRECTIVES

19       The following directives are understood by the CUPS network backends:
20
21       Address @IF(name)
22
23       Address @LOCAL
24
25       Address address
26            Sends SNMP broadcast queries (for discovery) to the specified  ad‐
27            dress(es).  There is no default for the broadcast address.
28
29       Community name
30            Specifies the community name to use.  Only a single community name
31            may be specified.  The default community name is "public".  If  no
32            name is specified, all SNMP functions are disabled.
33
34       DebugLevel number
35            Specifies the logging level from 0 (none) to 3 (everything).  Typ‐
36            ically only used for debugging (thus the name).  The default debug
37            level is 0.
38
39       DeviceURI "regular expression" device-uri [... device-uri]
40            Specifies  one or more device URIs that should be used for a given
41            make and model string.  The regular expression is  used  to  match
42            the detected make and model, and the device URI strings must be of
43            the form "scheme://%s[:port]/[path]", where  "%s"  represents  the
44            detected  address  or  hostname.   There are no default device URI
45            matching rules.
46
47       HostNameLookups on
48
49       HostNameLookups off
50            Specifies whether the addresses of printers should be converted to
51            hostnames or left as numeric IP addresses.  The default is "off".
52
53       MaxRunTime seconds
54            Specifies the maximum number of seconds that the SNMP backend will
55            scan the network for printers.  The default is 120 seconds (2 min‐
56            utes).
57

NOTES

59       CUPS  backends  are deprecated and will no longer be supported in a fu‐
60       ture feature release of CUPS.  Printers that do not support IPP can  be
61       supported using applications such as ippeveprinter(1).
62

SEE ALSO

64       cups-snmp(8), CUPS Online Help (http://localhost:631/help)
65
67       Copyright © 2021-2022 by OpenPrinting.
68
69
70
712021-02-28                           CUPS                         snmp.conf(5)
Impressum