Re: Anybody uses Solr JMX?

2014-08-07 Thread rulinma
useful.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Anybody-uses-Solr-JMX-tp4134598p4151820.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Anybody uses Solr JMX?

2014-08-07 Thread Otis Gospodnetic
Hi Paul,

There are lots of people/companies using SPM for Solr/SolrCloud and I don't
recall anyone saying SPM agent collecting metrics via JMX had a negative
impact on Solr performance.  That said, some people really dislike JMX and
some open source projects choose to expose metrics via custom stats APIs or
even files.

Otis
--
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/


On Wed, Aug 6, 2014 at 11:18 PM, Paul Libbrecht  wrote:

> Hello Otis,
>
> this looks like an excellent idea!
> I'm in need of that, erm… last week and probably this one too.
>
> Is there not a risk that reading certain JMX properties actually hogs the
> process? (or is it by design that MBeans are supposed to be read without
> any lock effect?).
>
> thanks for the hint.
>
> paul
>
>
>
> On 6 mai 2014, at 04:43, Otis Gospodnetic 
> wrote:
>
> > Alexandre, you could use something like
> > http://blog.sematext.com/2012/09/25/new-tool-jmxc-jmx-console/ to
> quickly
> > dump everything out of JMX and see if there is anything there Solr Admin
> UI
> > doesn't expose.  I think you'll find there is more in JMX than Solr Admin
> > UI shows.
> >
> > Otis
> > --
> > Performance Monitoring * Log Analytics * Search Analytics
> > Solr & Elasticsearch Support * http://sematext.com/
> >
> >
> > On Mon, May 5, 2014 at 1:56 AM, Alexandre Rafalovitch <
> arafa...@gmail.com>wrote:
> >
> >> Thank you everybody for the links and explanations.
> >>
> >> I am still curious whether JMX exposes more details than the Admin UI?
> >> I am thinking of a troubleshooting context, rather than long-term
> >> monitoring one.
> >>
> >> Regards,
> >>   Alex.
> >> Personal website: http://www.outerthoughts.com/
> >> Current project: http://www.solr-start.com/ - Accelerating your Solr
> >> proficiency
> >>
> >>
> >> On Mon, May 5, 2014 at 12:21 PM, Gora Mohanty 
> wrote:
> >>> On May 5, 2014 7:09 AM, "Alexandre Rafalovitch" 
> >> wrote:
> 
>  I have religiously kept  statement in my solrconfig.xml, thinking
>  it was enabling the web interface statistics output.
> 
>  But looking at the server logs really closely, I can see that JMX is
>  actually disabled without server present. And the Admin UI does not
>  actually seem to care after a quick test.
> 
>  Does anybody have a real experience with Solr JMX? Does it expose more
>  information than Admin UI's Plugins/Stats page? Is it good for
> 
> >>>
> >>> Have not been using JMX lately, but we were using it in the past. It
> does
> >>> allow monitoring many useful details. As others have commented, it also
> >>> integrates well with other monitoring  tools as JMX is a standard.
> >>>
> >>> Regards,
> >>> Gora
> >>
>
>


Re: Anybody uses Solr JMX?

2014-08-06 Thread Erick Erickson
Lots of organizations use monitoring Solr's JMX for
dashboards/healthchecks, all that sort of thing. AFAIK they're very
light-weight.

Best,
Erick


On Wed, Aug 6, 2014 at 2:18 PM, Paul Libbrecht  wrote:

