Remove config for deprecated 'tempmon_critical_temp' email
we now have critical_high and critical_low as separate emails
This commit is contained in:
		
							parent
							
								
									873cd3def9
								
							
						
					
					
						commit
						1b03841c7f
					
				
					 1 changed files with 0 additions and 13 deletions
				
			
		| 
						 | 
					@ -83,19 +83,6 @@ class tempmon_critical_low_temp(TempmonBase, Email):
 | 
				
			||||||
        return data
 | 
					        return data
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class tempmon_critical_temp(TempmonBase, Email):
 | 
					 | 
				
			||||||
    """
 | 
					 | 
				
			||||||
    Sent when a tempmon probe takes a reading which is "critical" in either the
 | 
					 | 
				
			||||||
    high or low sense.
 | 
					 | 
				
			||||||
    """
 | 
					 | 
				
			||||||
    default_subject = "Critical temperature detected"
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    def sample_data(self, request):
 | 
					 | 
				
			||||||
        data = super(tempmon_critical_temp, self).sample_data(request)
 | 
					 | 
				
			||||||
        data['status'] = self.enum.TEMPMON_PROBE_STATUS[self.enum.TEMPMON_PROBE_STATUS_CRITICAL_TEMP]
 | 
					 | 
				
			||||||
        return data
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
class tempmon_error(TempmonBase, Email):
 | 
					class tempmon_error(TempmonBase, Email):
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
    Sent when a tempmon probe is noticed to have some error, i.e. no current readings.
 | 
					    Sent when a tempmon probe is noticed to have some error, i.e. no current readings.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue