TECHZEN Zenoss User Community ARCHIVE  

Definitive list of TALES schema objects?

Subject: Definitive list of TALES schema objects?
Author: John Reed
Posted: 2018-05-22 07:57

Hello,

When creating reports, in the documentation, they refer to a "reports" schema in TALES but they give no information on what objects are in that schema. I've found that the most frustrating thing about working with TALES is that there is that the documentation gives limited documentation on schemas and the objects that they have. Right now, there is only info in the appendix of the administration guide on the event and device schema.

How about "here" or "report" schemas? Does anyone have a good list of known objects and schemas for TALES other than the limited information in the Zenoss administration documentation? 

Thanks,

------------------------------
John Reed
DevOps Engineer
Bluescape
CA
------------------------------


Subject: RE: Definitive list of TALES schema objects?
Author: Jane Curry
Posted: 2018-05-23 04:22

I wish I had, John!  The "definitive list" comes from reading the code! 

That said, you might pull the ZenPack Developers' Guide from  https://github.com/ZenossDevGuide/DevGuide  .  It has some chapters that attempt to explain some of the objects, attributes and methods of Zenoss - not around reporting though.

The other thing you might do for clues is to try and find ZenPacks that have reports in them.  I just tried going to where ZenPacks are generally installed by default - /opt/zenoss/ZenPacks, and used:

find . -name *rpt

If you have a lot of link-installed ZenPacks then you may need to start elsewhere.  If you find ZenPacks with a reports directory, be sure to check any "plugins" directory too - code in there provides python methods to help populate report fields.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


< Previous
Looking for a description of how the Zenoss Core source is organized
  Next
Looking for solution for non-functioning hyperlinks
>