Archived community.zenoss.org | full text search
Skip navigation
1799 Views 1 Reply Latest reply: Aug 3, 2011 10:12 PM by Andrey Telepin RSS
johnnynoc Rank: Green Belt 102 posts since
Jan 25, 2011
Currently Being Moderated

Aug 3, 2011 5:39 PM

Custom event report question

I'm trying to create a custom event report in Zenoss 3.1.0 and am having a terribly difficult time determining how to accomplish what the code snippet below does.

 

for e in dmd.ZenEventManager.getEventList():
  if e.eventClass == '/Change/Set/Status':
    print e.device, e.component, e.summary, e.firsttime
How do I formulate my query so it iterates through all of the current events similar to above?
Thanks,
John

More Like This

  • Retrieving data ...

Legend

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