snmp.conf(5)
β¨ snmp.conf β the snmp configuration file for cups (deprecated, bestie π) β¨
okay so this is snmp.conf, from section 5 of the manual (that's the "file formats" girlies π
), and it's the snmp configuration file for cups. heads up tho β she's deprecated, so read the NOTES before you fall in love π₯²
π NAME π
snmp.conf β snmp configuration file for cups (deprecated, no cap)
πΈ DESCRIPTION πΈ
So the snmp.conf file is literally the vibe-setter for how the standard CUPS network backends β that's http, https, ipp, ipps, lpd, snmp, and socket β go get printer information using SNMPv1 π¨οΈβ¨
She normally lives in the /etc/cups directory. that's her home. her address. π
Every single line in the file can be one of three things:
- a configuration directive (the main character π)
- a blank line (resting, as she deserves π)
- a comment (and comment lines start with the
#character β#is the "not me talking rn" symbol)
Now, here's the tea β: the Community and DebugLevel directives are used by all the backends, they're everybody's bestie. The remainder? They apply only to the SNMP backend β cups-snmp(8). exclusive. private. iykyk π€«
π DIRECTIVES π
The following directives are understood by the CUPS network backends:
Address @IF(name)Address @LOCALAddress addressβ Sends SNMP broadcast queries (for discovery π) to the specified address(es). There is no default for the broadcast address. so if you want her to yell into the void, you gotta tell her where the void is π’Community nameβ Specifies the community name to use. Only a single community name may be specified β she's monogamous, one and done π The default community name is"public". And if no name is specified at all? then all SNMP functions are disabled. ghosted. blocked. unavailable. πDebugLevel numberβ Specifies the logging level from0(none) to3(everything). Typically only used for debugging (thus the name, so clever π). The default debug level is0.DeviceURI "regular expression" device-uri [... device-uri]β Specifies one or more device URIs that should be used for a given make and model string. 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. There are no default device URI matching rules β you're building this from scratch, bestie, and that's iconic π οΈβ¨HostNameLookups onHostNameLookups offβ Specifies whether the addresses of printers should be converted to hostnames or left as numeric IP addresses. The default is"off".MaxRunTime secondsβ Specifies the maximum number of seconds that the SNMP backend will scan the network for printers. The default is120seconds (2 minutes β±οΈ). girl has a curfew.
π NOTES π
CUPS backends are deprecated and will no longer be supported in a future feature release of CUPS. π this is not a drill, this is a real warning.
Printers that do not support IPP can be supported using applications such as ippeveprinter(1) β so there's a glow-up path, don't panic π«Ά
π¦ SEE ALSO π¦
cups-snmp(8)- CUPS Online Help (
http://localhost:631/help)
π COPYRIGHT π
Copyright Β© 2020-2024 by OpenPrinting.
and that's the whole page, bestie π this was snmp.conf(5) from OpenPrinting, dated 2021-02-28, and it's filed under CUPS β stay hydrated, stay deprecated-aware, and go read those NOTES one more time fr fr πβ¨ππ¦πΈ
π¦ where this page comes from
- alpine 3.22: cups-doc 2.4.18-r0 Β· Apache-2.0
- alpine 3.23: cups-doc 2.4.18-r0 Β· Apache-2.0
- alpine 3.24: cups-doc 2.4.19-r1 Β· Apache-2.0
- centos-stream 10: cups 1:2.4.10-18.el10 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- debian trixie: cups-daemon 2.4.10-3+deb13u1 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- debian trixie: cups-daemon 2.4.10-3+deb13u2 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- fedora 43: cups 1:2.4.14-2.fc43 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 43: cups 1:2.4.19-3.fc43 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 44: cups 1:2.4.16-7.fc44 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 44: cups 1:2.4.19-3.fc44 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- nixpkgs unstable: cups 2.4.19
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 Β· Apache-2.0
- ubuntu questing: cups-daemon 2.4.12-0ubuntu3
- ubuntu questing: cups-daemon 2.4.12-0ubuntu3.10
- ubuntu resolute: cups-daemon 2.4.16-1ubuntu1 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu resolute: cups-daemon 2.4.16-1ubuntu1.3 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu stonking: cups-daemon 2.4.16-1ubuntu3 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- Copyright Β© 2020-2024 by OpenPrinting
- Copyright Β© 2007-2019 by Apple Inc
- Copyright Β© 2006 by Easy Software Products
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms