Author |
Message
|
lkathir |
Posted: Mon Feb 13, 2006 9:43 am Post subject: evmon.c |
|
|
Newbie
Joined: 11 Jan 2006 Posts: 5
|
I found the MS0K module with the evmon.c and the PDF docs. I was able to compile it and use it for monitoring Queue Depth events. The issue I have is we have MQ running in multiple flavour of OS and I have to do this compiling in each OS,
My question - Is this source code ported on to Perl? If yes can any one let me know the link to the code?
-Kathir |
|
Back to top |
|
 |
wschutz |
Posted: Mon Feb 13, 2006 9:47 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
afaik, there is no "perl" port of evmon ...
why don't you just link it as a client and run it centrally? in any case, is compiling it a problem?, its a simple program. _________________ -wayne |
|
Back to top |
|
 |
lkathir |
Posted: Mon Feb 13, 2006 9:59 am Post subject: |
|
|
Newbie
Joined: 11 Jan 2006 Posts: 5
|
Thanks, I am not a MQ person, so I didnt understand the part when you say 'run it centrally' How do I do that?
Also If it is only a compilation for HP/Solaris/AIX (the three major OS where MQ is running in our env ) - Once for each OS, then I am ok with that. Just three diff compilations and binaries to maintain.
But Do I need to compile it for each different version of OS or each different version of MQ?
-Kathir |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Feb 13, 2006 10:09 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What Wayne means is that you should compile it for one platform, and run it as a client application connecting to the queue managers on other platforms.
There is also the MQSeries::Message:PCF class in the perl MQSeries-1.23 package. You can use this to reimplement the logic in evmon.
But if you're not an MQ person, you're better off running evmon as a client.
You should not need to compile it for different levels of MQ, but you will need to compile it for each OS. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Mon Feb 13, 2006 10:10 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
lkathir wrote: |
Thanks, I am not a MQ person, so I didnt understand the part when you say 'run it centrally' How do I do that? |
MQ allows you to link a program as an MQ client, which means you can have a central machine (say a linux desktop) make connections to qmgrs in your network and get messages from queues on those machines. So my suggestion was to link evmon with the MQ client libraries (mqic library) and run several copies, each using the client connection to the machines you want to monitor.
Quote: |
Also If it is only a compilation for HP/Solaris/AIX (the three major OS where MQ is running in our env ) - Once for each OS, then I am ok with that. Just three diff compilations and binaries to maintain.
But Do I need to compile it for each different version of OS or each different version of MQ?
-Kathir |
Just different versions of the OS. A evmon made with MQ V5.3 files will work ok with MQ V6 and in the reverse as well. _________________ -wayne |
|
Back to top |
|
 |
lkathir |
Posted: Tue Feb 14, 2006 7:58 am Post subject: |
|
|
Newbie
Joined: 11 Jan 2006 Posts: 5
|
Thanks a lot to both of you. This forum is really helpful and thanks again for your time.
-Kathir |
|
Back to top |
|
 |
|