lyntongrice wrote:
> Hi there,
> This looks pretty promising......how easy is it to get a "Hello World"
> portlet to come up in the front dashboard?
>
Speaking from my own experience, it's not particularly easy. :( To do
development anything close to what it sounds like you desire requires
significant knowledge of Zope (everything except DTML), Javascript and some
poking about with the guts of Zenoss. IMO, the developer documentation is
not yet of sufficient quality and depth to be useful to someone who doesn't
know Zope.
I think that it is currently not practical for you to demo what you want
(ie sexy graphical environment to **manage** your environment), but it still
may be possible to get something useful going. I've been attempting something
similar in concept (Tivoli Storage Manager management and monitoring tool), but
there is currently not a "plugin" style way (at least not documented -- code is
*NOT* documentation :) to add application management tools.
Since my previous response to you outlined some simple possible approaches
to adding monitoring for SAP environments, I'm going to presume that you have
the functionality that you need, but that you just want to add some
management-friendly items. How about starting off by using Zenoss as a
management portal, allowing you to keep all of the links etc to your other
management tools inside of Zenoss?
As you've already surmised, the Zope management interface is at
http://<zenoss server>:8080/zport/manage
Login and then we can start!
Modify the navigation bar:
Go to
/zport/portal_skins/zenmodel
Click on leftPane and when it brings up the code for it, click on the
'Customize' button. This will make a copy of the file and put it into the
/zport/portal_skins/custom
directory. Edit the file to add in a link to a page that you'd like to
create (eg sap_portal).
Create a simple screen that you can use to modify:
Navigate to
/zport/portal_skins/custom
and then select 'Page Template' from the menu next to the 'Add' button (top,
far right hand side of the screen) and then click Add. Give it a name in the
'id' field (eg sap_portal), and then click 'Add and Edit'.
This will bring up a page with some simple HTML code. Add in your own raw
HTML to start (eg a simple 'Hello World' type page). More info about this
stuff (Zope Page Templates or ZPT) can be found in the 'Zope Book' on the
zope.org website. There's a learning curve to getting the hang of how
everything hangs together, so you'll probably want to avoid doing anything too
fancy.
To test:
In another window, go back to the main Zenoss dashboard and click on
refresh. You should see the navigation bar with your new entry and when you
click on it it will bring up your "Hello World" HTML page.
I realize that it's not glorious, but I'm hoping that it will at least get
you started. If your demo goes well and you'd like to put together something
more sophisticated, let me know and I'll see what I can do to help you out. I
don't have tons of time, but I could probably help to put together something
with much more polish over the course of a few weeks (eg zenpack, simple user
interface that makes use of data in Zenoss).
Good luck with the demo!
kells
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=13890#13890
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users