Hi Steph,

I'm the "Scott" that wrote that.  I don't have access to the place where I
did the work to setup Zenoss any longer.  And I don't have zenoss setup at
my current gig, so I don't have a place to test it myself.

>From the bit of information given, it looks like the variable d is no longer
set when it attempts to call collectDevice().  Right before I collect the
device, I attempt to search the database for the device I just added, can
you verify the search is successful?

-Scott

On Wed, May 13, 2009 at 4:30 PM, stephm <[email protected]> wrote:

> I have used Scott's script successfully in 2.3, but since we upgraded to
> 2.4 I haven't been able to successfully upload with it.
>
> The error says that Craig already exists, when it didn't.  Here's the
> interesting part it added Craig with the correct IP, zWinPassword, zWinUser,
> and correct location but wouldn't go on to the second line.
>
> Here is the error:
>
> INFO:zen.DeviceLoader:Device craig already exists
> ERROR:zen.DeviceLoader:Unable to add the device craig
> Traceback (most recent call last):
>  File "do-add-devices.py", line 40, in ?
>    d.collectDevice()
>  File "/opt/zenoss/Products/ZenModel/Device.py", line 1652, in
> collectDevice
>    perfConf.collectDevice(self, setlog, REQUEST)
> AttributeError: 'NoneType' object has no attribute 'collectDevice'
>
> Anyone have any ideas?  I tried to use Discover Device but just doesn't
> work for our network.
>
> Thanks!!
> Steph
>
>
>
>
> -------------------- m2f --------------------
>
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=34724#34724
>
> -------------------- m2f --------------------
>
>
>
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
>
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to