| Author | 
		  Message
		 | 
		
		  | wmbwmq | 
		  
		    
			  
				 Posted: Mon Jul 30, 2018 9:06 am    Post subject: MQMI failover alerts? | 
				     | 
			   
			 
		   | 
		
		
		    Acolyte
 
 Joined: 18 Jul 2011 Posts: 66
  
  | 
		  
		    
			  
				Hi Guys,
 
 
Can someone please tell me a reliable way to configure email alert in case of a fail-over in an MQMI setup.
 
I don't see anything going into syslog upon an failover (unlike regular HA failover) so can't monitor them using a script. Other option that I can think of is using trigger based on START/STOP of the QMGR.
 
 
Thanks, | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | exerk | 
		  
		    
			  
				 Posted: Mon Jul 30, 2018 9:23 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 02 Nov 2006 Posts: 6339
  
  | 
		  
		    
			  
				Surely your enterprise monitoring system has an MQ bolt-on that will do this for you?    _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | markt | 
		  
		    
			  
				 Posted: Mon Jul 30, 2018 9:37 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Knight
 
 Joined: 14 May 2002 Posts: 512
  
  | 
		  
		    
			  
				| QMgr start events give info in the ReasonQualifier field | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | wmbwmq | 
		  
		    
			  
				 Posted: Fri Aug 03, 2018 8:01 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Acolyte
 
 Joined: 18 Jul 2011 Posts: 66
  
  | 
		  
		    
			  
				Thanks exerk, yeah I agree. But I was looking for a way to do this myself using a script and without relying on those grumpy Unix admins or Monitoring folks   
 
Mark, thanks for the clever idea. Making use of QMGR events does the trick. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | belchman | 
		  
		    
			  
				 Posted: Fri Aug 03, 2018 10:47 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Partisan
 
 Joined: 31 Mar 2006 Posts: 386 Location: Ohio, USA 
  | 
		  
		    
			  
				Thanks. I was wondering the same thing. I have an F5 in front of mine and was going to see if I could trap when the F5 noticed the new IPaddr.
 
 
I will investigate using events _________________ Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |