root / pykota / trunk / conf / pykota.conf.sample @ 731

Revision 718, 1.6 kB (checked in by jalet, 22 years ago)

The SNMP oid seems to be specific to HP LaserJet? printers

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# PyKota sample configuration file
2#
3# Copy this file in cups' configuration directory
4# usually /etc/cups under the name pykota.conf
5#
6# PyKota - Print Quotas for CUPS
7#
8# (c) 2003 Jerome Alet <alet@librelogiciel.com>
9# You're welcome to redistribute this software under the
10# terms of the GNU General Public Licence version 2.0
11# or, at your option, any higher version.
12#
13# You can read the complete GNU GPL in the file COPYING
14# which should come along with this software, or visit
15# the Free Software Foundation's WEB site http://www.fsf.org
16#
17# $Id$
18#
19
20[global]
21# Storage backend for quotas
22# only PostgreSQL is supported
23# Ldap, MySQL, Berkeley are planned
24storagebackend: postgresql
25storageserver: localhost
26storagename: pykota
27storageadmin: pykotaadmin
28storageuser: pykotauser
29# storageadminpw: NOT YET SUPPORTED
30# storageuserpw: NOT YET SUPPORTED
31
32# Where to log ?
33# supported values : stderr, system (system means syslog, but don't use 'syslog' here)
34logger: stderr
35
36# Print Quota administrator
37admin: Jerome Alet
38adminmail: alet@unice.fr
39#
40# Mail server to use to warn users
41smtpserver: localhost
42#
43# Accounting method
44# Only LAZY is currently supported, see documentation
45method: lazy
46#
47# Grace delay in days
48gracedelay: 7
49
50# one section per printer
51[lp]
52#
53# How to query the lp printer for its page counter
54# Only SNMP is currently supported
55requester: snmp
56# SNMP Community
57snmpcmnty: public
58# SNMP oid to query : this one seems to be specific to HP LaserJet printers
59snmpoid: 43.10.2.1.4.1.1
60#
61# Default policy for inexistant users (e.g. root)
62# either allow or deny
63policy: allow
Note: See TracBrowser for help on using the browser.