def end_event(self):
     return AlertEvent(
         message_str="Monitoring resumed for BMC %s on server %s" %
         (self.alert_item, self.alert_item.host),
         alert_item=self.alert_item.host,
         alert=self,
         severity=logging.INFO)
 def end_event(self):
     return AlertEvent(
         message_str="Monitoring resumed for power control device %s" %
         self.alert_item,
         alert_item=self.alert_item,
         alert=self,
         severity=logging.INFO)
Esempio n. 3
0
 def end_event(self):
     return AlertEvent(
         message_str="LNet started on server '%s'" % self.alert_item.host,
         alert_item=self.alert_item.host,
         alert=self,
         severity=logging.WARNING,
     )
Esempio n. 4
0
 def end_event(self):
     return AlertEvent(
         message_str="LNet NIDs updated for server %s" % self.alert_item,
         alert_item=self.alert_item,
         alert=self,
         severity=logging.INFO,
     )
 def end_event(self):
     return AlertEvent(
         message_str="Target '%s' completed recovery" % self.alert_item,
         alert_item=self.alert_item.active_host,
         alert=self,
         severity=logging.INFO,
     )
 def end_event(self):
     return AlertEvent(
         message_str="%s started" % self.alert_item,
         alert_item=self.alert_item.first_known_host,
         alert=self,
         severity=logging.INFO,
     )