> Hello Otis,
>
> this looks like an excellent idea!
> I'm in need of that, erm… last week and probably this one too.
>
> Is there not a risk that reading certain JMX properties actually hogs the
> process? (or is it by design that MBeans are supposed to be read without
> any lock effect?).
>
> thanks for the hint.
>
> paul
>
>
>
> On 6 mai 2014, at 04:43, Otis Gospodnetic 
> wrote:
>
> > Alexandre, you could use something like
> > http://blog.sematext.com/2012/09/25/new-tool-jmxc-jmx-console/ to
> quickly
> > dump everything out of JMX and see if there is anything there Solr Admin
> UI
> > doesn't expose.  I think you'll find there is more in JMX than Solr Admin
> > UI shows.
> >
> > Otis
> > --
> > Performance Monitoring * Log Analytics * Search Analytics
> > Solr & Elasticsearch Support * http://sematext.com/
> >
> >
> > On Mon, May 5, 2014 at 1:56 AM, Alexandre Rafalovitch <
> arafa...@gmail.com>wrote:
> >
> >> Thank you everybody for the links and explanations.
> >>
> >> I am still curious whether JMX exposes more details than the Admin UI?
> >> I am thinking of a troubleshooting context, rather than long-term
> >> monitoring one.
> >>
> >> Regards,
> >>   Alex.
> >> Personal website: http://www.outerthoughts.com/
> >> Current project: http://www.solr-start.com/ - Accelerating your Solr
> >> proficiency
> >>
> >>
> >> On Mon, May 5, 2014 at 12:21 PM, Gora Mohanty 
> wrote:
> >>> On May 5, 2014 7:09 AM, "Alexandre Rafalovitch" 
> >> wrote:
> 
>  I have religiously kept  statement in my solrconfig.xml, thinking
>  it was enabling the web interface statistics output.
> 
>  But looking at the server logs really closely, I can see that JMX is
>  actually disabled without server present. And the Admin UI does not
>  actually seem to care after a quick test.
> 
>  Does anybody have a real experience with Solr JMX? Does it expose more
>  information than Admin UI's Plugins/Stats page? Is it good for
> 
> >>>
> >>> Have not been using JMX lately, but we were using it in the past. It
> does
> >>> allow monitoring many useful details. As others have commented, it also
> >>> integrates well with other monitoring  tools as JMX is a standard.
> >>>
> >>> Regards,
> >>> Gora
> >>
>
>


Re: Anybody uses Solr JMX?

2014-08-06 Thread Paul Libbrecht
Hello Otis,

this looks like an excellent idea!
I'm in need of that, erm… last week and probably this one too.

Is there not a risk that reading certain JMX properties actually hogs the 
process? (or is it by design that MBeans are supposed to be read without any 
lock effect?).

thanks for the hint.

paul



On 6 mai 2014, at 04:43, Otis Gospodnetic  wrote:

> Alexandre, you could use something like
> http://blog.sematext.com/2012/09/25/new-tool-jmxc-jmx-console/ to quickly
> dump everything out of JMX and see if there is anything there Solr Admin UI
> doesn't expose.  I think you'll find there is more in JMX than Solr Admin
> UI shows.
> 
> Otis
> --
> Performance Monitoring * Log Analytics * Search Analytics
> Solr & Elasticsearch Support * http://sematext.com/
> 
> 
> On Mon, May 5, 2014 at 1:56 AM, Alexandre Rafalovitch 
> wrote:
> 
>> Thank you everybody for the links and explanations.
>> 
>> I am still curious whether JMX exposes more details than the Admin UI?
>> I am thinking of a troubleshooting context, rather than long-term
>> monitoring one.
>> 
>> Regards,
>>   Alex.
>> Personal website: http://www.outerthoughts.com/
>> Current project: http://www.solr-start.com/ - Accelerating your Solr
>> proficiency
>> 
>> 
>> On Mon, May 5, 2014 at 12:21 PM, Gora Mohanty  wrote:
>>> On May 5, 2014 7:09 AM, "Alexandre Rafalovitch" 
>> wrote:
 
 I have religiously kept  statement in my solrconfig.xml, thinking
 it was enabling the web interface statistics output.
 
 But looking at the server logs really closely, I can see that JMX is
 actually disabled without server present. And the Admin UI does not
 actually seem to care after a quick test.
 
 Does anybody have a real experience with Solr JMX? Does it expose more
 information than Admin UI's Plugins/Stats page? Is it good for
 
>>> 
>>> Have not been using JMX lately, but we were using it in the past. It does
>>> allow monitoring many useful details. As others have commented, it also
>>> integrates well with other monitoring  tools as JMX is a standard.
>>> 
>>> Regards,
>>> Gora
>> 



Re: Anybody uses Solr JMX?

2014-08-06 Thread Gopal Patwa
Another option to get JMX data from Solr to Graphite
<http://graphite.wikidot.com/> or Ganglia
<http://ganglia.sourceforge.net/> using
jmxtrans

https://github.com/jmxtrans/jmxtrans/wiki



On Wed, Aug 6, 2014 at 3:09 AM, rulinma  wrote:

> good job .
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Anybody-uses-Solr-JMX-tp4134598p4151408.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


Re: Anybody uses Solr JMX?

2014-08-06 Thread rulinma
good job .



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Anybody-uses-Solr-JMX-tp4134598p4151408.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Anybody uses Solr JMX?

2014-05-05 Thread Alexandre Rafalovitch
Thanks Otis,

JMXC looks interesting, though I cannot seem to find the "Open Source"
section on your website it used to link to.

Regards,
   Alex.
Personal website: http://www.outerthoughts.com/
Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency


