|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ log file script |
« View previous topic :: View next topic » |
Author |
Message
|
nani430 |
Posted: Thu Feb 05, 2015 7:45 am Post subject: MQ log file script |
|
|
Newbie
Joined: 29 Oct 2014 Posts: 7
|
/var/mqm/logs 60% reached then generate one alert so can u please tell me the script? |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Feb 05, 2015 7:55 am Post subject: Re: MQ log file script |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
nani430 wrote: |
/var/mqm/logs 60% reached then generate one alert so can u please tell me the script? |
What script? To do what?
What type of logs? Circular or linear?
Did you receive an error message? What was the exact error message? Paste it here. Did it have an AMQnnnn kind of message id? Did you research it? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 05, 2015 10:57 am Post subject: Re: MQ log file script |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nani430 wrote: |
/var/mqm/logs 60% reached then generate one alert so can u please tell me the script? |
This isn't an MQ question. You do this the same way you'd check for any UNIX file system to be 60% fille (i.e. with the relevant OS command depending on /var/mqm/logs being local / SAN / NFS / A.N.Other) and then you'd alert using whatever mechanism is relevant, starting with a message to the sys log for your monitoring software to see, moving through an email via the OS and ending with some kind of API call to your ticketing software.
And speaking of monitoring software, why do you need a script? Whatever you have monitoring the health of your UNIX server almost certainly has the ability currently to determine the free percentage of a file system and react. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|