Changeset 998 for pykota/trunk/conf

Show
Ignore:
Timestamp:
05/21/03 12:07:09 (21 years ago)
Author:
jalet
Message:

Now works with net-snmp v5.0 and above.
(It already worked, but the sample configuration file didn't contain
appropriate values)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/conf/pykota.conf.sample

    r994 r998  
    8383# untested/postscript directory to another place. 
    8484# accounter: external(/usr/local/bin/pagecount.sh) 
     85# WARNING : it may produce broken pipes, I don't know why yet. YMMV. 
    8586# 
    8687# default value  
     
    123124# 
    124125# Example :  
    125 #     requester: external(snmpget -c public -Ov %(printer)s 43.10.2.1.4.1.1 | cut -f 2,2 -d " ") 
     126#     requester: external(snmpget -v 2c -c public -Ov %(printer)s mib-2.43.10.2.1.4.1.1 | cut -f 2,2 -d " ") 
    126127# and : 
    127 #     requester: snmp(public, 43.10.2.1.4.1.1) 
     128#     requester: snmp(public, mib-2.43.10.2.1.4.1.1) 
    128129# are equivalent 
    129130# 
     
    140141# If both are defined, the printer option has priority. 
    141142# 
    142 # NB : The SNMP oid 43.10.2.1.4.1.1 works on HP Laserjet Printers, but it may 
     143# NB : The SNMP oid mib-2.43.10.2.1.4.1.1 works on HP Laserjet Printers, but it may 
    143144#      be different with other brands, refer to your printer's documentation  
    144145#      for details. 
    145 requester: external(snmpget -c public -Ov %(printer)s 43.10.2.1.4.1.1 | cut -f 2,2 -d " ") 
    146  
     146requester: external(snmpget -v 2c -c public -Ov %(printer)s mib-2.43.10.2.1.4.1.1 | cut -f 2,2 -d " ") 
    147147 
    148148# Default policy for inexistant users (e.g. root)