Package ZenEvents :: Module interfaces :: Class IEventStatus
[hide private]
[frames] | no frames]

Class IEventStatus

source code

zope.interface.Interface --+
                           |
                          IEventStatus

Query real-time event system for status information.

Instance Methods [hide private]
 
getEventRainbow(self, where="")
Return a list of tuples with number of events for each severity and the color of the severity that the number represents.
source code
 
getOrganizerStatus(self, orgType, orgName, severity=None, where="")
Return a count of events that match where for orgName and children.
source code
 
getDeviceStatus(self, device, severity=None, where="")
Return a count of events that match where for a particular device.
source code
 
getComponentStatus(self, device, severity=None, where="")
Return a count of events that match where for a particular component.
source code
Method Details [hide private]

getEventRainbow(self, where="")

source code 
Return a list of tuples with number of events for each severity and the color of the severity that the number represents. ((5,"#FF0000"), (14,"#FFFF00")...)