On Tue, May 6, 2014 at 9:43 AM, Otis Gospodnetic
 wrote:
> Alexandre, you could use something like
> http://blog.sematext.com/2012/09/25/new-tool-jmxc-jmx-console/ to quickly
> dump everything out of JMX and see if there is anything there Solr Admin UI
> doesn't expose.  I think you'll find there is more in JMX than Solr Admin
> UI shows.
>
> Otis
> --
> Performance Monitoring * Log Analytics * Search Analytics
> Solr & Elasticsearch Support * http://sematext.com/
>
>
> On Mon, May 5, 2014 at 1:56 AM, Alexandre Rafalovitch 
> wrote:
>
>> Thank you everybody for the links and explanations.
>>
>> I am still curious whether JMX exposes more details than the Admin UI?
>> I am thinking of a troubleshooting context, rather than long-term
>> monitoring one.
>>
>> Regards,
>>Alex.
>> Personal website: http://www.outerthoughts.com/
>> Current project: http://www.solr-start.com/ - Accelerating your Solr
>> proficiency
>>
>>
>> On Mon, May 5, 2014 at 12:21 PM, Gora Mohanty  wrote:
>> > On May 5, 2014 7:09 AM, "Alexandre Rafalovitch" 
>> wrote:
>> >>
>> >> I have religiously kept  statement in my solrconfig.xml, thinking
>> >> it was enabling the web interface statistics output.
>> >>
>> >> But looking at the server logs really closely, I can see that JMX is
>> >> actually disabled without server present. And the Admin UI does not
>> >> actually seem to care after a quick test.
>> >>
>> >> Does anybody have a real experience with Solr JMX? Does it expose more
>> >> information than Admin UI's Plugins/Stats page? Is it good for
>> >>
>> >
>> > Have not been using JMX lately, but we were using it in the past. It does
>> > allow monitoring many useful details. As others have commented, it also
>> > integrates well with other monitoring  tools as JMX is a standard.
>> >
>> > Regards,
>> > Gora
>>


Re: Anybody uses Solr JMX?

2014-05-05 Thread Otis Gospodnetic
Alexandre, you could use something like
http://blog.sematext.com/2012/09/25/new-tool-jmxc-jmx-console/ to quickly
dump everything out of JMX and see if there is anything there Solr Admin UI
doesn't expose.  I think you'll find there is more in JMX than Solr Admin
UI shows.

Otis
--
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/


On Mon, May 5, 2014 at 1:56 AM, Alexandre Rafalovitch wrote:

> Thank you everybody for the links and explanations.
>
> I am still curious whether JMX exposes more details than the Admin UI?
> I am thinking of a troubleshooting context, rather than long-term
> monitoring one.
>
> Regards,
>Alex.
> Personal website: http://www.outerthoughts.com/
> Current project: http://www.solr-start.com/ - Accelerating your Solr
> proficiency
>
>
> On Mon, May 5, 2014 at 12:21 PM, Gora Mohanty  wrote:
> > On May 5, 2014 7:09 AM, "Alexandre Rafalovitch" 
> wrote:
> >>
> >> I have religiously kept  statement in my solrconfig.xml, thinking
> >> it was enabling the web interface statistics output.
> >>
> >> But looking at the server logs really closely, I can see that JMX is
> >> actually disabled without server present. And the Admin UI does not
> >> actually seem to care after a quick test.
> >>
> >> Does anybody have a real experience with Solr JMX? Does it expose more
> >> information than Admin UI's Plugins/Stats page? Is it good for
> >>
> >
> > Have not been using JMX lately, but we were using it in the past. It does
> > allow monitoring many useful details. As others have commented, it also
> > integrates well with other monitoring  tools as JMX is a standard.
> >
> > Regards,
> > Gora
>


Re: Anybody uses Solr JMX?

2014-05-04 Thread Paul Libbrecht
> Thank you everybody for the links and explanations.
> 
> I am still curious whether JMX exposes more details than the Admin UI?
> I am thinking of a troubleshooting context, rather than long-term
> monitoring one.

JMX is multi-purpose.
So, in principle, it can offer considerably more.
I've seen discussions about quite many JMX variables about the activity of the 
Garbage Collector (e.g. young-generation, …) which I can't remember having seen 
in the Admin UI.

The advantage of JMX is the interface and what you can do with it.
For example plotting values is not there in the admin UI and it really can help 
to make a difference into detecting, say, the cause of sudden bursts.

paul



Re: Anybody uses Solr JMX?

2014-05-04 Thread Alexandre Rafalovitch
Thank you everybody for the links and explanations.

