mray wrote:
> http://www.zenoss.com/community/wiki/tips-and-tricks/ImportDevicesFromCSVWithLocationInformation/
> 
> This tip outlines how to bulk import devices with just ping.
> 


Thanks!

I grabbed the code and made a csv file to use - ran it and got the following 
error:

Traceback (most recent call last):
  File "./ping-bulk", line 101, in ?
    main()
  File "./ping-bulk", line 72, in main
    'none')         # discoverProto="snmp"
  File "/usr/local/zenoss/lib/python2.4/xmlrpclib.py", line 1153, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/zenoss/lib/python2.4/xmlrpclib.py", line 1440, in __request
    verbose=self.__verbose
  File "/usr/local/zenoss/lib/python2.4/xmlrpclib.py", line 1204, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/local/zenoss/lib/python2.4/xmlrpclib.py", line 1343, in 
_parse_response
    return u.close()
  File "/usr/local/zenoss/lib/python2.4/xmlrpclib.py", line 801, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault -1: 'Unexpected Zope exception: exceptions.TypeError - 
string indices must be integers'>


Of note is that the hw fields of the csv I left blank (,"",) since for these 
hosts I don't care, they're all very old desktop PC equipment of varying brands 
and models. Would that cause this problem? Sample input is the following:

"ha-wjta2","Server Closet - Division XX","","","Time and Attendance","/Ping"




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=23718#23718

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to