Package Products :: Package ZenModel :: Module EventView :: Class EventView
[hide private]
[frames] | no frames]

Class EventView

source code

object --+
         |
        EventView
Known Subclasses:

This class provides convenience methods for retrieving events to any subclass. Note that this class is currently transitioning between the old event system and ZEP. Most of the methods are marked as deprecated except those that go through ZEP.

Instance Methods [hide private]
 
getEventManager(self, table='status')
Return the current event manager for this object.
source code
 
getStatusString(self, statclass, **kwargs)
Return the status number for this device of class statClass.
source code
 
getEventSummary(self, severity=1, state=1, prodState=None)
Return an event summary list for this managed entity.
source code
 
getStatusImgSrc(self, status)
Return the image source for a status number
source code
 
getStatusCssClass(self, status)
Return the css class for a status number.
source code
 
_getCurrentUserName(self) source code
 
_redirectToEventConsole(self, msg, REQUEST=None) source code
 
manage_ackEvents(self, evids=(), REQUEST=None)
Set event state from this managed entity.
source code
 
manage_deleteEvents(self, evids=(), REQUEST=None)
Delete events from this managed entity.
source code
 
manage_undeleteEvents(self, evids=(), REQUEST=None)
Delete events from this managed entity.
source code
 
getStatus(self, statusclass=None, **kwargs)
Return the status number for this device of class statClass.
source code
 
getUUID(self) source code
 
getEventSeveritiesCount(self)
Uses the zep facade to return a list of event summaries for this entity
source code
 
getWorstEventSeverity(self)
Uses Zep to return the worst severity for this object
source code
Class Variables [hide private]
  security = ClassSecurityInfo()
Method Details [hide private]

getEventSummary(self, severity=1, state=1, prodState=None)

source code 

Return an event summary list for this managed entity.

Decorators:
  • @zepConnectionError(())

manage_ackEvents(self, evids=(), REQUEST=None)

source code 

Set event state from this managed entity.

Decorators:
  • @zepConnectionError()

manage_deleteEvents(self, evids=(), REQUEST=None)

source code 

Delete events from this managed entity.

Decorators:
  • @zepConnectionError()

manage_undeleteEvents(self, evids=(), REQUEST=None)

source code 

Delete events from this managed entity.

Decorators:
  • @zepConnectionError()

getStatus(self, statusclass=None, **kwargs)

source code 

Return the status number for this device of class statClass.

Decorators:
  • @zepConnectionError(0)

getEventSeveritiesCount(self)

source code 

Uses the zep facade to return a list of event summaries for this entity

Decorators:
  • @zepConnectionError({})

getWorstEventSeverity(self)

source code 

Uses Zep to return the worst severity for this object

Decorators:
  • @zepConnectionError(0)