FW: Nagios to monitor MQSeries

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Fri Feb 7 20:45:00 CET 2003


What was the incantation you used for compiling amqsailq.c?  I tried:

gcc -o amqsailq -I ../inc amqsailq.c

but no joy.

jc

> -----Original Message-----
> From: Volker.Aust at premiere.de [mailto:Volker.Aust at premiere.de]
> Sent: Friday, February 07, 2003 3:04 AM
> To: Carroll, Jim P [Contractor]; wim at hsmade.com
> Cc: nagios-users at lists.sourceforge.net
> Subject: RE: FW: [Nagios-users] Nagios to monitor MQSeries
> 
> 
> I have talked about IBM MQSeries and I never said, that it was not an
> proprietary product. I do not check MQ from the Nagios host 
> (Solaris 8 x86).
> I call my script (which calls a modified sample program) 
> through NRPE on a
> Solaris 9 Sparc host with a MQ Client:
> 
> $ pkginfo -l | fgrep -i mq
>    PKGINST:  mqm
>       NAME:  WebSphere MQ Client for Sun Solaris
> 
> $ ls -l /opt/mqm/samp/amqsailq.c
> -r--r--r--   1 mqm      mqm        19373 Jun 14  2002
> /opt/mqm/samp/amqsailq.c
> 
> The colleague have found/modified/written a program "queuedeep", that
> queries the length of a single queue from the MQ-server. I 
> have wraped this
> program in a shell script to generate the error-code/output 
> for Nagios.
> 
> -vol
> 
> > -----Original Message-----
> > From: Carroll, Jim P [Contractor] 
> [mailto:jcarro10 at sprintspectrum.com]
> > Sent: Thursday, February 06, 2003 7:11 PM
> > To: 'wim at hsmade.com'; Aust, Volker, PRE
> > Cc: nagios-users at lists.sourceforge.net
> > Subject: RE: FW: [Nagios-users] Nagios to monitor MQSeries
> > 
> > 
> > MQSeries is similar to but different than SonicMQ.  The 
> > latter is a JMS
> > product by Sonic Software.  The former is an IBM product 
> > using a proprietary
> > standard.
> > 
> > We have both here; I wouldn't mind monitoring both of these 
> natively.
> > 
> > Hm.  We don't seem to have the 'amqsailq' program.  What's 
> > the default path
> > to this?  I didn't find it under /opt/mqm nor under /usr (on 
> > Solaris8).
> > 
> > $ pkginfo -l | grep -i mq
> >    PKGINST:  mqjava
> >       DESC:  MQSeries classes for Java and MQSeries classes 
> > for Java Message
> > Service
> >    PKGINST:  mqm
> >       NAME:  MQSeries for Sun Solaris 2
> >    PKGINST:  mqm-upd03
> >       NAME:  MQSeries for Sun Solaris 2 - U478291
> >    PKGINST:  mqm-upd05
> >       NAME:  MQSeries for Sun Solaris 2 - U481514
> > 
> > jc
> > 
> > > -----Original Message-----
> > > From: Wim Fournier [mailto:wim at hsmade.com]
> > > Sent: Thursday, February 06, 2003 10:38 AM
> > > To: Volker.Aust at premiere.de
> > > Cc: nagios-users at lists.sourceforge.net
> > > Subject: Re: FW: [Nagios-users] Nagios to monitor MQSeries
> > > 
> > > 
> > > Are you talking about Sonic MQ here?
> > > 
> > > 
> > > 
> > > > 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 = 
> > 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
> > > 
> > > 
> > > 
> > > Grtz,
> > > 
> > > Wim Fournier
> > > wim at hsmade.[com|net|org]
> > > 
> > > 
> > > 
> > > 
> > > -------------------------------------------------------
> > > 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 = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list