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

# Class ZenStatus

source code

    Globals.Persistent --+
                         |
                        ZenStatus

Known Subclasses:
  - ZenAvailability

Instance Methods | [hide private]
__init__(self, status=-1) | source code
getStatus(self) get objects current status this is the number of failure increments that have been called | source code
getStatusString(self) get status as a string will convert as per converstions | source code
setStatus(self, status) | source code
incr(self) increment the failure status | source code
reset(self) reset status when failure is over | source code
color(self) get the color to display in the gui | source code

Class Variables | [hide private]
| conversions = `{-2: "No DNS",-1: "Not Tested", 0: "Up",}`