Include client key in disabled probe list email
This commit is contained in:
		
							parent
							
								
									aa98257448
								
							
						
					
					
						commit
						ab38143039
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		|  | @ -137,6 +137,7 @@ class tempmon_disabled_probes(Email): | ||||||
|                 tempmon.Client(config_key='foo', hostname='foo.example.com'), |                 tempmon.Client(config_key='foo', hostname='foo.example.com'), | ||||||
|             ], |             ], | ||||||
|             'disabled_probes': [ |             'disabled_probes': [ | ||||||
|                 tempmon.Probe(description="north wall of walk-in cooler"), |                 tempmon.Probe(description="north wall of walk-in cooler", | ||||||
|  |                               client=tempmon.Client(config_key='bar')), | ||||||
|             ], |             ], | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  | @ -12,7 +12,7 @@ | ||||||
|         <h3>Disabled Probes</h3> |         <h3>Disabled Probes</h3> | ||||||
|         <ul> |         <ul> | ||||||
|           % for probe in disabled_probes: |           % for probe in disabled_probes: | ||||||
|               <li>${probe}</li> |               <li>${probe} (for client: ${probe.client.config_key})</li> | ||||||
|           % endfor |           % endfor | ||||||
|         </ul> |         </ul> | ||||||
|     % endif |     % endif | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar