Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 541C418F02 for ; Wed, 24 Feb 2016 16:13:34 +0000 (UTC) Received: (qmail 63084 invoked by uid 500); 24 Feb 2016 16:13:19 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 63040 invoked by uid 500); 24 Feb 2016 16:13:19 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 62376 invoked by uid 99); 24 Feb 2016 16:13:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Feb 2016 16:13:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 6BABCC04EC for ; Wed, 24 Feb 2016 16:13:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.761 X-Spam-Level: ** X-Spam-Status: No, score=2.761 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_UNSUB1=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URI_HEX=1.313, URI_TRY_3LD=0.068] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pronoia-solutions-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id FCkeXJnIpmX1 for ; Wed, 24 Feb 2016 16:13:15 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 2AE585F3F2 for ; Wed, 24 Feb 2016 16:13:14 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id j125so18983025oih.0 for ; Wed, 24 Feb 2016 08:13:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pronoia-solutions-com.20150623.gappssmtp.com; s=20150623; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=MBMew+AKW7KjDBnsGZ9nsnLng/Ntt4E1LmiMyWgXH9c=; b=m2y7laAYheZtaoKLJ3Q6s8N6EiLTVxWqEANUG05I9PU8818cIhcJ73DGz5xbxVA8Rx SLyFwWSo+2337VZPUK6hrIo7gFODsMxfgp+PP0Pz0adgDTCSo6DRB2H1Vq5cHvl14srs HB/MBNCi7XHAlIIkwiwXPjh0WLRIm73k+gsQOjGDw/hRB0PEPu6Z7bzm6hVus2bD/hkp 7xl/RiaSdy1ufMcycy+eJtx1W8fo//GOWtMEgRKO9h0JHfOJREiAtfknujyo3rV2ecWX PPmtFioryBH3Y5bi0LqrnXh+GyWHy4HsNLI+mHWxcWQ2zyoxdQkWEZbAtdkZD5FbDDH8 8m/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:message-id:mime-version :subject:date:references:to:in-reply-to; bh=MBMew+AKW7KjDBnsGZ9nsnLng/Ntt4E1LmiMyWgXH9c=; b=QLZs+MfYeMBdY7aVDwUCGltxamPGr4n+t9GLqxSd2fCdX8hLRQgE7qATqBTaVtnpXU M2CKXcpzUJa7vBV+gQXEI8rqZYdk+D10qW76zO1b752U7a4vQkw5QEb1FxlcC6nxiTrE Ou7Ud6va8K1Nyf6lzxTRmAA0K5afhRTK64fw5mSJmZdMaUTEMjzV4ne+Ui4+tQmqFVo9 dg/p0Xql8Q8hQpneY/IwABDEaPpgRF9+PFc/GkX0F9reOC6LdfkWcTS0YJ6Y0vbIm5xC hkI7KqHu4thQdw2BrK5MxQo25eGAczQoG3x8vdRlYONIxWZcvGkiVrZcThNCdZsDr+L1 TAkw== X-Gm-Message-State: AG10YOTpl1txSq2uEtU77DWmDhBSm5K20o6MBVzuFupQUeVIzY9Wgt36nBj7RLepl8DbZw== X-Received: by 10.202.168.82 with SMTP id r79mr16839525oie.40.1456330387422; Wed, 24 Feb 2016 08:13:07 -0800 (PST) Received: from macpro.pronoia.local (c-24-10-239-245.hsd1.ut.comcast.net. [24.10.239.245]) by smtp.gmail.com with ESMTPSA id f3sm2276225oek.11.2016.02.24.08.13.06 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Feb 2016 08:13:06 -0800 (PST) From: Quinn Stevenson Content-Type: multipart/alternative; boundary="Apple-Mail=_E70EC535-4250-4366-A57B-5999CCFEA75B" Message-Id: <28CBFD50-FEFB-4329-88CB-8904BDA6249C@pronoia-solutions.com> Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: Daily Message Count - HELP Date: Wed, 24 Feb 2016 09:13:01 -0700 References: <1456266793038-4708157.post@n4.nabble.com> <9E26EF00-F707-4B66-94AE-7319A7196802@pronoia-solutions.com> To: users@activemq.apache.org In-Reply-To: X-Mailer: Apple Mail (2.3112) --Apple-Mail=_E70EC535-4250-4366-A57B-5999CCFEA75B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 The configuration you=E2=80=99ve got below will enable the statistics = plugin - that=E2=80=99s step one. Step two is to setup some process that periodically triggers the = statistics plugin. The Statistics plugin will then put the acquired = statistics on the JMS destination specified by the requester. This is = pretty easy to do with a camel route embedded in the ActiveMQ broker, = but it can run anywhere. Finally, you need something to read the statistics from the JMS = destinations and do whatever you want with them - I send them to Splunk = using the camel-splunk component. > On Feb 24, 2016, at 6:17 AM, gmelasecca = wrote: >=20 > Hqstevenson - I am not a java coder of any sort and really just = starting out. So first thanks for the article but im still unclear as to = what I need to do. I have splunk installed as a forwarder on the = ActiveMQ server, which feeds the kahadb and activemq.log files to my = indexers and search head. I installed the JMS plug-in for splunk also = but im getting JNDI connection errors. >=20 > That being said from your example, you are saying that I need to edit = my activemq.xml and add the below configuration string within , = than restart ActiveMQ? DO I need to implement code, classes etc? >=20 > > > >=20 > Regards, >=20 > Greg Melasecca > Analyst - IS Shared Services > 1.610.612.5782 (work) > 1.302.250.2519 (cell) > [cid:image001.png@01D16EDF.23B7DE70] = >=20 > From: hqstevenson [via ActiveMQ] = [mailto:ml-node+s2283324n4708203h38@n4.nabble.com = ] > Sent: Tuesday, February 23, 2016 10:29 PM > To: Melasecca, Gregory > > Subject: Re: Daily Message Count - HELP >=20 > We use the ActiveMQ Statistics Plugin ( = http://activemq.apache.org/statisticsplugin.html = = > ) >=20 > We have a small camel route that runs on a timer, grabs the statistics = from the plugin and stores them in Splunk. >=20 >> On Feb 23, 2016, at 3:33 PM, gmelasecca <[hidden = email]> wrote: >>=20 >> Evening - I am new to ActiveMQ and my current company is using the >> application for a large set of applications/messages. We are working = to >> determine how to find the Daily or Hourly amount of messages the = entire >> application consumes or if possible what each queue consumes on a >> daily/hourly basis. I know the home page offers me Store, Memory, = Temp usage >> but this doesn't help us tune our application to the specified needs. >>=20 >> It seems every couple of days we are having to delete or purge many = queues >> because we are reaching our store limit of "10gb". below is what our = limits >> are set at utilizing the messagebroker.properties. I am looking into = adding >> the "producerFlowControl=3D" feature for the max consumed queues. >>=20 >> system.memory.limit =3D 3072mb >> system.storage.limit =3D 10gb >> system.temp.limit =3D 10gb >> producer.memory.limit =3D 200mb >>=20 >>=20 >>=20 >> -- >> View this message in context: = http://activemq.2283324.n4.nabble.com/Daily-Message-Count-HELP-tp4708157.h= tml >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >=20 >=20 > ________________________________ > If you reply to this email, your message will be added to the = discussion below: > = http://activemq.2283324.n4.nabble.com/Daily-Message-Count-HELP-tp4708157p4= 708203.html = > To unsubscribe from Daily Message Count - HELP, click = here>. > = NAML> > This e-mail and any attachments may contain information which is = confidential, proprietary, privileged or otherwise protected by law. The = information is solely intended for the named addressee (or a person = responsible for delivering it to the addressee). If you are not the = intended recipient of this message, you are not authorized to read, = print, retain, copy or disseminate this message or any part of it. If = you have received this e-mail in error, please notify the sender = immediately by return e-mail and delete it from your computer. >=20 >=20 > image001.png (11K) = >= >=20 >=20 >=20 >=20 > -- > View this message in context: = http://activemq.2283324.n4.nabble.com/Daily-Message-Count-HELP-tp4708157p4= 708214.html = > Sent from the ActiveMQ - User mailing list archive at Nabble.com = . --Apple-Mail=_E70EC535-4250-4366-A57B-5999CCFEA75B--