def __init__(self, id, buildRelations=True): ManagedEntity.__init__(self, id, buildRelations=buildRelations) os = OperatingSystem() self._setObject(os.id, os) hw = IBM3584DeviceHW() self._setObject(hw.id, hw) self._lastPollSnmpUpTime = ZenStatus(0) self._snmpLastCollection = 0 self._lastChange = 0
def __init__(self, id, buildRelations=True): ManagedEntity.__init__(self, id, buildRelations=buildRelations) os = DellEqualLogicDeviceOS() self._setObject(os.id, os) hw = DeviceHW() self._setObject(hw.id, hw) self._lastPollSnmpUpTime = ZenStatus(0) self._snmpLastCollection = 0 self._lastChange = 0 self.buildRelations()
def __init__(self, id, buildRelations=True): ManagedEntity.__init__(self, id, buildRelations=buildRelations) os = AIXOperatingSystem() self._setObject(os.id, os) hw = AIXDeviceHW() self._setObject(hw.id, hw) #self.commandStatus = "Not Tested" self._lastPollSnmpUpTime = ZenStatus(0) self._snmpLastCollection = 0 self._lastChange = 0
def __init__(self, id, buildRelations=True): ManagedEntity.__init__(self, id, buildRelations=buildRelations) os = SNIADeviceOS() self._setObject(os.id, os) hw = SNIADeviceHW() self._setObject(hw.id, hw) self._lastPollSnmpUpTime = ZenStatus(0) self._snmpLastCollection = 0 self._lastChange = 0 self.buildRelations()
def __init__(self, id, buildRelations=True): ''' Initialize a new device. Overridden so that the os property can be created as subclass of the standard OperatingSystem class. ''' ManagedEntity.__init__(self, id, buildRelations=buildRelations) os = OperatingSystem() self._setObject(os.id, os) hw = DeviceHW() self._setObject(hw.id, hw) self._lastPollSnmpUpTime = ZenStatus(0) self._snmpLastCollection = 0 self._lastChange = 0 if hasattr(self, '_create_componentSearch'): self._create_componentSearch()