mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-10-31 19:24:25 +01:00 
			
		
		
		
	Ignore service reachability for status.dat output.
This commit is contained in:
		
							parent
							
								
									4d02780f4c
								
							
						
					
					
						commit
						6982656f2d
					
				| @ -120,17 +120,6 @@ void CompatComponent::DumpServiceStatus(ofstream& fp, const Service::Ptr& servic | ||||
| 
 | ||||
| 	int state = service->GetState(); | ||||
| 
 | ||||
| 	if (!service->IsReachable()) { | ||||
| 		state = StateCritical; | ||||
| 		 | ||||
| 		String text = "One or more parent services are unavailable."; | ||||
| 
 | ||||
| 		if (output.IsEmpty()) | ||||
| 			output = text; | ||||
| 		else | ||||
| 			output = text + " (" + output + ")"; | ||||
| 	} | ||||
| 
 | ||||
| 	if (state > StateUnknown) | ||||
| 		state = StateUnknown; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user