|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| AMQ Errors logs to MQ Queues | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | saurabh25281 | 
			  
				|  Posted: Mon May 20, 2019 1:00 am    Post subject: AMQ Errors logs to MQ Queues |   |  |  
		  | Centurion
 
 
 Joined: 05 Nov 2006Posts: 108
 Location: Bangalore
 
 | 
			  
				| Hi All, 
 Do we have any mechanism by which AMQ errors can be written to Queues which can be read by some applications.
 
 I know, we can have events enabled and those can be retrieved from various event queues, but do we have similar mechanism for the various other kind of error messages that go into the AMQ error logs.
 
 Regards
 Saurabh Ghosh
 |  |  
		  | Back to top |  |  
		  |  |  
		  | Vitor | 
			  
				|  Posted: Mon May 20, 2019 5:11 am    Post subject: |   |  |  
		  |  Grand High Poobah
 
 
 Joined: 11 Nov 2005Posts: 26093
 Location: Texas, USA
 
 | 
			  
				| There's nothing built in, but you could obviously use Splunk or something similar to achieve this. 
 Two questions occur to me:
 
 1 - what kind of "other applications" would be interested in the contents of the logs? The information is of value only to MQ administrators and whatever monitoring software they use, which is typically plugged into the logs because of ...
 
 2 - where would you put the messages that are warning you the queue manager can't put messages (e.g. disc full)? The reason MQ doesn't put these to queues like event messages is so it can report queue (and queue manager) failures
 _________________
 Honesty is the best policy.
 Insanity is the best defence.
 |  |  
		  | Back to top |  |  
		  |  |  
		  | PeterPotkay | 
			  
				|  Posted: Mon May 20, 2019 2:28 pm    Post subject: |   |  |  
		  |  Poobah
 
 
 Joined: 15 May 2001Posts: 7723
 
 
 | 
			  
				| 
   
	| Vitor wrote: |  
	| 1 - what kind of "other applications" would be interested in the contents of the logs? The information is of value only to MQ administrators and whatever monitoring software they use
 |  
 Everybody wants to see everyone else's logs, but no one wants to share their own logs.
 
 
 Saurabh,
 While they won't have everything the MQ Error logs will, you may want to alos consider looking at the various SYSTEM.ADMIN.*.EVENT queues. If the corresponding events are enabled for the queue manager, these queues will contain event messages that will likely be very useful to someone considering looking at the MQ error logs anyway.
 _________________
 Peter Potkay
 Keep Calm and MQ On
 |  |  
		  | Back to top |  |  
		  |  |  
		  | dextermbmq | 
			  
				|  Posted: Tue May 21, 2019 6:29 am    Post subject: |   |  |  
		  | Voyager
 
 
 Joined: 26 Jul 2014Posts: 77
 
 
 | 
			  
				| Just to add MQv9.1 provides options to divert the MQ Logs to Syslogs. If not to queues , we can atleast divert the logs to syslogs and allow applications to read it from there. I am configuring the same in my environment for one of the compliance testings. |  |  
		  | Back to top |  |  
		  |  |  
		  |  |  |  
  
	|    |  | Page 1 of 1 |  
 
 
  
  	| 
		
		  | 
 
 | You cannot post new topics in this forum You cannot reply to topics in this forum
 You cannot edit your posts in this forum
 You cannot delete your posts in this forum
 You cannot vote in polls in this forum
 
 |  |  |  |