1snmp.conf(5) Apple Inc. snmp.conf(5)
2
3
4
6 snmp.conf - snmp configuration file for cups (deprecated)
7
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
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
27 address(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
59 CUPS backends are deprecated and will no longer be supported in a
60 future feature release of CUPS. Printers that do not support IPP can
61 be supported using applications such as ippeveprinter(1).
62
64 cups-snmp(8), CUPS Online Help (http://localhost:631/help)
65
67 Copyright © 2007-2019 by Apple Inc.
68
69
70
7126 April 2019 CUPS snmp.conf(5)