check_jmx timeout

Jim Horner <jim.horner-m/[email protected]>
Newsgroups gmane.network.nagios.plugins
Message-ID <CAP9GDJEWDJFb=Vo2pvBH+pp_qF_N2Q2RLXqp_SC-KvVBQizePA@mail.gmail.com>
Hi all!

I'm trying to use check_jmx to check the size of my ActiveMQ queue.  The
command I'm using is

check_jmx -U service:jmx:rmi:///jndi/rmi://*<external_ip>*:*1099*/jmxrmi -O
*
org.apache.activemq:BrokerName=TrackingWebAMQBroker61616,Type=Queue,Destination=queue
* -A *QueueSize* -w *500* -c *1000*

I've tried it both from my monitoring machine and the machine the queue is
running on, but whenever I try it from the command line on either, it just
sits there.  The nagios monitoring page says  (Service Check Timed Out)

The ActiveMQ is running in a web application in Geronimo 2.2.1.

I'm able to get it to work on a local machine, but I'm running into this
problem on an Amazon EC2 instance.

-- 
Jim Horner
Software Engineer
VisTracks, Inc.
jim.horner-m/[email protected]
630.596.5437

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.