Skip navigation
1498 Views 3 Replies Latest reply: May 6, 2012 1:16 AM by Ryan Rowe RSS
Ryan Rowe Rank: White Belt 5 posts since
May 4, 2012
Currently Being Moderated

May 4, 2012 8:18 PM

Zenoss 3.0 zendmd attribute question

I am trying to write a dmd script to dump everything that zenoss finds to a out to a csv.  But I am having issues trying to find the attributes for a given device.  I zenoss 2.5 I use to be able to tab find the attributes I needed for example:

 

for d in dmd.Devices.Server.getSubDevices():

    print d.<tab>

 

Then it would show me all of the options I could use to find the attributes I needed. But with zenoss 3.0 when I tab after d. I just puts in COPY( and doesn't give me a list.  Is there some variable or setting I need to set in python to make this work?

 

Another question is when I do a scan and the object doesn't resolve it puts the d.id as the ip (because it can't resolve).  When I change the name of the device in zenoss zope shows it in the device as:

 

1.2.3.4 (nameofserver.domain.com)

 

My question is where is the nameof server.domain.com located in the zendmd?  I can't find the attribute anywhere in zope or zendmd?

 

 

Thanks for any help.

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points