Archived community.zenoss.org | full text search
Skip navigation
2260 Views 4 Replies Latest reply: Jun 13, 2012 12:21 PM by nirav RSS
nirav Rank: White Belt 19 posts since
Jul 25, 2011
Currently Being Moderated

Jun 4, 2012 5:11 PM

ActiveMQ in Zenoss

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

  • dpetzel Rank: Brown Belt 1,141 posts since
    Oct 17, 2010
    Currently Being Moderated
    1. Jun 4, 2012 8:42 PM (in response to nirav)
    Re: ActiveMQ in Zenoss

    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.

  • j053ph4 Rank: Green Belt 290 posts since
    Dec 19, 2008
    Currently Being Moderated
    3. Jun 13, 2012 11:48 AM (in response to nirav)
    Re: ActiveMQ in Zenoss

    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:

     

    docs/DOC-12919

     

    Hope this helps,

    Joseph

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points