Changeset 1746 for pykota/trunk/conf
- Timestamp:
- 09/27/04 21:56:27 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/conf/pykota.conf.sample
r1729 r1746 213 213 # e.g. myprinter.example.com 214 214 # 215 # Example : 215 # Recommended values : 216 # 217 # accounter: hardware(snmp) 218 # 219 # Extracts the printer's internal page counter via SNMP. 220 # 221 # Or : 222 # 223 # accounter: hardware(pjl) 224 # 225 # Extracts the printer's internal page counter via PJL queries over port tcp/9100. 226 # 227 # Other Examples : 216 228 # 217 229 # accounter: hardware(/usr/bin/snmpget -v1 -c public -Ov %(printer)s mib-2.43.10.2.1.4.1.1 | cut -f 2,2 -d " ") … … 221 233 # accounter: hardware(/usr/bin/npadmin --pagecount %(printer)s) 222 234 # 223 # Another example, using the special 'snmp' value, which doesn't launch224 # any subprocess but instead all SNMP processing is done from PyKota's main225 # code (this is less configurable, but requires less CPU and can prevent zombies) :226 #227 # accounter: hardware(snmp)228 #229 235 # Another example, for AppleTalk printers which works fine : 230 236 # (You may need the pap CUPS backend installed, and copy the … … 275 281 # the printer) 276 282 # 277 # YOU ABSOLUTELY HAVE TO BE SURE YOU HAVE A SCRIPT WHICH WAITS FOR THE 278 # PRINTER BEING READY BEFORE ASKING FOR ITS INTERNAL PAGE COUNTER. 279 # 280 # PYKOTA INCLUDES SUCH SCRIPTS FOR SNMP AND APPLETALK PRINTERS, MORE TO COME 281 # 282 # SOME OF THE ABOVE EXAMPLES DON'T USE SUCH A SCRIPT, YOU HAVE BEEN WARNED 283 # YOU ABSOLUTELY HAVE TO BE SURE YOU HAVE A SCRIPT WHICH WAITS FOR THE 284 # PRINTER BEING READY BEFORE ASKING FOR ITS INTERNAL PAGE COUNTER. 285 # 286 # PYKOTA INCLUDES SUCH SCRIPTS FOR SNMP AND APPLETALK PRINTERS, MORE TO COME 287 # 288 # SOME OF THE ABOVE EXAMPLES DON'T USE SUCH A SCRIPT, YOU HAVE BEEN WARNED 289 # 290 # 291 # WITH THE SPECIAL MAGIC hardware(snmp) AND hardware(pjl) VALUES, PYKOTA 292 # TAKES CARE OF ALL THIS FOR YOU, SO PLEASE UNDERSTAND THAT IT IS PREFERABLE 293 # TO USE THESE TWO METHODS : THEY WORK FINE, REQUIRE LITTLE TO NO CPU, 294 # AND DO ALL THE HARD WORK AUTOMATICALLY. IF YOU REALLY NEED TO YOU CAN USE 295 # YOUR OWN EXTERNAL COMMANDS AS DESCRIBED ABOVE, JUST BE CAREFUL WITH THIS. 283 296 # 284 297 #