Archived community.zenoss.org | full text search
Skip navigation
1645 Views 2 Replies Latest reply: Nov 9, 2011 10:20 PM by brian vestyck RSS
brian vestyck Newbie 6 posts since
Nov 2, 2011
Currently Being Moderated

Nov 7, 2011 8:13 PM

Unable to get a top level object to register.

Folks:

 

I have tried to get a top level object (something along the lines like "Manufacturers") to register into the dmd using the zenpack methodology.  I looked at the example of example.Techniques and put in my item (like the TopLevel.py in example") in the directory and also added the equivalent migrate file also.  But the object is not registering in the DMD.  I then proceeded to copy and install the example.Techniques zenpack to see if it would register.  I had a problem with the example zenpack, as I needed to delete out the report objects from it and then create the egg to upload into the server.  Once I did that, the example zenpack would load, but still I would not see the "TopLevel" item in the DMD.  I was able to locate the other items in the database (websites, and such as they were placed into the database).  The loaded objects that the ZenPacks details via the advanced/zenpacks is that the website stuff has registered in (all rdd items) but there is no toplevel object registered in that.  I figure if I can figure out how to get the example to register the toplevel, i can get my zenpack to register my item as well.  What would be the cause of this not to register.  I have even tried putting in bogus python code to see if I get an error when it tries to do the "add_managexxx" but not even seeing any error on that.  What would be the cause not to have an item register in the DMD?

 

I have been able to do the "manual" registration of an object (using manufactures as an example) and was able to get skins to display some objects.  I since then re-installed zenoss to wipe out that version, and am now trying to do this via a zenpack.  We want to be able to have it self contained and done via the zenpacks, rather than creating some other process that install and modifies files to get these objects into the DMD.

 

THanks in advance.

 

Brian

More Like This

  • Retrieving data ...

Legend

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