Show
Ignore:
Timestamp:
02/10/03 01:42:17 (22 years ago)
Author:
jalet
Message:

External requester should be ok (untested)
New syntax for configuration file wrt requesters

Files:
1 modified

Legend:

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

    r738 r780  
    5252# 
    5353# How to query the lp printer for its page counter 
    54 # Only SNMP is currently supported 
    55 requester: snmp 
    56 # SNMP Community 
    57 snmpcmnty: public 
    58 # SNMP oid to query : this one seems to be specific to HP LaserJet printers 
    59 snmpoid: 43.10.2.1.4.1.1 
     54# Only snmp(community, oid) and external(command) are supported 
     55# e.g. :  
     56#     external(snmpget -c public -Ov %(printer)s 43.10.2.1.4.1.1 | cut -f 2,2 -d " ") 
     57# and : 
     58#     snmp(public, 43.10.2.1.4.1.1) 
     59# are equivalent 
     60requester: snmp(public, 43.10.2.1.4.1.1) 
    6061# 
    6162# Default policy for inexistant users (e.g. root)