Index: /tools/check-batch-cmd
===================================================================
--- /tools/check-batch-cmd	(revision 11726)
+++ /tools/check-batch-cmd	(revision 11727)
@@ -17,36 +17,5 @@
 
 SSHPASS = None
-import pysnmp
-from pysnmp.entity.rfc3413.oneliner import cmdgen
 import netsnmp
-
-def snmp_test():
-  errorIndication, errorStatus, errorIndex, varBinds = cmdgen.CommandGenerator().getCmd(
-      # SNMP v1
-  #    cmdgen.CommunityData('test-agent', 'public', 0),
-      # SNMP v2
-      cmdgen.CommunityData('test-agent', 'public'),
-      # SNMP v3
-  #    cmdgen.UsmUserData('test-user', 'authkey1', 'privkey1'),
-      cmdgen.UdpTransportTarget(('localhost', 161)),
-      # Plain OID
-      (1,3,6,1,2,1,1,1,0),
-      # ((mib-name, mib-symbol), instance-id)
-      (('SNMPv2-MIB', 'sysObjectID'), 0)
-      )
-  
-  if errorIndication:
-      print errorIndication
-  else:
-      if errorStatus:
-          print '%s at %s\n' % (
-              errorStatus.prettyPrint(),
-              errorIndex and varBinds[int(errorIndex)-1] or '?'
-              )
-      else:
-          for name, val in varBinds:
-              print '%s = %s' % (name.prettyPrint(), val.prettyPrint())
-
-
 
 class CmdError(Exception):
