Archived community.zenoss.org | full text search
Skip navigation
21041 Views 1 Reply Latest reply: Jun 8, 2009 9:18 AM by evilk RSS
evilk Rank: White Belt 24 posts since
May 8, 2009
Currently Being Moderated

Jun 8, 2009 8:13 AM

Adding new tabs to Device View

Hi,

I'm trying to add new tab to device view. I need to have separate pages for RRD graphs for OS ('Perf' tab) and custom ('MyPerf' tab) performance templates. I modified appropriate Page templates and ZenModel/RRDView.py to get different graphs for each page.

I managed to do this by adding the new tab info to factory_type_information ZenModel/Device.py, but the problem is that then the change applies to every device in the system. I would like that 'MyPerf' tab would be visible only to devices under specific DeviceClass i.e. /Device/Server/MyServer/.

Zenoss dev guide instructs how to add new tabs with DMD: http://www.zenoss.com/community/docs/zenoss-dev-guide/2.4.0/ch13s06.html . Unfortunately that doesn't help either because I couldn't find a way to modify servers belonging to specific DeviceClass. I was able to modify single server with id, but that's not very handy.

Hard stuff happy

More Like This

  • Retrieving data ...