Author |
Message
|
etheriel |
Posted: Thu Dec 13, 2012 5:50 am Post subject: How to be informed of BIPxxxx messages ? |
|
|
Newbie
Joined: 28 Nov 2012 Posts: 3
|
Hello,
Excuse me if my question is obvious, but I'm new to WMB.
I'm in charge of an existing WMB based application, and we ask me to forward any log/messages raised in it to a global supervisor (used by many others applications, mainly written in Java).
It's not a problem for my own messages, but I need to log BIPxxxx messages to this global supervisor too. At this time, all those BIP messages are sent to the syslog. I can't change syslog.conf (forbidden by our OS experts...).
What I would like is to be informed (by a special input node or registered java method or in any other way) for all messages raised by WMB (BIPxxxx messages, my own LOG EVENT, ...) so I can forward them to the global supervisor.
Any idea ? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Dec 13, 2012 5:56 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
You use a monitoring tool that scans syslog and alerts accordingly.
What's your plan to acquire the necessary knowledge so that you can be successful with WMB? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
zpat |
Posted: Thu Dec 13, 2012 5:57 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
You can add entries to syslog.conf to get these messages to another log location - that is quite safe.
user.debug /var/mqsi/error.log rotate size 10m files 5
Then set up your system management agent to monitor that log file and send SNMP traps to your system management server.
That would be the standard approach. But because the BIP messages tend to come out as a bunch, we have coded our own script to extract the related group of messages and send them as one event. |
|
Back to top |
|
 |
etheriel |
Posted: Thu Dec 13, 2012 6:09 am Post subject: |
|
|
Newbie
Joined: 28 Nov 2012 Posts: 3
|
Well... It was my first approach (monitoring the syslog file...) but I'm not enthusiastic with it. And as I said, I can't modify syslog.conf (this file is managed by our OS Team, and they have many many units to manage, so they don't want to deal with configuration diversity)
lancelotlinc wrote: |
What's your plan to acquire the necessary knowledge so that you can be successful with WMB? |
Unfortunatly, it depends on my boss plans  |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Dec 13, 2012 6:15 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 13, 2012 7:37 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
etheriel wrote: |
Well... It was my first approach (monitoring the syslog file...) but I'm not enthusiastic with it. |
Why not? What issues do you see?
etheriel wrote: |
I can't modify syslog.conf (this file is managed by our OS Team, and they have many many units to manage, so they don't want to deal with configuration diversity) |
You don't need to modify the configuration. It's also likely that this team already has something monitoring the syslog and reporting errors. It's typically a trivial task to add a rule to forward BIP messages so reported. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Dec 13, 2012 9:27 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
zpat wrote: |
You can add entries to syslog.conf to get these messages to another log location - that is quite safe.
user.debug /var/mqsi/error.log rotate size 10m files 5 |
Which is AIX. Would anybody have RHEL 6.3 procedures/syntax handy?
The IC is vague and says to "read your OS manuals" anyway. |
|
Back to top |
|
 |
|