FW: Nagios to monitor MQSeries
Stanley Hopcroft
Stanley.Hopcroft at IPAustralia.Gov.AU
Fri Feb 7 00:06:50 CET 2003
Dear Ladies and Gentlemen,
I wouldn't get too excited about this,
> >>when you install the MQSeries client (with developer
> >>support), you get some sample programs. One of these sample ...
I think the key statement is 'the MQSeries client (with developer
support)'.
MQSeries is a commercial multi-platform product that ships with
different libraries including a developer API for each platform.
I suspect you need these libraries for the scripts to be of any use; the
libraries would have to be installed on the Nag host if you want a local
plugin using that script. Obviously this a problem for Nag hosts that
have no MQ suppport such as FreeBSD/NetBSD/OpenBSD.
If you are a MQ Series site and have the appropriate MQ libraries
available and installed on your Nag monitor, then sure, give the script
a crack.
Otherwise, you may do what my employer does (an AIX/MQ site). A DBA
colleague wrote an application using the libraries to send a message to
the the channels of interest that the channel then loops back. The
application exits after writing a timestamp and an MQ return code
(related to whether or not the mesage came back) into an NFS exported
file that Nag can read (although NCSA would have been an option had I
known of it then).
Or use the IBM script on a host fitted with the libraries in a 'plugin'
that sends the result to Nag in someway, or have Nag execute the script
on that host by SSH.
HTH,
Yours sincerely.
On Thu, Feb 06, 2003 at 04:04:05PM -0500, Russell Scibetti wrote:
> Can you share the shell script with us? We're looking into using the
> same thing.
>
> Russell
>
> Volker.Aust at premiere.de wrote:
>
> >Sorry, I have forgotten the list...
> >
> >>-----Original Message-----
> >>From: Aust, Volker, PRE
> >>Sent: Thursday, February 06, 2003 1:06 PM
> >>To: 'Detlef.Knop at gmx.de'
> >>Subject: RE: [Nagios-users] Nagios to monitor MQSeries
> >>
> >>
> >>Hi Detlef,
> >>
> >>when you install the MQSeries client (with developer
> >>support), you get some sample programs. One of these sample
> >>programs is "amqsailq", which lists the length of all
> >>MQ-queues of a server. You can use "amqsailq" local or
> >>remote. When you use this program (or a mofified version,
> >>that only checks important queues like we do (a colleague has
> >>modified some of the sample programs)) remote, you can make
> >>two tests with one call:
> >>
> >>- check the connectivity to the MQ-server and the -service
> >>
> >>- check the length of some important queues (too many, too few, ...)
> >>
> >>I have wraped the program in a shell script to generate the
> >>Nagios stuff (return-code and output).
> >>
> >>Hope this helps.
> >>
> >>-vol
> >>
> >>>-----Original Message-----
> >>>From: Detlef.Knop at gmx.de [mailto:Detlef.Knop at gmx.de]
> >>>Sent: Thursday, February 06, 2003 7:40 AM
> >>>To: nagios-users at lists.sourceforge.net
> >>>Subject: [Nagios-users] Nagios to monitor MQSeries
> >>>
> >>>
> >>>Dear all,
> >>>
> >>>I would like to check whether MQSeries is available as a
> >>>service on several
> >>>of my hosts. My first approach was to use the check_tcp
> >>>plugin which from my
> >>>point of view worked fine. But the people looking after
> >>>MQSeries on these
> >>>machines came back to me and complained that each time the
> >>>plugin ran MQSeries
> >>>reported errors on these systems (two errors per check)
> >>>because MQSeries
> >>>detects the incoming connection and wants to receive proper
> >>>data, but then the
> >>>connection is closed.
> >>>
> >>>Has anyone ever tried to do the same and found a solution?
> >>>Maybe there is a
> >>>way using passive checks, or we might have to look into the
> >>>possibility to
> >>>write a plugin.
> >>>
> >>>Kind regards
> >>>
> >>>Detlef Knop
> >>>
> >>>--
> >>>+++ GMX - Mail, Messaging & more http://www.gmx.net +++
> >>>NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
> >>>
> >>>
> >>>
> >>>-------------------------------------------------------
> >>>This SF.NET email is sponsored by:
> >>>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> >>>http://www.vasoftware.com
> >>>_______________________________________________
> >>>Nagios-users mailing list
> >>>Nagios-users at lists.sourceforge.net
> >>>https://lists.sourceforge.net/lists/listinfo/nagios-users
> >>>
> >
> >
> >-------------------------------------------------------
> >This SF.NET email is sponsored by:
> >SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See!
> >http://www.vasoftware.com
> >_______________________________________________
> >Nagios-users mailing list
> >Nagios-users at lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
> >
>
> --
> Russell Scibetti
> Quadrix Solutions, Inc.
> http://www.quadrix.com
> (732) 235-2335, ext. 7038
>
>
--
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------
'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'
from Meditation 17, J Donne.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
More information about the Users
mailing list