1snmp.conf(5) Apple Inc. snmp.conf(5)
2
3
4
6 snmp.conf - snmp configuration file for cups
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".
32
33 DebugLevel number
34 Specifies the logging level from 0 (none) to 3 (everything). Typ‐
35 ically only used for debugging (thus the name). The default debug
36 level is 0.
37
38 DeviceURI "regular expression" device-uri [... device-uri]
39 Specifies one or more device URIs that should be used for a given
40 make and model string. The regular expression is used to match
41 the detected make and model, and the device URI strings must be of
42 the form "scheme://%s[:port]/[path]", where "%s" represents the
43 detected address or hostname. There are no default device URI
44 matching rules.
45
46 HostNameLookups on
47
48 HostNameLookups off
49 Specifies whether the addresses of printers should be converted to
50 hostnames or left as numeric IP addresses. The default is "off".
51
52 MaxRunTime seconds
53 Specifies the maximum number of seconds that the SNMP backend will
54 scan the network for printers. The default is 120 seconds (2 min‐
55 utes).
56
58 cups-snmp(8), CUPS Online Help (http://localhost:631/help)
59
61 Copyright © 2007-2017 by Apple Inc.
62
63
64
6510 June 2014 CUPS snmp.conf(5)