class Meta: identifier = GlobalId("address") alert_conditions = [ alert_conditions.ValueCondition("status", warn_states=["FAILED"], error_states=["BADLY_FAILED"], message="Controller failure"), alert_conditions.UpperBoundCondition( "temperature", warn_bound=85, error_bound=95, message="High temperature warning", id="temp_high"), alert_conditions.LowerBoundCondition( "temperature", warn_bound=0, message="Low temperature warning", id="temp_low"), alert_conditions.ValueCondition("multi_status", warn_states=["FAIL1"], message="Failure 1", id="multi_status_failure1"), alert_conditions.ValueCondition("multi_status", warn_states=["FAIL2"], message="Failure 2", id="multi_status_failure2"), alert_conditions.ValueCondition("multi_status", warn_states=["FAIL1", "FAIL2"], message="Failure 1 or 2", id="multi_status_failure12"), ]
class Meta: identifier = GlobalId('address') alert_conditions = [ alert_conditions.ValueCondition('status', warn_states=['FAILED'], error_states=['BADLY_FAILED'], message="Controller failure"), alert_conditions.UpperBoundCondition( 'temperature', warn_bound=85, error_bound=95, message="High temperature warning", id='temp_high'), alert_conditions.LowerBoundCondition( 'temperature', warn_bound=0, message="Low temperature warning", id='temp_low'), alert_conditions.ValueCondition('multi_status', warn_states=['FAIL1'], message="Failure 1", id='multi_status_failure1'), alert_conditions.ValueCondition('multi_status', warn_states=['FAIL2'], message="Failure 2", id='multi_status_failure2'), alert_conditions.ValueCondition('multi_status', warn_states=['FAIL1', 'FAIL2'], message="Failure 1 or 2", id='multi_status_failure12'), ]
class Meta: identifier = GlobalId('address') alert_conditions = [ alert_conditions.ValueCondition('status', warn_states = ['FAILED'], message = "Controller failure"), alert_conditions.UpperBoundCondition('temperature', warn_bound = 85, message = "High temperature warning"), alert_conditions.LowerBoundCondition('temperature', warn_bound = 0, message = "Low temperature warning"), alert_conditions.ValueCondition('multi_status', warn_states = ['FAIL1'], message = "Failure 1"), alert_conditions.ValueCondition('multi_status', warn_states = ['FAIL2'], message = "Failure 2"), alert_conditions.ValueCondition('status', warn_states = ['FAIL1', 'FAIL2'], message = "Failure 1 or 2"), ]
class Meta: identifier = GlobalId('serial') relations = [ relations.Provide( provide_to=('linux', 'ScsiDevice'), attributes=['serial']), ] charts = [ { 'title': "Bandwidth", 'series': ['read_bytes_sec', 'write_bytes_sec'] }, { 'title': "Ops", 'series': ['read_ops_sec', 'write_ops_sec'] }, { 'title': "Latency distribution", 'series': ['write_latency_hist'] } ]
class Meta: identifier = GlobalId("serial") relations = [relations.Provide(provide_to=("linux", "ScsiDevice"), attributes=["serial"])]
class Meta: identifier = GlobalId("name") label = "Alpha"
class Meta: identifier = GlobalId("container", "number")
class Meta: identifier = GlobalId("host_id", "plugin_name")
class Meta: identifier = GlobalId("uuid") icon = "lvm_vg" label = "Volume group"
class Meta: identifier = GlobalId('container', 'number')
class Meta: identifier = GlobalId('host_id', 'plugin_name')
class Meta: identifier = GlobalId('uuid', 'vg') icon = 'lvm_lv' label = 'Logical volume'
class Meta: identifier = GlobalId('uuid') icon = 'lvm_vg' label = 'Volume group'
class Meta: identifier = GlobalId('name') label = "Alpha" charts = [{'title': 'IO', 'series': ['read', 'write']}]
class Meta: identifier = GlobalId('name', 'name_scope')
class Meta: identifier = GlobalId('wwid')
class Meta: identifier = GlobalId('uuid')
class Meta: identifier = GlobalId("uuid", "vg") icon = "lvm_lv" label = "Logical volume"
class Meta: identifier = GlobalId("address")
class Meta: identifier = GlobalId("serial") label = "SCSI device"
class Meta: identifier = GlobalId('name')
class Meta: identifier = GlobalId("uuid")
class Meta: identifier = GlobalId('address')
class Meta: identifier = GlobalId("address1", "address2")
class Meta: identifier = GlobalId("name") label = "Alpha" charts = [{"title": "IO", "series": ["read", "write"]}]
class Meta: identifier = GlobalId("name", "name_scope")
class Meta: identifier = GlobalId('address1', 'address2')
class Meta: identifier = GlobalId("name")
class Meta: identifier = GlobalId('serial') relations = [relations.Provide(provide_to=('linux', 'ScsiDevice'), attributes=['serial'])]