Show
Ignore:
Timestamp:
07/01/03 19:00:43 (21 years ago)
Author:
jalet
Message:

Added some SNMP examples by Bob Martel

Files:
1 modified

Legend:

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

    r1047 r1055  
    195195#      printer's support for different versions of the SNMP specification. 
    196196# 
     197# 
     198# Some examples and comments provided by Bob Martel from csuohio.edu 
     199# 
     200# For several printers I could not get the page count using snmpget.  I 
     201# resorted to snmpwalk: 
     202#  
     203# requester: external(/opt/local/net-snmp/bin/snmpwalk -v 1 -Cc -c public %(printer)s | grep mib-2.43.10.2.1.4.1.1 | cut -d " " -f4) 
     204# 
     205# The last example is still more ugly, some of the printers only provided 
     206# their counters without names, but at least always on the same line: 
     207# 
     208# requester: external(/opt/local/net-snmp/bin/snmpwalk -v 1 -Cc -c public -Ov %(printer)s | grep Counter32 | tail -2 | head -1 | cut -d " " -f2) 
     209# 
     210# 
    197211# WARNING : In any case, when using an external requester, please test the command line outside 
    198212#           of PyKota before. This will save you some headaches in case it doesn't work as expected.