I am still curious whether JMX exposes more details than the Admin UI?
I am thinking of a troubleshooting context, rather than long-term
monitoring one.

Regards,
   Alex.
Personal website: http://www.outerthoughts.com/
Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency


On Mon, May 5, 2014 at 12:21 PM, Gora Mohanty  wrote:
> On May 5, 2014 7:09 AM, "Alexandre Rafalovitch"  wrote:
>>
>> I have religiously kept  statement in my solrconfig.xml, thinking
>> it was enabling the web interface statistics output.
>>
>> But looking at the server logs really closely, I can see that JMX is
>> actually disabled without server present. And the Admin UI does not
>> actually seem to care after a quick test.
>>
>> Does anybody have a real experience with Solr JMX? Does it expose more
>> information than Admin UI's Plugins/Stats page? Is it good for
>>
>
> Have not been using JMX lately, but we were using it in the past. It does
> allow monitoring many useful details. As others have commented, it also
> integrates well with other monitoring  tools as JMX is a standard.
>
> Regards,
> Gora


Re: Anybody uses Solr JMX?

2014-05-04 Thread Gora Mohanty
On May 5, 2014 7:09 AM, "Alexandre Rafalovitch"  wrote:
>
> I have religiously kept  statement in my solrconfig.xml, thinking
> it was enabling the web interface statistics output.
>
> But looking at the server logs really closely, I can see that JMX is
> actually disabled without server present. And the Admin UI does not
> actually seem to care after a quick test.
>
> Does anybody have a real experience with Solr JMX? Does it expose more
> information than Admin UI's Plugins/Stats page? Is it good for
>

Have not been using JMX lately, but we were using it in the past. It does
allow monitoring many useful details. As others have commented, it also
integrates well with other monitoring  tools as JMX is a standard.

Regards,
Gora


Re: Anybody uses Solr JMX?

2014-05-04 Thread Paul Libbrecht
Also, Zabbix and Nagios does read from JMX.
Zabbix has a "prototype" for SOLR which is a simple way to gather an amount of 
data from solr and do, for example, archiving and plotting of cache values.

paul


Le 5 mai 2014 à 04:37, Ahmet Arslan  a écrit :

> Hi,
> 
> It looks like JMX is a standard way to expose statistics etc. For easy 
> integration with existing jmx monitoring tools.
> 
> http://sematext.com/spm/ and http://newrelic.com read jmx data for instance.
> 
> Ahmet
> 
> On Monday, May 5, 2014 4:39 AM, Alexandre Rafalovitch  
> wrote:
> 
> I have religiously kept  statement in my solrconfig.xml, thinking
> it was enabling the web interface statistics output.
> 
> But looking at the server logs really closely, I can see that JMX is
> actually disabled without server present. And the Admin UI does not
> actually seem to care after a quick test.
> 
> Does anybody have a real experience with Solr JMX? Does it expose more
> information than Admin UI's Plugins/Stats page? Is it good for
> troubleshooting somehow?
> 
> Regards,
>   Alex.
> 
> Personal website: http://www.outerthoughts.com/
> Current project: http://www.solr-start.com/ - Accelerating your Solr 
> proficiency



Re: Anybody uses Solr JMX?

2014-05-04 Thread Ahmet Arslan
Hi,

It looks like JMX is a standard way to expose statistics etc. For easy 
integration with existing jmx monitoring tools.

http://sematext.com/spm/ and http://newrelic.com read jmx data for instance.

Ahmet

On Monday, May 5, 2014 4:39 AM, Alexandre Rafalovitch  
wrote:

I have religiously kept  statement in my solrconfig.xml, thinking
it was enabling the web interface statistics output.

But looking at the server logs really closely, I can see that JMX is
actually disabled without server present. And the Admin UI does not
actually seem to care after a quick test.

Does anybody have a real experience with Solr JMX? Does it expose more
information than Admin UI's Plugins/Stats page? Is it good for
troubleshooting somehow?

Regards,
   Alex.

Personal website: http://www.outerthoughts.com/
Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency


Anybody uses Solr JMX?

2014-05-04 Thread Alexandre Rafalovitch
I have religiously kept  statement in my solrconfig.xml, thinking
it was enabling the web interface statistics output.

But looking at the server logs really closely, I can see that JMX is
actually disabled without server present. And the Admin UI does not
actually seem to care after a quick test.

Does anybody have a real experience with Solr JMX? Does it expose more
information than Admin UI's Plugins/Stats page? Is it good for
troubleshooting somehow?

Regards,
   Alex.

Personal website: http://www.outerthoughts.com/
Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency