Jun 4, 2012 5:11 PM
ActiveMQ in Zenoss
-
Like (0)
I was being told to add all ActiveMQ queues in Zenoss, which i did it by adding local template for each and every queue name, using jconsole. Previously in Nagios i had one jar file and one script which shows all the queue(name and depths), but in Zenoss i copy the same .jar file and script but it shows me only 1 queue i.e. DLQ ( Dead Letter Queue) can any one help me with this situation so i don't have to add queue everytime ?
Zenoss Core 3.2.1
Regards
This is tough to answer without significantly more details, but I'll do my best to provide some feedback.
I'm not positive what the jar and script do, but at a high level Its likely you need something like what is done with some of the other message brokers (RabbitMQ, Websphere MQ, etc). In order to not manually create all the templates like you mention you would want a modeler plugin and component template. That involved writing a decent chunk of Python code.
That said, your approach of one template per queue, while tedious and manual, should in theory work. Assuming that the script and/or jar file let you pass a queue name as a run time parameter. From what you describe it sounds like DLQ might be some sort of default and you'll need to pass some sort of argument to it.
Thanks for your quick reply, we have 4 different ActivMQ server, each AMQ has >50 different queues for messages, in nagios one of our developer create jmsQueuecheck.jar file which i put it in Nagios side under libexec and i create .sh script and it works from Nagios side. Additionally when there are messages above threshold nagios sends us alert. Same way i copy same jmsQueuecheck.jar under $HOME/libexec and add thrue /cmd, but what i am getting out of it just DLQ. Since i am not at all Python coder, and that's the reason i was wondering if any one has Zenoss Plugin for ActiveMQ or HornetQ ?
Thanks in Advance.
Nirav Shah
I wrote a Zenpack some time ago to do what you're asking, but for Websphere MQ instead. It would probably need some degree of modification for your use, but you should be able to use it for the basic "skeleton" if you like.
The Zenpack is here:
Hope this helps,
Joseph
hi,
Thanks for info, i will try to see if i can manage it.
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||